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

Movies Keep Showing Undecided

$
0
0

@SchweddyBalz wrote:

I finally got my flexget set up with transmission on my Synology NAS. TV Shows seem to be working, but any movies are coming up as undecided. Here is my config file:

templates:
  global:
    verify_ssl_certificates: no
    transmission:
      host: localhost
      port: 9091
      username: admin
      password: PASSWORD
schedules:
  - tasks: '*'
    interval:
      minutes: 15
tasks:
  The Site Movies:
    rss:
      url: RSSURL
      all_entries: yes
    regexp:
      reject:
        - s\d\de\d\d: {from: title}
    quality:
      sdtv+
    imdb_lookup: yes
    require_field: imdb_url
    set:
      path: /volume1/Share/Steven/Videos/Movies
  The Site TV:
    rss:
      url: RSSURL
      all_entries: yes
    all_series:
      path: /volume1/Share/Steven/Videos/TV/{{series_name}}/Season {{series_season}}

Here is a dump of it running on a movie. It gets the imdb info, just doesn't start the download for some reason:

flexget execute --tasks "The Site Movies" --dump
2016-12-05 15:30 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-12-05 15:30 VERBOSE  details       The Site Movies Produced 1 entries.
2016-12-05 15:30 VERBOSE  imdb_lookup   The Site Movies Searching from imdb `Whiskey.Tango.Foxtrot.2016.BDRip.x264-DRONES`
2016-12-05 15:30 VERBOSE  imdb_lookup   The Site Movies Found http://www.imdb.com/title/tt3553442/
2016-12-05 15:30 VERBOSE  imdb_lookup   The Site Movies Parsing imdb for `Whiskey.Tango.Foxtrot.2016.BDRip.x264-DRONES`
2016-12-05 15:30 VERBOSE  details       The Site Movies Summary - Accepted: 0 (Rejected: 0 Undecided: 1 Failed: 0)
-- Undecided: --------------------------
title            : Whiskey.Tango.Foxtrot.2016.BDRip.x264-DRONES
url              : URL
original_url     : URL
description      : Uploaded by nonzenzeBot/1.0.2
imdb_actors      : {'nm1787679': 'Eli Goodman', 'nm3053338': 'Margot Robbie', 'nm1002609': 'Nicholas Braun', 'nm0275486': 'Tina Fey', 'nm0001038': 'Josh Charles', 'nm1956106': 'Scott Takeda', 'nm0427728': 'Cherry Jones', 'nm0293509': 'Martin Freeman', 'nm3571592': 'Christopher Abbott', 'nm3071273': 'Fahim Anwar', 'nm0000671': 'Billy Bob Thornton', 'nm2797756': 'Evan Jonigkeit', 'nm0000547': 'Alfred Molina', 'nm2611074': 'Sheila Vand', 'nm2913856': 'Stephen Peacocke'}
imdb_directors   : {'nm0275629': 'Glenn Ficarra', 'nm0720135': 'John Requa'}
imdb_genres      : [biography, comedy, drama, war]
imdb_id          : tt3553442
imdb_languages   : [english, pushto, dari, french]
imdb_mpaa_rating : R
imdb_name        : Whiskey Tango Foxtrot
imdb_original_name: None
imdb_photo       : https://images-na.ssl-images-amazon.com/images/M/MV5BMjIxOTIzMTM5OF5BMl5BanBnXkFtZTgwNDIxNTA1NzE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: 2003. After careful consideration, Kim Baker, a news copywriter, decides to leave the relative comfort of a New York desk job and serious boyfriend Chris to accept the assignment to work for three months as on-camera reporter in war torn Afghanistan, as her news agency is looking for anyone within their ranks to fill immediately the empty voids overseas. Her only experience of being in such an environment is going through hostile zone training a few years earlier. Immediately upon her arrival in Afghanistan, she realizes that she is ill-prepared emotionally for this assignment, not only enduring the dangers of the war itself, but also the conditions of everyday life, including largely been seen by men as only a "piece of ass" and a distraction despite her being considered average looking back home and not being overtly sexual, and being an individual with a small bladder who is nonetheless told to stay hydrated at all times. She is largely assisted in navigating this new life by Tanya...
imdb_score       : 6.5999999999999996
imdb_url         : http://www.imdb.com/title/tt3553442/
imdb_votes       : 27989
imdb_writers     : {'nm1061622': 'Robert Carlock', 'nm5092324': 'Kim Barker'}
imdb_year        : 2016
movie_name       : Whiskey Tango Foxtrot
movie_year       : 2016
path             : /volume1/Share/Steven/Videos/Movies
quality          : bluray h264
rss_pubdate      : 2016-06-20 03:50:27
task             : The Site Movies

Posts: 3

Participants: 3

Read full topic


Error during string replacement

$
0
0

