Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Failing at configure_series

$
0
0

@lolkats wrote:

Hey everyone, I'm trying to learn how to use flexget effectively to replace the whole RSS workflow that I recently lost, so I decided to try and use some of Jonybat's configuration and modify it a bit to match what I'm trying to do, while learning a bit more about flexget at the same time. I went to test it and....I'm stumped.

schedules:
  - tasks: '*-rss'
    schedule:
      minute: 0,30

templates:
  tv-series:
    thetvdb_lookup: yes
    include: series.yml
    configure_series:
      from:
        entry_list: trakt-series
      settings:
        identified_by: ep
        upgrade: yes
        qualities:
          - webrip 720p
          - hdtv 720p
          - webrip 1080p
          - hdtv 1080p
        propers: 12 hours
  anime-series:
    include: anime.yml
    configure_series:
      from:
        entry_list: myanimelist-series
      settings:
        identified_by: sequence
        from_group: horriblesubs
        quality: 1080p

##### rtorrent config
#
  rtorrent-anchors:
    _rtorrent-settings: &rtorrent-settings
      uri: https://##########/plugins/httprpc/action.php
      username: <user>
      password: <pass>
      digest_auth: yes

##### Common rejections
#
  reject:
    regexp:
      reject:
        - \b(s|d)ub(s|bed|lado|titulado)?\b
        - \bhc\b
        - \bdual\b
        - \b3d\b
        - \bfre(nch)?\b
        - \bita(lian)?\b
        - \bspa(nish)?\b
        - \bger(man)?\b
        - \bcastellano\b
        - \brus(sian)?\b

##### Anime rejections
#
  anime-reject:
    regexp:
      reject:
        - \bdub\b
        - \bhard(subs|subbed)?\b
        - \bpv\b
        - \b60fps\b

##### Common torrents config
#
  torrents:
    torrent_alive:
      min_seeds: 3
      reject_for: 15 minutes
    # Might need to disable if you are getting errors connecting to https sources
    # Can remove if you upgrade to python 2.7.9+ or install requests[security]
    #verify_ssl_certificates: no
    domain_delay:
      <anime-domain>: 5 seconds
      <RSS1>: 10 seconds
      <RSS2>: 10 seconds

##### rTorrent series config
#
  rtorrent-series:
    rtorrent:
      <<: *rtorrent-settings
      path: /home/downloads/tvshows/

##### rtorrent anime series config
#
  rtorrent-anime-series:
    rtorrent:
      <<: *rtorrent-settings
      path: /home/downloads/anime/

##### Pushbullet config
#
  pushbullet:
    notify:
      entries:
        title: "[flexget] {{task}}"
        message: "{{title}}"
        via:
          - pushbullet:
              api_key: <api_key>

tasks:

##### Fetch, format and output trakt series list to a custom entry list
#
  fill-series-list:
    priority: 1
    template:
      - disable-seen-retry
      - series-metainfo
    list_clear:
      what:
        - entry_list: trakt-series
    trakt_list:
      account: <account>
      list: tv_watchlist
      type: shows
    accept_all: yes
    set:
      title: "{{tvdb_series_name|escape|replace('&#39;', '')}}"
    list_add:
      - entry_list: trakt-series

##### Download episodes from RSS feeds
#
  download-series-rss:
    priority: 2
    template:
      - tv-series
      - reject
      - torrents
      - rtorrent-series
      - pushbullet
    inputs:
      - rss: <URL>

##### Fetch, format and output myanimelist series list to a custom entry list
#
  fill-anime-series-list:
    priority: 3
    template:
      - disable-seen-retry
    metainfo_series: yes
    list_clear:
      what:
        - entry_list: myanimelist-series
    my_anime_list:
      username: <account>
      status:
        - watching
        - plan_to_watch
      type: series
    accept_all: yes
    set:
      title: "{{myanimelist_name|re_replace('[-/:;.★](?=[a-zA-Z])', ' ')|re_replace('[:;](?![a-zA-Z])|[`´()]|TV|', '')|re_replace('Season ', 'S')|re_replace('  +', ' ')}}"
    list_add:
      - entry_list: myanimelist-series

##### Download anime from RSS feed
#
  download-anime-series-rss:
    priority: 4
    template:
      - anime-series
      - anime-reject
      - torrents
      - rtorrent-anime-series
      - pushbullet
    inputs:
      - rss:
          url: <anime-RSS>
          all_entries: yes

When I run it with the above configuration, I get the following error:

2017-05-21 01:51 INFO     manager                       Test mode, creating a co                                                                                                                                                                                                                                             py from database ...
2017-05-21 01:51 INFO     manager                       Test database created
2017-05-21 01:51 CRITICAL manager                       [/templates/anime-series/configure_series] The keys `identified_by`, `quality`, `from_group` are not valid here.
2017-05-21 01:51 CRITICAL manager                       [/templates/anime-series/configure_series] `from` is a required property
2017-05-21 01:51 CRITICAL manager                       [/templates/tv-series/configure_series] `from` is a required property
2017-05-21 01:51 CRITICAL manager                       Failed to load config file: Did not pass schema validation.
Could not start manager: Did not pass schema validation.

What am I missing?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles