@Bytor wrote:
I just cannot get the include plugin to work. I keep getting the following error
pvr@movingpictures[09:01:41]~/.flexget$ flexget -c tv-shows.yml check 2017-08-25 09:01 VERBOSE check Pre-checked 134 configuration lines 2017-08-25 09:01 CRITICAL manager [/tasks/include] Got `[u'torrent-list.yml']`, expected: dict 2017-08-25 09:01 CRITICAL manager Failed to load config file: Did not pass schema validation.
Things I have tried:
Two spaces in front of every line in the included file so that the lines were at the same indent level as where they would be if in the main file (assuming includer mechanism is stupid and acts as if it were a simple past into a text editor).
No spaces in front of every line in the included file, (assuming that the includer mechanism is smart and adds as a child YAML node of where the include statement is).
I tried the following variations of the include statement
tasks: include: torrent-list.yml
tasks: include: - torrent-list.yml
tasks: include: [torrent-list.yml]
That last one is not mentioned on the include doc page, but is mentioned in a comment on another post.
I tried putting the 'tasks' line in the included file and the 'include' line in the main file at the same positon as the 'tasks' line was, but then I get
pvr@movingpictures[08:59:22]~/.flexget$ flexget -c tv-shows.yml check 2017-08-25 08:59 VERBOSE check Pre-checked 132 configuration lines 2017-08-25 08:59 CRITICAL manager [/] The key `include` is not valid here. 2017-08-25 08:59 CRITICAL manager [/] `tasks` is a required property 2017-08-25 08:59 CRITICAL manager Failed to load config file: Did not pass schema validation. Could not start manager: Did not pass schema validation.
But nothing works. How is this supposed to work?
main file tv-shows.yml:
templates: tv: transmission: username: REDACTED password: REDACTED host: REDACTED port: 9091 addpaused: no ratio: 1.0 path: /home/pvr/Videos/TV/{{series_name}}/Season {{series_season}} enabled: yes clean_transmission: username: REDACTED password: REDACTED host: REDACTED port: 9091 min_ratio: 1.0 finished_for: 1 day enabled: yes download: /home/pvr/Torrents/downloads magnets: no verify_ssl_certificates: no retry_failed: retry_time: 1 minutes retry_time_multiplier: 1.01 max_retries: 16 series: settings: tv: target: 1080p quality: any timeframe: 12 hours propers: 2 weeks tracking: backfill upgrade: yes set: rename_like_files: yes include_subs: yes magnets: yes regexp: reject: - emporada - ubtitula content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.cbr' tv: - After Dark - American Gods - APB - Blakes 7 - Big Little Lies - BrainDead - Class (2016) - Colony - Dark Matter - Designated Survivor - Dirk Gently's Holistic Detective Agency (2016) - Doctor Who (2005) - Dystopia - Electric Dreams - Emerald City - Falling Skies - Fear the Walking Dead - Foundation - Game of Thrones - Gateway - Hyperion - iZombie - Killjoys - Kims Convenience - Legends of Tomorrow - Limitless - Lucky Man - Madam Secretary - Marvels Agents Of S.H.I.E.L.D.: path: /home/pvr/Videos/TV/Agents of SHIELD - Other Space - People of Earth - Personal Space - Powerless - Powers - Prey - Quantico - Roadside Picnic - Scorpion - Sherlock - Space 2099 - SS-GB - Starfall - Star Trek - Star Trek Discovery - Star Wars Dark Rebellion - Star Wars Underworld - Supergirl - The 100 - The Beaverton (2016) - The Big Bang Theory - The Expanse - The Flash (2014) - The Handmaids Tale - The Last Kingdom - The Librarians (2014) - The Magicians (2016) - The Man In The High Castle - The Shannara Chronicles - The Walking Dead - Time After Time (2017) - Timeless (2016) - Travelers (2016) - Underworld - Vikings - Westworld - You, Me and the Apocalypse - Z Nation tasks: include: - torrent-list.yml
the included file torrent-list.yml
showrss personal: priority: 1 verify_ssl_certificates: no rss: http://showrss.info/user/REDACTED.rss?magnets=true&namespaces=true&name=clean&quality=null&re=null template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' eztv: priority: 2 verify_ssl_certificates: no rss: https://eztv.ag/ezrss.xml template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' rarbg: priority: 3 verify_ssl_certificates: no rss: http://rarbg.com/rss.php template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' rarbg direct: priority: 4 verify_ssl_certificates: no rss: http://rarbg.com/rssdd.php template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' yts: priority: 6 verify_ssl_certificates: no rss: https://yts.ag/rss template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' torrent reactor tv: priority: 7 verify_ssl_certificates: no rss: http://www.torrentreactor.net/rss/rss_8.xml template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' torrentfunk verified: priority: 8 verify_ssl_certificates: no rss: http://www.torrentfunk.com/verified/rss.xml template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' isohunt: priority: 9 verify_ssl_certificates: no rss: http://isohunt.to/rss/rss.xml?category=tv-shows template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' mininova tv shows: priority: 10 verify_ssl_certificates: no rss: http://www.mininova.org/rss.xml?cat=8 template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' seed peer eu: priority: 13 verify_ssl_certificates: no rss: http://seedpeer.eu/rss.xml template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' - '*.wmv' torrent downloads popular: priority: 14 verify_ssl_certificates: no rss: http://www.torrentdownloads.me/rss2/popular/8 template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar' limetorrents: priority: 15 verify_ssl_certificates: no rss: https://www.limetorrents.cc/rss/ template: tv regexp: reject: - '.*[Cc][Oo][Ll][Dd][Ff][Ii][Ll][Mm]' - '.*[Ll][Oo][Ss][Tt][Ff][Ii][Ll][Mm]' content_filter: reject: - '*.lnk' - '*.exe' - '*.zip' - '*.rar'
Posts: 2
Participants: 2