@volsk wrote:

Since a few days (I think after upgrading) I'm getting this error message:

2016-12-06 12:13 ERROR    exec          sort-series     Error rendering `/Users/<myname>/Scripts/cleantorrents`: Error during string replacement: not all arguments converted during string formatting

I've been trying to debug this error. But I only get generic Python errors as a result on Google. This makes me think, the issue lays in Flexget not my config. Any suggestions?

Posts: 2

Participants: 2

Read full topic

Rss seen not working for some feeds

$
0
0

@ironlion27 wrote:

I have a few rss feeds I use as inputs. On the RSS feeds that I accept_all there is no 'seen' problem. It acknowleges in the log that the item has already been seen and therefore not accepted to be moved into the output phase. On a few RSS feeds which I use regex to filter out just what I want the 'seen' part of the RSS plugin doesn't seem to function as it accepts all inputs that meet the regex whether it is seen or not. How does one fix such issues?

Posts: 5

Participants: 3

Read full topic

Random series added and new episodes added twice

$
0
0

@carlos wrote:

Hi,

I have recently configured a new media server with FleGet feeding Deluge, which at its turn feeds Plex.
The three servers are working fine and together.

All my TV Shows are in one single directory, each show in its own sub-directory. Plex has access to that directory and serves the medias from there.
When Deluge is done with the download, it will move the downloaded media in the appropriate sub-folder in my TV Shows directory (with the right naming thanks to a FileBot script).

However I am having some trouble to get a FlexGet config that matches my needs, so I will start explaining what I try to accomplish and then will post my config.

So here is what I expect from FlexGet to achieve:
* Know what are the series I want to fetch.
* Check the listed RSS feeds every hour.
* If a new episode of one of my shows is listed in the RSS, then send it to the Deluge server.
* The downloaded episode's format has to be 720p at least and if a new one is found with a 1080p format, then remove the lower quality file and download the better one. (this is not in my current config, but would be great to have it)
* Remove the torrent and the related data after seeding for 10 days. (this is not in my current config, but would be great to have it)

The issues I am having with my current config:
* FlexGet will download any new show it will find in the RSS. Probably any first episode of the first season of any show.
* FlexGet downloads more than once the same episode.

My current config (edit: found the markdown code for the code block):

templates:
  global:
    regexp:
      reject:
        - (?i)[ .]cam[ .]
        - (?i)[ .]bdscr[ .]
        - (?i)[ .]dvdscr[ .]
        - (?i)[ .]preair[ .]
        - (?i)[ .]ppvrip[ .]
        - (?i)[ .]r5[ .]
        - (?i)[ .]tc[ .]
        - (?i)[ .]ts[ .]
        - (?i)[ .]ecc[ .]
        - (?i)[ .]avc[ .]
        - (?i)[ .]qebs[ .]
    exists:
      - /media/plex/Videos/TV Shows
      - /media/plex/Torrent/Downloading
      - /media/plex/Torrent/Completed
    configure_series:
      from:
        plex:
          section: 3
          server: localhost
          port: 32400
          username: carlos
          password: ********


  TV:
    series:
      quality:
        - 1080p
        - 720p
        - HDTV
        - bluray                  


  DELUGE:
    deluge: yes
    deluge:
      username: deluge
      password: *********
      main_file_only: yes


  RSS-SERIES:
    inputs:
    - rss: 'http://showrss.info/user/111943.rss?magnets=true&namespaces=true&name=null&quality=null&re=null'
    - rss: 'https://eztv.ag/ezrss.xml'
    - rss: 'https://yts.ag/rss'
    - rss: 'https://extratorrent.cc/rss.xml?type=last'


tasks:
  tv-shows:
    priority: 1
    template:
      - TV
      - DELUGE
      - RSS-SERIES


schedules:
  - tasks: tv-shows
    interval:
      hours: 1

Thanks for your help! :slight_smile:

Posts: 3

Participants: 2

Read full topic

url_rewrite without trailing slash

imdb_list and seen plugin help

$
0
0

@needmovies wrote:

Hi guys, I was wondering if I could get some quick assistance. I'm using imdb_list to filter an rss feed. But when my imdb task runs, all entries are rejected by the seen plugin. so when the movie list is used to filter my rss, it doesn't have any entries to accept. any suggestions?

here's a quick snippet of my setup:

templates:
  movie:
    transmission:
      host: localhost
      port: ******
      username: ******
      password: ******
      addpaused: no
      bandwidthpriority: -1
      path: ******
    quality: bluray 1080p dts|dd5.1|dtshd|truehd
    imdb_lookup: yes
    seen_movies: strict
    #proper_movies: 1 days
    list_match:
      from:
        - movie_list: imdbmovies
      action: accept
  
tasks:
  imdbWatchlist:
    imdb_list:
      login: ******
      password: ******
      # user_id: ******
      list: watchlist
    accept_all: yes
    list_add:
      - movie_list: imdbmovies
    priority: 20

  downloadMovies-1:
    rss:
      url: ******
      all_entries: yes
    template: movie
    priority: 32

  downloadMovies-2:
    rss:
      url: ******
      all_entries: yes
    template: movie
    priority: 32

and a quick snippet of one of the errors:

2016-12-09 18:10 VERBOSE  task          imdbWatchlist   REJECTED: `Masterminds (2016)` by seen plugin because entry with title `Masterminds (2016)` is already marked seen in the task imdbWatchlist at 2016-06-11 09:29

Posts: 2

Participants: 2

Read full topic

Is there a from_group for movies?

$
0
0

@Atrolon wrote:

Hi

I am trying to get movies from list of selected releases groups, but I am unable to get any filter to do this.

I am trying this with regex

regexp:
  accept:
    - \bsome_release_group\b
    - \bfoo\b
    - \bbar\b
    - \b.foo.\b
    - \b.bar.\b
  reject:
    - \bBLUR\b
    - \b.HC.\b
    - \b.HDTC.\b
    - \b.HDRip.\b
    - \b.HDTV.\b
    - \b.WEBRip.\b

This get all entrees in the feed with the regex accept key words, and it looks to me like it is not using my movie_list at all

This is what I want flexget to do:

rssfeed=wanted.movie.foo -> movie_list=accept -> regexp=accept = Download
rssfeed=un-wanted.movie.foo -> movie_list=reject -> regexp=reject = No
rssfeed=wanted.movie -> movie_list=accept -> regexp=reject = No :thumbsup:
rssfeed=wanted.movie.BLUR -> movie_list=accept -> regexp=reject = No

But this is what I see right now:

rssfeed=wanted.movie.foo -> regexp=accept = Download
rssfeed=un-wanted.movie.foo -> regexp=accept = Download
rssfeed=wanted.movie -> movie_list=accept = Download :sweat:
rssfeed=wanted.movie.BLUR -> movie_list=accept -> regexp=reject = No

Here is my full output of my config file

config.yml

# Passwords and other private stuff.
secrets: secrets.yml

# Dependenceys
# ftp_list - http://ftputil.sschwarzer.net/trac/wiki/WikiStart
# sudo -H pip install ftputil
# Decompress
# sudo -H pip install rarfile

## Schedules ##################################################################

schedules:
  # Run every 15 minutes
  - tasks: [add_wanted_couchpotato_to_movie_list, search_movies_couchpotato_list, search_movies_trakt_list, search_tv]
    schedule:
      minute: "*/15"

  # Run every 2 hours
  - tasks: [search_trakt_tv, add_trakt_to_movie_list]
    schedule:
      hour: "*/2"

  # Run every hour
  - tasks: [download_manual, decompress_manual, complete_manual]
    schedule:
      hour: "*/1"

  # Run every 30 minutes between 0 pm to 7 am
  - tasks: [download_movies, decompress_movies, process_movies]
    schedule:
      hour: 0-7
      minute: "*/30"

  # Run every 30 minutes
  - tasks: [download_tv, decompress_tv, process_tv]
    schedule:
      minute: "*/30"

## Web-UI #####################################################################
# flexget web passwd <_password>
# Enable web-ui on port 3539
web_server:
  port: 3539
  web_ui: yes

## Template - General #########################################################

templates:
  # Filter media files to get
  template_general:
    content_filter:
      require:
        - '*.avi'
        - '*.mkv'
        - '*.r0*'
        - '*.part0*'
      reject:
        - '*.m2ts'
        - '*.wmv'
        - '*.m4v'
        - '*.mp4'
        - '*.iso'
        - '*.vob'
    domain_delay:
      feedsite1.org: 5 seconds
      feedsite2.org: 5 seconds

## Template - tv ##############################################################

  # General settings
  template_tv:
    set:
      allow_teasers: no
      propers: 12 hours
      specials: no
      tracking: backfill
    thetvdb_lookup: yes
    download: /downloads/upload/tv
    exists_series:
      - "/media/TV Shows"

  # Sources for series torrents.
  template_rss_tv:
    inputs:
      - rss: { url: '{{ secrets.feedsite1.hd_tv_feedsite1 }}', silent: yes }
      - rss: { url: '{{ secrets.showrss.personal_feed }}', silent: yes }
      - rss: { url: '{{ secrets.extratorrent.search_the_universe_works }}', silent: yes }

