@tykos wrote:
Flexget 2.10.30 here.
I already have a flexget config that downloads my tv shows (from showrss' feed) and subs.
Now i need a config capable of renaming my shows and put them in a tidy folder tree (or kodi won't be able to see them).
I found Jonybat's exceptional work here: https :// github.com/Jonybat/flexget_config/blob/master/config.yml (sorry, only 2 links in a post for newbies)
and i extracted the task i need, trying to add a filter for some files:
https://github.com/tykos1982/flexget_move_rename/edit/master/config_barebone.yml` move-series: priority: 1 template: - disable-seen-retry - series-metainfo filesystem: path: - "/{? folder.root ?}{? folder.downseries ?}" recursive: yes retrieve: files regexp: '.*\.(avi|mkv|mp4)$' accept_all: yes regexp: reject: - .*(rarbg|RARBG).mp4 - .*s100.* move: to: "/{? folder.root ?}{? folder.series ?}{{tvdb_series_name|escape|replace(''', '')|default(series_name)|pathscrub}}/S{{tvdb_season|pad(2)}}/" rename: "{{tvdb_series_name|escape|replace(''', '')|default(series_name)|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}" regexp: reject: - .*(rarbg|RARBG).mp4`
Easy? yep. Works? Nope.
Here i pasted the log: https://pastebin.com/cSB8wutK
- i need to filter "rarbg" files, i don't want to process them. How can i do that?
- my nas creates hidden folders with preview files, eg: s1002.broke.girls.612.hdtv-lol.mkv. How can i filter and not process them?
- apart from these minor things, it seems that some shows are not recognized, especially those with episode id like "612" instead of "s06e12". Why is that?
- the big thing: 'tvdb_series_name' is undefined. Wow.Can you help me understand what is going on here?
Posts: 1
Participants: 1