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

All undecided?

$
0
0

@Null wrote:

So I'm new to flexget. I'm trying to set it up to download podcasts from an rss feed.

tasks:
  freak:
      rss:
          url: http://feeds.feedburner.com/freakonomicsradio
       series:
          - Freakonomics Radio
       download: /mnt/nfs/home/Podcasts/Freakonomics/

2017-08-15 22:13 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-08-15 22:13 VERBOSE  details       freak           Produced 250 entries.
2017-08-15 22:13 VERBOSE  details       freak           Summary - Accepted: 0 (Rejected: 0 Undecided: 250 Failed: 0)

Posts: 4

Participants: 2

Read full topic


Perform tasks based on series and season watched status (instead of ep)

$
0
0

@ZileXa wrote:

Thanks to @Jonybat, Flexget now correctly takes care of A LOT of stuff for me. I basically updated his config to fully support Trakt, to add some quality settings (reverse timeframe) and some more details (outlined here) like updating Kodi library.

But it is not full circle yet:
1. I still need to cleanup my Trakt list on trakt.tv, when a show I have fully watched, has ended.
2. I still need to delete old, watched seasons from my harddrive manually. Note that Flexget downloads episodes to season folders (\seriesname\S#\episodes) for me now.

I found the following fields.
tvdb_status == 'Ended' and
trakt_watched == 'True' but this last one is for episodes, the field is not available for shows or seasons.

Therefore, this task won't do anything because the IF statement will always return FALSE or unknown or something:

### Remove fully watched and ended tvshows from the trakt.tv list
clean-series-list:
    priority: 53
    delay: 8 day
    template:
      - disable-seen-retry
      - series-metainfo
    trakt_list:
      account: "{? trakt.account ?}"
      list: "{? trakt.series ?}"
      type: shows
    if:
      - tvdb_status == 'Ended' and trakt_watched == 'True': accept
    list_remove:
      - trakt_list:
          account: "{? trakt.account ?}"
          list: "{? trakt.series ?}"
          type: shows

And a task to delete watched seasons from the harddrive requires Flexget to identify which _seasons_ have been watched. How can I figure out which seasons or full shows have been watched? I believe this information IS available in the flexget database. Because when I use `next_series_episodes` or `next_series_seasons` verbose log show something like this:

2017-08-17 19:57 VERBOSE  discover      download-series-discover Stranger Things S02 hasn't been released yet (Expected: 2017-10-27 00:00:00)
2017-08-17 19:57 VERBOSE  discover      download-series-discover Mr. Robot S03 hasn't been released yet (Expected: 2017-10-11 00:00:00)

So I believe I should be able to use next_series_seasons to determine which seasons have been watched. I just don't know how. I could create an entry list, but that would return the next seasons to watch..

Can anyone point me in the right direction here?

Posts: 3

Participants: 2

Read full topic

How to rename the files and keep the file extension at download

$
0
0

@terumori wrote:

Hi. Totally noob here, and I hope someone can help out.

I've managed to make a config file that downloads all files that has a title containing "veke" in the link. But the actual filename is always a random string, and the file extension varies between .doc and .pdf.

How can I change the filename to the matched title, and keep the file extension?

Here's the config file:

tasks:
  vekeplan:
    html:
      url: http://www.minskule.no/froyland/seksjon/0000
      title_from: link
    regexp:
      accept:
        - .*veke.(\d)+
      rest: reject
    download: /mnt/abcd

Here is the last line from the log file:

2017-08-20 00:01 INFO     download      vekeplan        Downloading: Veke 34

As mentioned earlier, I want to name the file "Veke 34" (in this log example), and keep the original file extension.

Posts: 3

Participants: 3

Read full topic

Filter items past the the episode marker

$
0
0

@GibGoob wrote:

How can I exclude subpacks, and include only dubbed episodes?

Rick.and.Morty.S03E05.SUBPACK.720p.HDTV.x264-W4F
Rick.and.Morty.S03E05.720p.HDTV.x264-BATV

Attack.on.Titan.S02E12.DUBBED.720p.HDTV.x264-W4F
Attack.on.Titan.S02E12.720p.WEB.x264-ANiURL

schedules:
  - tasks: '*'
    interval:
      minutes: 5
tasks:
  dd:
    rss: url
    series:
        1080p:
            - Game of Thrones
            - Elementary
            - Doctor Who
            - Sherlock
        720p:
            - Rick and Morty
            - Adventure Time
            - Archer
            - Portlandia
            - Steven Universe
            - Brooklyn Nine(.*)Nine
            - Bobs Burgers
            - Its Always Sunny in Philadelphia
    download: C:\torrents\ar

Posts: 4

Participants: 2

Read full topic

Move entries generated from deluge that are TV Shows to another folder

$
0
0

@Kwb wrote:

I'm trying to achieve what is described in the title, with no much success.. But first, my current configuration:

I have my main config file that reads a bunch of RSS feeds, filters the entries according to series plugin (where I have manually entered my fav tv shows), and loads the torrents into deluge. Deluge plugin has also a set sub-plugin to move the entries, once finished downloading, to another folder, for Plex use.

This works very well, as long as all input comes from RSS feeds and are in my "Fav series" Series plugin.

However, there are some times where I want to manually download a series, so I just take the torrent and put it into Deluge. This generally means that I do not have that particular show in my "Fav series" list.

What I'm trying to do here is, read all the seeding entries from deluge, crossmatch them against the video files in a certain folder. All the entries matching, at this point, should be video files. Now I'd like to understand if they are TV series episodes or not, if so, they should be moved to my Plex folder and renamed accordingly (and deluge should just its file pointers to the right position).

This is what I tried so far:

    get_series:
      from_deluge:
        host: ..
        port: ..
        username: ..
        password: ..
        filter:
          state: 'seeding'
      crossmatch:
        from:
          - filesystem:
              path:
                - "~/Ready/"
              recursive: yes
              retrieve: files
              regexp: '.*\.(avi|mkv|mp4)$'
        fields:
          - title
        action: accept
      set:
        series_name: "{{ title }}"
      thetvdb_lookup: yes

This has 3 issues so far:

  • some entries, that are not video files are not filtered out by the crossmatch.
  • TVDB lookup seems to not work, or at least is working lazily (at least that's what --dump flag shows)
  • All the entries remain in a "UNDECIDED" state, I would expect a number of Entries as accepted and some other rejected (due to crossmatch plugin)

Posts: 3

Participants: 2

Read full topic

Backfill only unwatched items?

$
0
0

@ZileXa wrote:

From: https://flexget.com/Plugins/next_series_episodes
Does the backfill option respect the watched status? For example, I have episodes 1-15 and 20-24 collected. 4 episodes are missing. I have watched 1-10. With backfill will next_series_episodes set episode 1x11 as the next episode to get, or will it simply start at 1x01?

    next_trakt_episodes:
      account: "{? trakt.account ?}"
      list: "{? trakt.series ?}"
      context: watched
      position: next
      backfill: yes
    accept_all: yes

I believe the answer is yes, it will only get those 4 missing episodes and not go all the way back, because here:
https://flexget.com/Plugins/series/tracking

It is explained tracking only applies to episodes that Flexget has not yet seen or downloaded (not added to the Flexget database). But I just wanted to confirm. I could test it, but the outcome could vary for other reasons (in my experience).

Posts: 5

Participants: 3

Read full topic

Search other input for x hours than use input?

$
0
0

@Loader23 wrote:

Hello,

I have input A and input B, both RSS Feeds. When a series is found on input A he should search for it in input B for X hours and if nothing is found download from input A. Is this possible?

Posts: 3

Participants: 2

Read full topic

How the heck is the include plugin supposed to work?

$
0
0

@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

Read full topic


Add Magnet links from a file

$
0
0

@junior2001 wrote:

Hello everyone..i have an issue: i have a local file that contains magnet uri links and i need to input in flexget;
file is this:
magnet:?xt=urn:btih:37721ec274c2a05394fffa02a77cc64cfcbfa6d3&dn=17.anni.e.come.uscirne.vivi.2016.BluRay.1080p.AC3.iTA.ENG.Subs.x264-BJL.mkv&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce
magnet:?xt=urn:btih:086687aadb201c1246ad8a427375edc6380822dd&dn=300+L%27Alba+Di+Un+Impero+-+BD+Rip+ITA-Eng+HD&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce

what input plugin should i use? i tried with html, text, cvs, but nothing it can't read links from file so i can't submit them to flextet to be parsed.
this is my configuration part:

goodratedmovies-corsaro:
priority: 21
template:
- movies-720p
- torrents
- pushbullet
- transmission-movies
- movies-metainfo
exists_movie:
- /srv/disco2/Movies/
magnets: yes
inputs:
- html: file:///home/server/script/magnetmovies.list
imdb:
min_score: 6.0
min_votes: 1500
min_year: 2000
require_field: imdb_url
seen_movies: loose
list_remove:
- trakt_list:
username: xxx
account: xx
list: moviesita
type: movies
trakt_lookup:
username: xx
account: xx
if:
- trakt_watched: reject
Thank you everyone

Posts: 1

Participants: 1

Read full topic

Does Flexget re-download titles with changed URL?

$
0
0

@terumori wrote:

Hi. I have a task that uses the HTML plugin to download files using title_from: link, but the page I'm downloading from occationally changes the file name when the files get updated, i.e. 1234.pdf -> 1234_v2.pdf, but not the tilte.

I'm wondering if Flexget skips the new file since it already has downloaded an older file with the same title, or if Flexget automaticcaly detects the change and attempts to re-download the new file.

And what happens if the file name nor the title has changed? Is it possible to look for changes in files, and re-download it?

Posts: 1

Participants: 1

Read full topic

Movies on Trakt List with aposthrope

$
0
0

@neilenore wrote:

Any workaround so flexget will not include apostrophes when searching for movies on a movie list generated from trakt? For example The Hitman's Bodyguard does not give any results online because all available matches are named The Hitmans Bodyguard.

Read through the wiki and you cannot modify the name of the movie even through CLI. Thanks!

Posts: 1

Participants: 1

Read full topic

Deluge not moving and sorting after torrent completed

$
0
0

@Unhandled_Exception wrote:

Hey everyone, kind of a newbie but looking for a bit of help if you guys don't mind. I'd actually hired a guy to setup my config and he just kind of dissapeared after it started running into issues moving, organizing or renaming.

I used a couple different configs but mostly based it off of djnitehawk's to put this together and am having 2 issues. The first seems to be the torrent being moved from deluge to the final folder. I'm not sure what might be the problem. It grabs the torrents and adds the label just fine.

what could be wrong with my config?

web_server:
  bind: xxxxxxxx
  port: xxxxx
  web_ui: yes
#----------------------------
templates:
  global:
    torrent_alive: 3
    pathscrub: windows
    domain_delay:
      iptorrents.com: 5 seconds

  tvshows:
    parsing:
      series: guessit
    exists_series:
      path:
        - /home/seedbox/downloads/manual/tvshows/
        - /var/lib/deluge/Downloads/
    thetvdb_lookup: yes
    deluge:
      password: deluge
      username: deluge
      ratio: 0
      removeatratio: yes
      movedone: /home/seedbox/downloads/manual/Completed/tvshows/{{series_season|pad(2)}}
      label: tvshows
    inputs:
      - rss: https://iptorrents.com/torrents/rss?u=xxxxxxx;tp=xxxxxxxxx;25;65;22;5;99;4;download;new
  movies:
    imdb_lookup: yes
    deluge:
      password: deluge
      username: deluge
      ratio: 0
      removeatratio: yes
      movedone: /home/seedbox/downloads/manual/Movies/
      label: movies
    exists_movie:
      - /home/seedbox/downloads/manual/Movies/
      - /var/lib/deluge/Downloads
    seen_movies: strict
    proper_movies: yes

tasks:
  Move tvshows:
    no_entries_ok: yes
    disable:
      - seen
      - seen_info_hash
    priority: 100
    template: no_global
    metainfo_series: yes
    seen: local
    filesystem:
      path:
        - /home/seedbox/downloads/manual/Completed/tvshows
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    thetvdb_lookup: yes
    regexp:
      reject:
        - sample
    accept_all: yes
    move:
      to: /home/seedbox/downloads/manual/tvshows/{{series_name}}/Season {{series_season|pad(2)}}
      rename: "{{series_name}} - {{series_id|default('UNK')}} - {{ep_name|default('Unknown')}} - {{quality}}"
      clean_source: 100
  Move movies:
    no_entries_ok: yes
    disable:
      - seen
      - seen_info_hash
      - seen_movies
    priority: 100
    template: no_global
    filesystem:
      path:
        - /home/seedbox/downloads/manual/Completed/Movies/
      regexp: '.*\.(avm|mkv|mp4)$'
      recursive: yes
    imdb_lookup: yes
    require_field: [imdb_name, imdb_year]
    regexp:
      reject:
        - sample
    accept_all: yes
    move:
      to: /home/seedbox/downloads/manual/Movies/{{imdb_name}} {{imdb_year}}
      clean_source: 1000
  Get tvshows:
    priority: 18
    torrent_alive: 3
    template: tvshows
    assume_quality:
      BluRay: 1080p
      bdscr: 1080p
      hdtv: 720p
      hdrip: 720p
      preair: 720p
      webdl: 720p
      xvid: 720p
    configure_series:
      from:
        trakt_list:
          account: xxxxxxxxx
          list: MyTVShows
          type: shows
      settings:
        identified_by: ep
        propers: no
        quality: 720p-1080p

  Fill movie list:
    disable:
      - retry_failed
    template: no_global
    priority: 30
    trakt_list:
      account: xxxxxxx
      list: MyMovies
      type: movies
    seen: local                    # We don't want accepted movies on this feed to affect actual download feed
    accept_all: yes
    list_add:
      - movie_list: movies  # you can call this whatever you want

  Get movies:
    template: movies
    priority: 40
    content_size:
      max: 20000
      min: 2000
    torrent_alive: 3
    discover:
      what:
        - movie_list: movies
      from:
        - iptorrents:
            rss_key: 'xxxxxxxx'
            uid: 'xxxxxxx'
            password: 'xxxxxxxxx'
            category: [77, 90, 96, 6, 48, 62, 68, 100, 7]
    quality: 720p-1080p
    list_match:
      from:
        - movie_list: movies
    assume_quality:
      BluRay: 1080p
      bdscr: 1080p
      hdtv: 720p
      hdrip: 720p
      preair: 720p
      webdl: 720p
      xvid: 720p

  Clean_Movie_list:
    template: no_global
    disable:
      - seen
      - seen_info_hash
      - seen_movies
    accept_all: yes
    filesystem:
      - /home/seedbox/downloads/manual/Movies/
      - /var/lib/deluge/Downloads/
    imdb_lookup: yes
    tmdb_lookup: yes
    require_field: [movie_name, movie_year]
    list_match:
      from:
        -  movie_list: movies
    list_remove:
      - trakt_list:
          account: xxxxxxxxx
          list: MyMovies
          type: movies
  Clean_TV_List:
    template: no_global
    disable:
      - seen
      - seen_info_hash
      - retry_failed
      - remember_rejected
      - backlog
      - seen_movies
    trakt_list:
      account: xxxxxx
      list: MyTVShows
      type: shows
    trakt_lookup: yes
    thetvdb_lookup: yes
    if:
      - trakt_watched and thetvdb_status == 'Ended': accept
    manipulate:
      - series_name:
            from: title
    list_remove:
      - trakt_list:
          account: xxxxx
          list: MyTVShows
          type: shows
schedules:
  - tasks: ['Get tvshows', 'Move tvshows']
    schedule:
      hour: 0-10/2
  - tasks: ['Get tvshows', 'Move tvshows']
    schedule:
      hour: 12-23/4
  - tasks: ['Fill movie list', 'Get movies', 'Move movies']
    interval:
      hours: 6
  - tasks: ['Clean_Movie_list', 'Clean_TV_List']
    interval:
      days: 1

Any help would be appreciated.

Thanks!

Posts: 1

Participants: 1

Read full topic

Expected: dict in task email

$
0
0

@adamista wrote:

Hello,

I am trying to include in my config.yml file the task to send an email when the download is complete. I obtain this error:

 [/templates/global/notify] Got ..., expected: dict

How can I fix it?

My config.yml file is:

tasks:
  rss:
    priority: 1
    rss: http://showrss.info/user/*****.rss
    all_series: yes
    transmission:
      host: localhost
      port: 9091
      username: 'user'
      password: 'password'
      ratio: -1
      main_file_only: yes
      path: /mnt/Descargas/Flexget
      addpaused: no
      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*[sS]ample*'
        - '*.txt'
  subtitles:
    priority: 4
    disable: builtins
    filesystem:
      path:
        - /mnt/Descargas/Flexget
      regexp: '.*\.(mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    regexp:
      reject:
       - '.*[sS]ample.*'
    periscope:
      languages:
        - es
      alternatives:
        - en
      overwrite: yes
  sort:
  priority: 5
    disable: builtins
    filesystem:
      path: /mnt/Descargas/Flexget
      mask: '.*\.(srt|mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    seen: local
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    move:
      to: /mnt/Series/{{ tvdb_series_name }}/
      rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name}}{{ location | pathext }}'
      clean_source: 100
  clean:
    priority: 3
    clean_transmission:
      host: localhost
      port: 9091
  filesystem:
      path: /mnt/Descargas/Flexget
      mask: '.*\.(srt|mp4|mkv|avi)$'
      recursive: yes
    accept_all: yes
    seen: local
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    move:
      to: /mnt/Series/{{ tvdb_series_name }}/
      rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name}}{{ location | pathext }}'
      clean_source: 100
  clean:
    priority: 3
    clean_transmission:
      host: localhost
      port: 9091
      username: 'user'
      password: 'password'
      finished_for: 1 hours
templates:
  global:
    notify:
      - email:
         from: email@gmail.com
         to: email@gmail.com
         smtp_host: smtp.gmail.com
         smtp_port: 587
         smtp_username: email@gmail.com
         smtp_password: password
         smtp_tls: yes

Posts: 2

Participants: 2

Read full topic

Task - RSS feed fields

$
0
0

@Eric_Chan wrote:

Hi, I am trying to create crawljobs files for Jdownloader and I can see there are category sections in this RSS feed. Is it possible to add the category information to the end {{title}} of the file?

For example:

   exec:
     - echo text={{url}} >> "folder\directory\location\{{title}} [CATEGORY_1] [CATEGORY_2].crawljob"

RSS Feed example:

                <title>TITLE ABC</title>
		<link>HTTP LINK</link>
		<pubDate>Sun, 10 Sep 2017 03:13:55 +0000</pubDate>
		<dc:creator><![CDATA[XYZ]]></dc:creator>
	        <category><![CDATA[EFG]]></category>
		<category><![CDATA[ABC123]]></category>
		<category><![CDATA[NAME123]]></category>
		<category><![CDATA[XYZ123]]></category>
		<category><![CDATA[ANOTHER ABC123]]></category>

                <description><![CDATA[Description 123456789]]></description>

Also, there is description section in this RSS feed, can I capture this information and save it to a text file?

Posts: 2

Participants: 1

Read full topic

Undecided entries in Season packs

$
0
0

@Ridoli wrote:

I'm trying to use this configuration from @qvazzler to be able to download Season packages.

When trying to find season packs, all my entries stay undecided. The individual episodes search works fine.

These are my config file and my log

Does anyone knows the reason for that?

Thanks!

Posts: 1

Participants: 1

Read full topic


Can I somehow limit season_pack quality separately within a quality range?

$
0
0

@Perry wrote:

Let's assume I'm trying to get a TV show in SD as soon as it airs (HDTV rip) and then upgrade to DVDRip/BDRip when retail is out.

    TV_SD:
      upgrade: yes
      tracking: no
      quality: webrip|hdtv|webdl|dvdrip|bluray <720p h264

This works as long as there are single episodes to be found, but some shows only get their retail release posted as season packs. So I added "season_packs: always" to catch those even with episodes already downloaded:

    TV_SD:
      upgrade: yes
      tracking: no
      quality: webrip|hdtv|webdl|dvdrip|bluray <720p h264
      season_packs: always

However, this also catches season packs in HDTV quality, meaning that the upgrade path now goes
HDTV (single episodes) -> HDTV again (from HDTV season pack) -> DVDRip (single episode or DVDRip season pack)

I'm filling up a reject filter with combinations such as S01.HDTV, but is there a smarter way to limit season_packs to only dvdrip|bluray when they are nested in a broader quality template such as the above?

Failing that, can I somehow "double config" a show with
- one instance catching HDTV episodes and no season_packs and
- another instance catching DVDRip episodes including season_packs?

Much love,
Perry

Posts: 6

Participants: 2

Read full topic

Failed to download from RSS

$
0
0

@SQUiD wrote:

Hi there

I'm quite new to using flexget and currently having trouble with my config file. The end goal is for flexget to look at my watchlist on IMDB and download those from Torrentday when they become available.

It appears that my watchlist is working as it imports, the trouble appears to be around the RSS feed. I've tested by adding a movie to the IMDB watchlist that is currently available via RSS and it doesn't snatch.

If there is a better way to set this up I'm all for it :slight_smile:

my config

########################TEMPLATES##############################
templates:
  global:
    # REJECT ANY TORRENT THAT CONTAINS ONE OF THESE
    # WORDS IN BETWEEN A SPACE OR A DOT
    regexp:
      reject:
        - (?i)[ .]cam[ .]
        - (?i)[ .]bdscr[ .]
        - (?i)[ .]dvdscr[ .]
        - (?i)[ .]preair[ .]
        - (?i)[ .]ppvrip[ .]
        - (?i)[ .]r5[ .]
        - (?i)[ .]tc[ .]
        - (?i)[ .]ts[ .]
        - (?i)[ .]ecc[ .]
        - (?i)[ .]avc[ .]
        - (?i)[ .]avi[ .]
        - (?i)[ .]qebs[ .]
        - (?i)[ .]hdtc[ .]
        - (?i)[ .]hdcam[ .]
        - (?i)[ .]telesync[ .]
        - (?i)[ .]webhd[ .]
        - (?i)[ .]webrip[ .]
        - (?i)[ .]ac3d[ .]
        - (?i)[ .]dtsd[ .]
        - (?i)[ .]md[ .]
        - (?i)[ .]ld[ .]
        - (?i)[ .]3d[ .]
        - (?i)[ .]legi0n[ .]
        - (?i)[ .]ift[ .]
        - (?i)[ .]exdt[ .]
        - (?i)[ .]bdp[ .]
        - (?i)[ .]german[ .]
        - (?i)[ .]dutch[ .]
        - (?i)[ .]french[ .]
        - (?i)[ .]truefrench[ .]
        - (?i)[ .]danish[ .]
        - (?i)[ .]swedish[ .]
        - (?i)[ .]spanish[ .]
        - (?i)[ .]italian[ .]
        - (?i)[ .]korean[ .]
        - (?i)[ .]dubbed[ .]
        - (?i)[ .]swesub[ .]
        - (?i)[ .]korsub[ .]
        - (?i)[ .]dksubs[ .]
        - (?i)[ .]vain[ .]

  movies:
    quality:
      - 1080p h264
    imdb_lookup: yes
    list_match:
      from:
        - movie_list: mymovies
    inputs:
      - rss: https://www.torrentday.com/t.rss?download;5;11;u= xxxxxx;tp=xxxxxx
    download: /Users/xxxxxx/Downloads

  movies_search:
    quality: 1080p h264
    content_size:
      min: 6000
      max: 14000
      strict: no

########################tasks##############################
tasks:

  moviesTOdiscoverFROMtd:
    discover:
      what:
        - movie_list: mymovies
      from:
        - torrentday:
            uid: 'xxxxxx'
            cfduid: xxxxxx
            passkey: xxxxxx
            rss_key: https://www.torrentday.com/t.rss?download;5;11;u= xxxxxx;tp= xxxxxx
            category: movHD
    list_match:
      from:
        - movie_list: mymovies
    list_remove:
      - movie_list: mymovies

  IMPORT-MOVIES:
    imdb_watchlist:
      user_id: xxxxxx
      list: watchlist
      #force_language: es-mx
    accept_all: yes
    list_add:
      - movie_list: mymovies
    priority: 2


########################schedules##############################
schedules:
  # Run every task
  - tasks: moviesTOdiscoverFROMtd
    interval:
      minutes: 10
  # Run task_a and task_b every 15 minutes
  - tasks: [IMPORT-MOVIES, moviesTOdiscoverFROMtd]
    interval:
      minutes: 15

Posts: 4

Participants: 3

Read full topic

Configure series set encoding (h.265) along side quality

$
0
0

@pbathuk wrote:

Hi All,
I did do a quick search but all the encoding questions were about utf / ASCII etc rather than what I'm thinking, which is h.264 Vs h.265 (HVEC).
I was wondering if there is the ability, or could be the ability, to specify what encoding the file is in as part of the configure series and target?
I currently have a fallback period of 4 hours and target quality of 1080, after that it will fall back to 720 or above. However I much prefer h.265 over h.264 (filesize mainly), therefore would be great to have a second filter of h.265 wins over h.264 and ability to have fallback or not on that criteria...
Cheers