## Template - movies ##########################################################

  # All the metainfo plugins used by tasks handling movies.
  template_movies:
    quality: 1080p
      regexp:
        accept:
          - \bsome_release_group\b
          - \bfoo\b
          - \bbar\b
          - \b.foo.\b
          - \b.bar.\b
        reject:
          - \bBLUR\b
          - \b.HC.\b
          - \b.HDTC.\b
          - \b.HDRip.\b
          - \b.HDTV.\b
          - \b.WEBRip.\b
    imdb_lookup: yes
    download: /downloads/upload/movies
    exists_movie:
      - "/media/Movies/"

  # Sources for movies torrents.
  template_rss_movies:
    inputs:
      - rss: { url: '{{ secrets.feedsite1.hd }}', silent: yes }

## Tasks ######################################################################

tasks:

  # Get tv shows with subs
  search_tv:
    priority: 1
    template:
      - template_general
      - template_tv
      - template_rss_tv
    include: series.yml
    pushover:
      user_key: '{{ secrets.pushover.user_key }}'
      api_key: '{{ secrets.pushover.api_key }}'
      title: Uploading {{series_name}}
      message: Episode {{series_id}}

  # Get tv shows from Sonarr
  search_sonarr:
    priority: 2
    template:
      - template_general
      - template_tv
      - template_rss_tv
    configure_series:
      from:
        sonarr_list:
          base_url: http://172.16.3.30
          port: 8989
          api_key: '{{ secrets.sonarr.api_key }}'
          include_ended: false
          only_monitored: true
          include_data: false
      settings:
        target: 720p+

  # Get tv shows from flexTV list on Trakt.tv
  search_trakt_tv:
    priority: 9
    template:
      - template_general
      - template_tv
      - template_rss_tv
    configure_series:
      from:
        trakt_list:
          username: '{{ secrets.trakt.user }}'
          account: '{{ secrets.trakt.user }}'
          list: flexTV
          type: shows
      settings:
        quality: 720p+

## movies #####################################################################

  # Update movie-list from Couchpotato Wanted list
  add_wanted_couchpotato_to_movie_list:
    priority: 11
    couchpotato_list:
      base_url: http://172.16.3.30
      port: 5050
      api_key: '{{ secrets.couchpotato.api_key }}'
      include_data: false
    accept_all: yes
    list_add:
      - movie_list: couchpotato

  # Update movie-list from flexMovies list on Trakt.tv
  add_trakt_to_movie_list:
    priority: 19
    trakt_list:
      username: '{{ secrets.trakt.user }}'
      account: '{{ secrets.trakt.user }}'
      list: flexMovies
      type: movies
    accept_all: yes
    list_add:
      - movie_list: trakt

  # Search for Movies on movie-list
  search_movies_couchpotato_list:
    priority: 12
    template:
      - template_general
      - template_movies
      - template_rss_movies
    seen: local
    list_match:
      from:
        - movie_list: couchpotato

  # Search for Movies on movie-list
  search_movies_trakt_list:
    priority: 13
    template:
      - template_general
      - template_movies
      - template_rss_movies
    seen: local
    list_match:
      from:
        - movie_list: trakt

## Tasks - Downloads ##########################################################
## manual #####################################################################

  # Download from Put.io
  download_manual:
    priority: 51
    ftp_list:
      username: '{{ secrets.putio.user }}'
      password: '{{ secrets.putio.password }}'
      host: ftp.put.io
      port: 21
      use_ssl: no
      dirs: manual
      retrieve:
        - dirs
        - files
      recursion: yes
      recursion_depth: 4
    accept_all: yes
    no_entries_ok: yes
    ftp_download:
      use-ssl: False
      delete_origin: True
      ftp_tmp_path: /downloads/incomming/manual

  # Decompress files
  decompress_manual:
    priority: 52
    accept_all: yes
    no_entries_ok: yes
    disable: seen
    exec:
      on_start:
        phase: /bin/bash ~/.flexget/processing.sh manual
      on_exit:
        phase: /bin/bash ~/.flexget/processing.sh manual
    filesystem:
      path: /downloads/incomming/manual
      recursive: yes
      retrieve: files
      regexp: '.*\.(rar|r0+[01](/01)|zip|part1.rar)'
    decompress:
      to: /downloads/manual
      keep_dirs: yes
      delete_archive: no

  # Move to complete
  complete_manual:
    priority: 52
    accept_all: yes
    no_entries_ok: yes
    disable: seen
    filesystem:
      path: /downloads/incomming/manual
      recursive: yes
      retrieve: files
    move:
      to: /downloads/manual

## movies #####################################################################

  # Download from Put.io
  download_movies:
    priority: 61
    disable: seen
    ftp_list:
      username: '{{ secrets.putio.user }}'
      password: '{{ secrets.putio.password }}'
      host: ftp.put.io
      port: 21
      use_ssl: no
      dirs: movies
      retrieve:
        - dirs
        - files
      recursion: yes
      recursion_depth: 4
    accept_all: yes
    no_entries_ok: yes
    ftp_download:
      use-ssl: False
      delete_origin: True
      ftp_tmp_path: /downloads/incomming/movies

  # Decompress files
  decompress_movies:
    priority: 62
    accept_all: yes
    no_entries_ok: yes
    disable: seen
    filesystem:
      path: /downloads/incomming/movies
      recursive: yes
      retrieve: files
      regexp: '.*\.(rar|r0+[01](/01)|zip|part1.rar)'
    decompress:
      keep_dirs: yes
      delete_archive: yes

  # Move to processing
  process_movies:
    priority: 63
    no_entries_ok: yes
    filesystem:
      path: /downloads/incomming/movies
      recursive: yes
      retrieve: files
      regexp: '.*\.(mkv|avi|mp4|m4v)'
    seen: local
    imdb_lookup: yes
    parsing:
      movie: guessit
    metainfo_movie: yes
    proper_movies: yes
    require_field: [movie_name, movie_year]
    exec:
      on_start:
        phase: /bin/bash ~/.flexget/processing.sh movies
      on_exit:
        phase: /bin/bash ~/.flexget/processing.sh movies
      on_output:
        for_accepted: /bin/bash ~/.flexget/send_update.sh plex-movies
    accept_all: yes
    pushover:
      user_key: '{{ secrets.pushover.user_key }}'
      api_key: '{{ secrets.pushover.api_key }}'
      title: Downloaded {{movie_name}} {{movie_year}}
      message: Votes {{imdb_votes}} {{imdb_score}}
    move:
      to: /media/Movies/{{ movie_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }} ({{ movie_year }})/
      along:
        extensions:
          - sub
          - srt
          - idx
          - nfo

## tv #########################################################################

  # Download from Put.io
  download_tv:
    priority: 71
    disable: seen
    ftp_list:
      username: '{{ secrets.putio.user }}'
      password: '{{ secrets.putio.password }}'
      host: ftp.put.io
      port: 21
      use_ssl: no
      dirs: tv
      retrieve:
        - dirs
        - files
      recursion: yes
      recursion_depth: 10
    accept_all: yes
    no_entries_ok: yes
    ftp_download:
      use-ssl: False
      delete_origin: True
      ftp_tmp_path: /downloads/incomming/tv

  # Decompress files
  decompress_tv:
    priority: 72
    accept_all: yes
    disable: seen
    no_entries_ok: yes
    filesystem:
      path: /downloads/incomming/tv
      recursive: yes
      retrieve: files
      regexp: '.*\.(rar|r0+[01](/01)|nfo|zip|part1.rar)'
    decompress:
      keep_dirs: yes
      delete_archive: yes

  # Move to processing
  process_tv:
    priority: 73
    disable:
      - seen
      - retry_failed
    no_entries_ok: yes
    filesystem:
      path: /downloads/incomming/tv
      recursive: yes
      regexp: '.*\.(mkv|avi|mp4|m4v)'
    metainfo_series: yes
    thetvdb_lookup: yes
    require_field: [series_name]
    include: series.yml
    parsing:
      series: guessit
    series:
      settings:
        with_subs:
          parse_only: yes
        some_shows:
          parse_only: yes
    regexp:
      reject:
        - \bsample\b: {from: title}
    accept_all: yes
    exec:
      on_start:
        phase: /bin/bash ~/.flexget/processing.sh tv
      on_exit:
        phase: /bin/bash ~/.flexget/processing.sh tv
      on_output:
        for_accepted:
          - /bin/bash ~/.flexget/send_update.sh plex-tv
          - /bin/bash ~/.flexget/send_update.sh sonarr
    pushover:
      user_key: '{{ secrets.pushover.user_key }}'
      api_key: '{{ secrets.pushover.api_key }}'
      title: Downloaded {{series_name}}
      message: Episode {{series_id}}
    move:
      to: '/media/TV Shows/{{series_name}}/Season {{series_season|pad(1)}}'
      along:
        extensions:
          - sub
          - srt
          - idx

Posts: 1

Participants: 1

Read full topic

Is there an inverted 'backfill' option for the tracking plugin?

$
0
0

@Spencer_Hughes wrote:

Hello,

I'm looking to instruct flexget to get anything after the most recent thing it's seen. For example, if flexget has seen S04E01 and sees S04E10 and S01E04, I want it to get S04E10 but not S01E04. Backfill works in the opposite way, where it will get everything before what it's seen most recently but not after.

Posts: 4

Participants: 2

Read full topic


[help] duplicate episodes task

$
0
0

@marine88 wrote:

Hi there im tring to make a duplicated episodes moved without any luck did anyone can do it?
There you have my task:

move duplicated series

  duplicate-series:
    priority: 10
    manual: yes
    seen: no
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.series}}'
      retrieve: dirs
    imdb_lookup: yes
    duplicates:
      field: imdb_id
      action: accept
    move:
      to: '/{{secrets.folder.root}}{{secrets.folder.repseries}}'
      allow_dir: yes

Posts: 4

Participants: 3

Read full topic

[config] github of my config based on jonybat

$
0
0

@marine88 wrote:

Hi there I decide to share my config on github is based on jonybat config but with some extras and removed anime part if you want use it if you have ideas and fixes to my config just let me know

my config

Posts: 1

Participants: 1

Read full topic

Discover not searching due to release date, which is wrong

$
0
0

@oystein wrote:

When I add a movie to my trakt watchlist, it's adds fine to my movies list.
But sometimes flexget get's this weird notion that it's not released yet and outputs:

<movie> hasn't been released yet (Expected: 2016-12-13 00:00:00)

On several occasions this is directly wrong and the movie is out.

Does anyone know how I can have flexget ignore release dates for movies?

Full config:

# File with usernames and passwords
secrets: secrets.yml

# Templates
templates:
  global:
    torrent_alive: yes #numer of seeders needed to accept, yes = 1
# Template for downloading TV shows
  deluge-series:
    deluge:
      username: '{{ secrets.deluge.user }}' 
      password: '{{ secrets.deluge.password }}'
      path: /mnt/wdmycloud/Downloads/Incomplete
      movedone: /mnt/wdmycloud/Videos/Series/{{series_name|pathscrub}}/S{{"%02d"|format(series_season)}}
      queuetotop: no
# Template for downloading movies
  download-movies:
    discover:
      what:
        - movie_list: watchlist
      from:
        - sceneaccess:
            username: '{{ secrets.sceneaccess.user }}'
            password: '{{ secrets.sceneaccess.password }}'
    deluge:
      username: '{{ secrets.deluge.user }}' 
      password: '{{ secrets.deluge.password }}'
      path: /mnt/wdmycloud/Downloads/Incomplete
      movedone: /mnt/wdmycloud/Videos/Movies
      queuetotop: yes
      removeatratio: no
# Template for sending email when new download has been started
  send_email:
    email:
      from: '{{ secrets.mail.from }}'
      to: '{{ secrets.mail.to }}'
      smtp_host: '{{ secrets.mail.host }}'
      smtp_port: 587
      smtp_username: '{{ secrets.mail.user }}'
      smtp_password: '{{ secrets.mail.password }}'
      smtp_tls: yes

tasks:

  populate_TVShows:
    priority: 2
    content_size:
      min: 200
      max: 4000
    configure_series:
      from:
        trakt_list:
          account: '{{ secrets.trakt.user }}'
          list: TVShows
          type: shows
          strip_dates: yes
      settings:
        quality: webrip+
        identified_by: ep
        tracking: no
    exists_series: /mnt/wdmycloud/Videos/Series/
    discover:
      what:
        - next_series_episodes: yes
      from:
        - sceneaccess:
            username: '{{ secrets.sceneaccess.user }}'
            password: '{{ secrets.sceneaccess.password }}'
    template:
      - deluge-series
      - send_email
    deluge:
      removeatratio: no

  populate_Movie_list:
    priority: 3
    trakt_list:
      account: '{{ secrets.trakt.user }}'
      list: watchlist
      type: movies
      strip_dates: yes
    accept_all: yes
    seen: local
    list_add:
      - movie_list: watchlist

  get_movies_720p:
    verify_ssl_certificates: no
    priority: 4
    content_size:
      max: 6000
      min: 1024
    quality: 720p
    template:
      - download-movies
      - send_email
 
  get_movies_1080p:
    verify_ssl_certificates: no
    priority: 5
    content_size:
      max: 20000
      min: 1024
    quality: 1080p
    delay: 5 hours
    template:
      - download-movies
      - send_email

Posts: 2

Participants: 2

Read full topic

Email not working... 'in ' requires string as left operand, not int

$
0
0

@atekoa wrote:

CRITICAL error in task with plugin email, a lot of work arround and no way to get this working...
Flexget v2.8.4
Python 2.7.9
xbian in a raspb+

2016-12-16 20:45 CRITICAL task          sort-series     BUG: Unhandled error in plugin email: 'in <string>' requires string as left operand, not int
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 483, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/email.py", line 167, in on_task_output
    plugin.get_plugin_by_name('notify').instance.send_notification(task, notify_config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/notify.py", line 152, in send_notification
    notifier.notify(**notification_data)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/notifiers/email.py", line 151, in notify
    mailServer.login(str(smtp_username), str(smtp_password))
  File "/usr/lib/python2.7/smtplib.py", line 607, in login
    (code, resp) = self.docmd(encode_cram_md5(resp, user, password))
  File "/usr/lib/python2.7/smtplib.py", line 571, in encode_cram_md5
    response = user + " " + hmac.HMAC(password, challenge).hexdigest()
  File "/usr/lib/python2.7/hmac.py", line 75, in __init__
    self.outer.update(key.translate(trans_5C))
  File "/usr/local/lib/python2.7/dist-packages/future/types/newstr.py", line 390, in translate
    if ord(c) in table:
TypeError: 'in <string>' requires string as left operand, not int

CONFIG.YML

templates:
  global:
    email:
      from: xxx@domain.com
      to: xxx@gmail.com
      smtp_host: domain.com
      smtp_port: 587
      smtp_username: xxx@domain.com
      smtp_password: _thepasss123_
      smtp_tls: true
  # Series
  series-dir:
    thetvdb_lookup: yes
    series:
      agroup:
        - House
        - Westworld
tasks:
  sort-series:
    priority: 10
    filesystem:
      path: /downloaded/
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    seen: local
    template:
      - series-dir
    series:
      settings:
        agroup:
          parse_only: yes
    require_field: series_name
    accept_all: yes
    move:
      to: /series/{{tvdb_series_name|default(series_name)}}/s{{tvdb_series_season|default(series_season)}}/

Posts: 2

Participants: 2

Read full topic

Can't seem to consolidate emails

$
0
0

@Emanuele_Sacchi wrote:

Since the last modifications to Flexget and the addition of the notifiers I've been playing around with config files, but it seems I've hit a wall...

I have several tasks, and I'd like to add their results together and being notified via mail.
So I've used list_add to collate the various outputs into a single list, and configured that list for email.

Problem is, it doesn't do anything. I'm not getting a single email. In the log file it says "Task doesn't have any output plugins, you should add (at least) one!", but I'm a bit stuck on this... ideas? What am I missing?

tasks:
  task1:
    priority: 1
    verify_ssl_certificates: no
    rss: ***
    template: tv
    list_add:
      - entry_list: email
  task2:
    priority: 2
    verify_ssl_certificates: no
    rss: ***
    template: tv
    list_add:
      - entry_list: email
  task3:
    priority: 3
    verify_ssl_certificates: no
    rss: ***
    template: tv
    list_add:
      - entry_list: email
  email-report:
    priority: 4
    entry_list: email
    accept_all: yes
    notify_entries:
      to:
        - email:
            html: yes
            from: ***
            to: ***
            title: Flexget Notification
            smtp_host: smtp.gmail.com
            smtp_port: 587
            smtp_username: ***
            smtp_password: ***
            smtp_tls: true

Posts: 16

Participants: 4

Read full topic

Test telegram notifier plugin

$
0
0

@evgsd wrote:

I configure telegram plugin

notify_entries:
      to:
        - telegram:
            bot_token: '{{ secrets.telegram.token }}'
            parse_mode: markdown
            recipients:
              - username: '{{ secrets.telegram.username }}'

How i can test this configuration? In source file plugin i found this
Bootstrapping and testing the bot:
* Execute: `flexget telegram bootstrap`.
Look at the console output and make sure that the operation was successful.
* Execute: `flexget telegram test-msg`.
This will send a test message for every recipient you've configured.

bu it's not work. How i can test this plugin?

Posts: 3

Participants: 2

Read full topic

Unicode error in rtorrent

$
0
0

@tbrandon wrote:

I'm getting an error in the rtorrent plugin due to unicode characters:

2016-12-20 20:16 CRITICAL task          download-hq     BUG: Unhandled error in plugin rtorrent: 'ascii' codec can't encode character u'\u2019' in position 150: ordinal not in range(128)

This is due to unicode characters in tvdb_epname being passed to an rtorrent custom field.

Flexget 2.8.8 on python 2.7.12+ (Ubuntu 16.10), with:

$ locale
LANG=en_AU.UTF-8

Flexget --debug says:

2016-12-21 06:40 DEBUG    manager                       sys.defaultencoding: ascii
2016-12-21 06:40 DEBUG    manager                       sys.getfilesystemencoding: UTF-8

Is there a setting I am missing or is this a bug in the rtorrent plugin?

Full traceback is:

2016-12-20 20:16 CRITICAL task          download-hq     BUG: Unhandled error in plugin rtorrent: 'ascii' codec can't encode character u'\u2019' in position 150: ordinal not in range(128)
Traceback (most recent call last):
  File "/home/user/flexget/local/lib/python2.7/site-packages/flexget/task.py", line 483, in __run_plugin
    return method(*args, **kwargs)
  File "/home/user/flexget/local/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/home/user/flexget/local/lib/python2.7/site-packages/flexget/plugins/clients/rtorrent.py", line 530, in on_task_output
    self.add_entry(client, entry, options, start=config['start'], mkdir=config['mkdir'])
  File "/home/user/flexget/local/lib/python2.7/site-packages/flexget/plugins/clients/rtorrent.py", line 642, in add_entry
    resp = client.load(torrent_raw, fields=options, start=start, mkdir=mkdir)
  File "/home/user/flexget/local/lib/python2.7/site-packages/flexget/plugins/clients/rtorrent.py", line 318, in load
    params.append('d.%s.set=%s' % (key, re.escape(native_str(val))))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 150: ordinal not in range(128)

Thanks

Posts: 1

Participants: 1

Read full topic


Exclude watched movies from a file

$
0
0

@85.ragnarok wrote:

Hi,
I'd like to reject new entries (movies) based on a file which contains a list of watched movies.
Has anyone an idea on how to implement this?
Thanks

Posts: 2

Participants: 2

Read full topic

imdb_watchlist: don't import series

$
0
0

@petwri wrote:

I am trying to use imdb_watchlist to import movies from my watchlist. So far it works, the only problem is, that both movies and tv shows are being added to a 'movie_list', which is somewhat the opposite of a list dedicated to movies. When using the list 'mymovies' for later tasks, every tv show from my imdb-account is considered as well, which is not exactly what I want to achieve.

Any ideas how I could filter the imdb_watchlist for movie entries only and discard all tv shows on my watchlist?

Task from config.yml attached.

tasks:
  import_movies:
    priority: 0
    imdb_watchlist:
      user_id: $user_id
      list: watchlist
      force_language: en
    seen_movies: strict
    accept_all: yes
    list_add:
      - movie_list: mymovies

Posts: 2

Participants: 2

Read full topic

Timeframe+quality+propers

$
0
0

@AndreasT wrote:

I have the following in my configuration file for a tv series:

settings:
timeframe: 1 days
target: 1080p
quality: 720p

I have a rss feed that gives me 720p or 1080p HDTV releases only. Like;

SomeShow.S04E16.PROPER.720p.HDTV.x264-SOMEGROUP
SomeShow.S04E16.1080p.HDTV.x264-SOMEGROUP

While the timeframe is still pending, the 720p release is seen and stored as the best alternative. Nothing is downloaded. Then, also while the timeframe is still pending, the 1080p release turns up in the rss feed,
but it doesn't seem to be detected (ignored?) and nothing is downloaded.

Why is this? Is the fact that the 720 release is a proper overriding the quality requirement? That can't
be correct? If the quality is set to higher than that of the proper, the higher quality should win shouldn't it?

If I remove the "quality:" setting, then the 1080p release is immediately downloaded.

Can anyone please help me with a clarification? Thanks!

Posts: 3

Participants: 2

Read full topic

Does not load config.yml on ubuntu service

$
0
0

@hrassel wrote:

Hi guys.
I have a big issue, I am not sure if it is the daemon that cannot does not load the config.yml or it is the schedueler that is not running at the designated time.

I have a ubuntu 16.04 machine running flexget as a service with the following flexget.service setup:

[Unit]
Description=Flexget Daemon
After=network.target

[Service]
Type=simple
User=daemon
Group=daemon
UMask=000
Restart=on-failure

WorkingDirectory=/etc/flexget
ExecStart=/usr/local/bin/flexget daemon start
ExecStop=/usr/local/bin/flexget daemon stop
ExecReload=/usr/local/bin/flexget daemon reload

[Install]
WantedBy=multi-user.target

I then have my config located in /etc/flexget/config.yml. The schedule does not run when specified. I have made the following schedules that is not running correctly:

schedules:
#   Run task Files once every 55 minutes
  - tasks: Files*
    interval:
      minutes: 55
#   Run task Serrie every 35 minutes
  - tasks: Serrie*
    interval:
      minutes: 35

I hope somebody can help me figure this out, as the only time apparently flexget checks is when started or reloaded at 04.00 am.

Posts: 2

Participants: 2

Read full topic

Pushover x509 error

$
0
0

@Paul_Littlefield wrote:

Pushover is no longer working and errors...

BUG: Unhandled error in plugin pushover: 'X509' object has no attribute '_x509'. An unexpected crash has occurred.

Here is my config

tasks:
  showrss-tv:
    template: tv
    rss:
      url: http://showrss.info/user/xxxxxxx.rss?magnets=true&namespaces=true&name=null&quality=hd&re=null
      all_entries: no
      silent: yes
templates:
  global:
    verify_ssl_certificates: no
    email:
      file_template: accepted
      from: xxxxxx
      to: xxxxx
    transmission:
      host: localhost
      port: 9091
    pushover:
      user_key: xxxxxx
      api_key: xxxxxx
      device: Nexus5
      priority: -1
      url: http://192.168.0.252:9091/transmission/web/
      sound: magic
  tv:
    regexp:
      reject:
        - Dutch
       ETC

Latest FlexGet 2.8.19

Thanks.

Posts: 7

Participants: 3

Read full topic

Viewing all 716 articles
Browse latest View live