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

Downloading series

$
0
0

@dan wrote:

Hello everyone,

I have a hard time figuring out how to use configure_series and discover with Trakt. The console shows up a bunch of Set begin option, or use CLI \`series begin\` subcommand to set first episode to emit messages.

I have the following configuration:

variables: variables.yml

# -----------------------------------------------------------------------------
# Configuration templates
# -----------------------------------------------------------------------------

templates:
  anchors:
    _transmission: &transmission
      host: localhost
      port: 9091
      username: '{? transmission.username ?}'
      password: '{? transmission.password ?}'

  torrents:
    transmission:
      <<: *transmission
    torrent_alive:
      reject_for: 5 minutes

  accept-all-force:
    accept_all: true
    disable: # disable any plugin that may reject
      - seen
      - seen_info_hash
      - retry_failed

  # ---------------------------------------------------------------------------
  # Series settings
  # ---------------------------------------------------------------------------

  series-metadata:
    metainfo_series: yes
    thetvdb_lookup: yes

  # ---------------------------------------------------------------------------
  # Movies settings
  # ---------------------------------------------------------------------------

  movies-metadata:
    imdb_lookup: yes

# -----------------------------------------------------------------------------
# Tasks
# -----------------------------------------------------------------------------

tasks:

  # ---------------------------------------------------------------------------
  # Find series from Trakt's watching list and watchlist
  # ---------------------------------------------------------------------------

  find-trakt-series-watching:
    priority: 1
    template:
      - series-metadata
      - accept-all-force
    next_trakt_episodes:
      account: "{? trakt.account ?}"
      list: Watching List
      context: watched
      position: next
    list_add:
      - entry_list: trakt-series

  find-trakt-series-watchlist:
    priority: 1
    template:
      - series-metadata
      - accept-all-force
    next_trakt_episodes:
      account: '{? trakt.account ?}'
      list: watchlist
      context: watched
      position: next
    list_add:
      - entry_list: trakt-series

  set-series-begin:
    priority: 2
    template:
      - series-metadata
      - accept-all-force
    entry_list: trakt-series
    set_series_begin: yes

  # ---------------------------------------------------------------------------
  # Find movies from Trakt's watchlist
  # ---------------------------------------------------------------------------

  find-trakt-movies-watchlist:
    priority: 1
    template:
      - movies-metadata
      - accept-all-force
    trakt_list:
      account: "{? trakt.account ?}"
      list: watchlist
      type: movies
    accept_all: yes
    list_add:
      - movie_list: trakt-movies

  # ---------------------------------------------------------------------------
  # Download series
  # ---------------------------------------------------------------------------

  download-series:
    priority: 3
    template:
      - series-metadata
      - torrents
    content_size:
      min: 100
      max: 10000
    configure_series:
      from:
        entry_list: trakt-series
      settings:
        exact: no
        target: 1080p hdtv+
        quality: 720p-1080p webrip+
        timeframe: 12 hours
        propers: yes
        identified_by: ep
    discover:
      release_estimations: loose
      interval: 1 hour
      what:
        - next_series_episodes: yes
      from:
        - piratebay:
            category: highres tv
        - limetorrents:
            category: tv
        - rarbg:
            category: [2, 18, 41, 49]
    transmission:
      content_filename: "{{ tvdb_series_name }} - {{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}"

  # ---------------------------------------------------------------------------
  # Download movies
  # ---------------------------------------------------------------------------

  download-movies:
    priority: 3
    template:
      - torrents
    discover:
      release_estimations: loose
      interval: 30 minutes
      what:
        - movie_list: trakt-movies
      from:
        # - piratebay:
        #     category: highres movies
        - limetorrents:
            category: movies
        - rarbg:
            category: [17, 44, 45]
    quality: 720p-1080p webdl+
    proper_movies: no
    content_size:
      min: 1000
      max: 20000
      strict: no
    list_match:
      from:
        - movie_list: trakt-movies
    transmission:
      content_filename: "{{ imdb_name }} ({{ imdb_year }})"

  # ---------------------------------------------------------------------------
  # Download subtitles
  # ---------------------------------------------------------------------------

  download-subtitles:
    priority: 4
    filesystem:
      path:
        - /downloads/complete
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    subliminal:
      languages:
        - en
        - ro
      providers: [addic7ed, opensubtitles, tvsubtitles]
      single: no
      hearing_impaired: yes
      authentication:
        opensubtitles:
          username: '{? opensubtitles.username ?}'
          password: '{? opensubtitles.password ?}'

web_server: yes

Running the following command:

flexget execute --tasks find-trakt-series-watching find-trakt-series-watchlist set-series-begin download-series

prints the following:

2019-03-04 22:24 VERBOSE  details       find-trakt-series-watching Produced 4 entries.
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watching ACCEPTED: `Suits (2011) S08E16` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watching ACCEPTED: `The Good Doctor (2017) S02E16` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watching ACCEPTED: `Young Sheldon (2017) S02E16` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watching ACCEPTED: `Modern Family (2009) S10E15` by accept_all plugin
2019-03-04 22:24 VERBOSE  details       find-trakt-series-watching Summary - Accepted: 4 (Rejected: 0 Undecided: 0 Failed: 0)
2019-03-04 22:24 VERBOSE  list_add      find-trakt-series-watching adding accepted entries into entry_list - trakt-series
2019-03-04 22:24 VERBOSE  details       find-trakt-series-watchlist Produced 7 entries.
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `Ozark (2017) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `Twin Peaks (1990) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `The Sopranos (1999) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `Homeland (2011) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `Dirk Gently's Holistic Detective Agency (2016) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `Baby Daddy (2012) S01E01` by accept_all plugin
2019-03-04 22:24 VERBOSE  task          find-trakt-series-watchlist ACCEPTED: `The Good Doctor (2017) S02E16` by accept_all plugin
2019-03-04 22:24 VERBOSE  details       find-trakt-series-watchlist Summary - Accepted: 7 (Rejected: 0 Undecided: 0 Failed: 0)
2019-03-04 22:24 VERBOSE  list_add      find-trakt-series-watchlist adding accepted entries into entry_list - trakt-series
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Young Sheldon (2017) S02E16` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Twin Peaks (1990) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `The Sopranos (1999) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `The Good Doctor (2017) S02E16` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Suits (2011) S08E16` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Ozark (2017) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Modern Family (2009) S10E15` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Homeland (2011) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Dirk Gently's Holistic Detective Agency (2016) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  next_series_episodes download-series Series `Baby Daddy (2012) S01E01` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit
2019-03-04 22:24 VERBOSE  discover      download-series Discovering 0 titles ...
2019-03-04 22:24 VERBOSE  details       download-series Task didn't produce any entries.
2019-03-04 22:24 VERBOSE  details       download-series Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)