Posts: 2

Participants: 1

Read full topic

Need help with sonarr_list and search_rss

$
0
0

@Rick7C2 wrote:

I'm trying to get flexget to search for shows in my sonarr db. Then find the episodes in a rss link with search terms.

I'm having trouble getting it to do anything.

Here is what I have.

tasks:
   TV Sonarr 720p+ EasyNews:
    discover:
    what:
      - sonarr_list:
          base_url: http://10.3.200.250
          port: 8989
          api_key: <SONARR-API>
          include_data: yes
          include_ended: false
          only_monitored: true
          remove_on_match: no
          thetvdb_lookup: yes
          metainfo_series: yes
          quality: 720p+
    from:
      - search_rss: http://<USERNAME>:<PASSWORD>@members.easynews.com/global5/index.html?&gps=\{{search_term}}&sbj=&from=&ns=&fil=&fex=&vc=&ac=&fty%5B%5D=VIDEO&s1=dtime&s1d=-&s2=nrfile&s2d=-&s3=dsize&s3d=-&pby=1000&spamf=1&u=1&nostem=1&gx=1&svL=&d1=&d1t=&d2=&d2t=&b1=&b1t=&b2=&b2t=&px1=&px1t=&px2=&px2t=&fps1=&fps1t=&fps2=&fps2t=&bps1=&bps1t=&bps2=&bps2t=&hz1=&hz1t=&hz2=&hz2t=&rn1=&rn1t=&rn2=&rn2t=&submit=Search&fly=2&pno=1&sS=5
    manipulate:
     - url:
        replace:
         regexp: 'members.easynews.com'
         format: '<USERNAME>:<PASSWORD>@members.easynews.com'
    exec: 'dl=`curl -w "%{url_effective}\n" -I -L -s -S "{{url}}" -o /dev/null` && curl "https://offcloud.com/api/remote/download/?apikey=<OFFCLOUD-API>&folderId=0B5myDjLOM51XSzV0RVFsajlhenc&url=$dl"'

Posts: 1

Participants: 1

Read full topic

Does this flexget check indicate an error?

$
0
0

@davidk wrote:

I had been using the flexget daemon successfully with Transmission for years. I decided to update flexget, while also installing the latest version of python and seem to have correctly installed the latest versions of both:

python3 -V
Python 3.5.2

After I executed alias python='python3'
python -V
also returns
Python 3.5.2
IS THIS ALIAS NEEDED? IT'S NOT IN THE DIRECTIONS.

flexget -V
2.10.95
You are on the latest release.

However, now when I run flexget check here is what I get:

2017-09-28 15:31 VERBOSE check Pre-checked 80 configuration lines
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/site-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/usr/local/lib/python3.5/site-packages/flexget/manager.py", line 326, in start
self.initialize()
File "/usr/local/lib/python3.5/site-packages/flexget/manager.py", line 217, in initialize
fire_event('manager.startup', self)
File "/usr/local/lib/python3.5/site-packages/flexget/event.py", line 106, in fire_event
result = event(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/flexget/utils/simple_persistence.py", line 183, in load_taskless
SimplePersistence.load()
File "/usr/local/lib/python3.5/site-packages/flexget/utils/simple_persistence.py", line 145, in load
cls.class_store[task][skv.plugin][skv.key] = skv.value
File "/usr/local/lib/python3.5/site-packages/sqlalchemy/orm/attributes.py", line 293, in get
return self.descriptor.get(instance, owner)
File "/usr/local/lib/python3.5/site-packages/flexget/utils/database.py", line 139, in getter
return json.loads(getattr(self, name), decode_datetime=True)
File "/usr/local/lib/python3.5/site-packages/flexget/utils/json.py", line 112, in loads
return json.loads(*args, **kwargs)
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/json/__init__.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'NoneType'

I assume this means there's a problem. Even though the config.yml was untouched, I tried paring my config.yml to something really simple and get the same result. If the problem is in the Python framework it is way beyond me.

Thanks for any help.

Posts: 2

Participants: 2

Read full topic

Viewing all 716 articles
Browse latest View live