Also, series list shows up weird results too:

┌───────────────────────────────────────────────────────┬───────┬──────────────────┬─────┬────────────┬───────────────┐
│ Name                                                  │ Begin │ Last Encountered │ Age │ Downloaded │ Identified By │
├───────────────────────────────────────────────────────┼───────┼──────────────────┼─────┼────────────┼───────────────┤
│ Baby Daddy (2012) S01E01                              │ -     │ -                │ -   │ -          │ ep            │
│ Dirk Gently's Holistic Detective Agency (2016) S01E01 │ -     │ -                │ -   │ -          │ ep            │
│ Homeland (2011) S01E01                                │ -     │ -                │ -   │ -          │ ep            │
│ Modern Family (2009) S10E15                           │ -     │ -                │ -   │ -          │ ep            │
│ Ozark (2017) S01E01                                   │ -     │ -                │ -   │ -          │ ep            │
│ Suits (2011) S08E16                                   │ -     │ -                │ -   │ -          │ ep            │
│ The Good Doctor (2017) S02E16                         │ -     │ -                │ -   │ -          │ ep            │
│ The Sopranos (1999) S01E01                            │ -     │ -                │ -   │ -          │ ep            │
│ Twin Peaks (1990) S01E01                              │ -     │ -                │ -   │ -          │ ep            │
│ Young Sheldon (2017) S02E16                           │ -     │ -                │ -   │ -          │ ep            │
└───────────────────────────────────────────────────────┴───────┴──────────────────┴─────┴────────────┴───────────────┘

Can you point me in the right direction?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles