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

Request help writing regexp

$
0
0

@mpadilla2 wrote:

Periodically I get these torrents that start with [ and the groups name who posted or a url to the groups name who posted the torrent. What ends up happening is the file doesn't get named or moved correctly. I'm using the jonybat config.

I guess I could reject if it doesn't start with the series or movie name?

Do you run into this problem? If you do or don't how would you suggest this be addressed?

Posts: 2

Participants: 1

Read full topic


convert_magnet

$
0
0

@thor wrote:

I am having some mixed results in using convert_magnet. Most times it fails with the error "Invalid torrent file". This is the usage I have in my config.

convert_magnet:
timeout: 4 minutes
force: yes

has anyone else experienced this issue and found a solution?

Posts: 1

Participants: 1

Read full topic

Rexgex languages in title not working

$
0
0

@Floflobel wrote:

Hi,

I try to download movie with a watchlist and I have setup a regex for reject and accept certains words but it's doesn't work.
I would like to accept only titles that contain "FRENCH, TRUEFRENCH, .."

movies search:
trakt_lookup: yes # can also use imdb_lookup or tmdb_lookup
priority: 10 # run after the movie queue fill task
regexp:
reject:
- (s|d)ub(s|bed)?\b: {from: title} # Block any subbed/dubbed/etc videos
- \b(duo|tri|quadri|tetra|penta)logy\b: {from: title} # Block series, only accept one at a time
- \b3-?D\b: {from: title} # I don't have any 3D displays
- \btrailer\b: {from: title} # I've gotten a few trailers that matched as movies
- \bR5\b: {from: title} # The following are poor quality types
- \bWEBSCR\b: {from: title} # features usually due to the title including a keyword like "720p" as well
- \bscreener\b: {from: title}
- \bTS\b: {from: title}
- \bCam\b: {from: title}
- '{C_P}': {from: title} # The following are groups with poor quality releases
- TrTd TeaM: {from: title}
- [TNTVillage]: {from: title}
- [facepalm]: {from: title}
- \bASAP\b: {from: title}
- FASTSUB: {from: title}
- VOSTFR: {from: title}
- Subtitulado: {from: title}
- \bNORDiC\b: {from: title}
- \biPad\b: {from: title}
- /\b(ita|ger|spa|swe|nor|nordic|kor|esp|nl|pl)\b/i: {from: title}
- \bITA\b: {from: title}
- \bR6\b: {from: title}
- \bTemporada\b: {from: title}
- /\bDual\b/i: {from: title}
- /\bJapanese\b/i: {from: title}
- /\bHDCAM\b/i: {from: title}
accept:
- FRENCH: {from: title}
- TRUEFRENCH: {from: title}
- VF: {from: title}
- VFF: {from: title}
discover:
what:
- movie_list: watchlist

Posts: 1

Participants: 1

Read full topic

Hi. Posting my first Flexget Config

$
0
0

@Arghh wrote:

Hi all,

loving Flexget so far. Ty for the hard work devs! :clap:
I have been using flexget for a few months now and would like to share my config. It is working quite good, except the notify email does not get sent always, but it's not a big deal. Maybe someone has some ideas on how to making it more efficient? I have a lot of repeating lines in tasks etc.

What does the config do? It downloads series and movies from public torrenttrackers (rarbg, piratebay) and moves, renames them after downloading. Keeping the torrents in Deluge alive for seeding (deleting them manually after some time.)

tasks:
  # downloading task
  download-series:
    priority: 1
    rss:
      url: YOUR SHOWRSS.INFO URL
      link:
        - link
        - magneturl
    # fetch all the feed series
    all_series:
      timeframe: 4 hours
      target: 720p hdtv
      quality: 360p-720p sdtv-webdl divx-h265
      set:
        label: series
    exists_series:
      path:
        - /PATHTOTORRENTS/torrents/downloading
        - /PATHTOTORRENTS/torrents/completed
        - /PATHTOTORRENTS/series/
    # use deluge to download the torrents
    deluge: yes
    list_add:
      - entry_list: series_list
    notify:
      task:
        template: html  # Optional, if you want html instead of plain text
        via:
          - email:
              from: YOURTEMPACCOUNT@gmail.com
              to: YOURREALACCOUNT@gmail.com
              smtp_host: smtp.gmail.com
              smtp_port: 587
              smtp_username: YOURTEMPACCOUNT@gmail.com
              smtp_password: somepassforthetempaccount
              smtp_tls: yes
              html: yes # To parse template as HTML
  # sorting task
  sort-series:
    priority: 3
    filesystem:
      # directory with the files to be sorted
      path: /PATHTOTORRENTS/torrents/completed
      # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
      regexp: '.*\.(avi|mkv|mp4|m4v|)$'
      recursive: yes
    accept_all: yes
    seen: local
    regexp:
      reject:
        - sample
    # this is needed for the episode names
    list_match:
      from:
        - entry_list: series_list
    thetvdb_lookup: yes
    metainfo_series: yes
    require_field:
      - tvdb_series_name
      - tvdb_ep_id
      - tvdb_ep_name
    parsing:
      series: guessit
    disable:
      - seen
      - seen_info_hash
      - rejected
    move:
      # this is where the series will be put
      to: /PATHTOTORRENTS/series/{{ tvdb_series_name }}/Season {{tvdb_season|pad(2)}}
      # save the file as "Series Name - SxxEyy - Episode Name.ext"
      rename: "{{ tvdb_series_name }} - {{ tvdb_ep_id|d(series_id, True) }} - {{ tvdb_ep_name|d(series_name, True) }}"
      along:
        extensions:
          - sub
          - srt
        subdirs:
          - Subs


  # add movies from trakt
  find-movies:
    priority: 2
    trakt_list:
      username: TRAKTUSERNAME
      account: TRAKTUSERNAME
      list: watchlist
      type: movies
    accept_all: yes
    seen: local
    list_add:
      - movie_list: watchlist

  #download movies
  download-movies:
    priority: 4
    imdb_lookup: yes  # can also use imdb_lookup or tmdb_lookup
    discover:
      what:
        - movie_list: watchlist
      from:
        - rarbg:
            category:
              - x264 720p
              - x264 1080p
            sorted_by: seeders
      from:
        - piratebay:
            category: video
            sort_by: seeds
      interval: 1 hour
    set:
      label: movies
    exists_movie:
      path:
        - /PATHTOTORRENTS/torrents/downloading
        - /PATHTOTORRENTS/torrents/completed
        - /mPATHTOTORRENTS/movies/
    torrent_alive: 4 # Will reject results with less than 10 seeds
    list_match:
      from:
        - movie_list: watchlist
    regexp:
      from: title
      reject:
        - msd
        - afg
        - line
        - hc
        - korsub
    # use deluge to download the torrents
    deluge: yes
    notify:
      task:
        template: html  # Optional, if you want html instead of plain text
        via:
          - email:
              from: YOURTEMPACCOUNT@gmail.com
              to: YOURREALACCOUNT@gmail.com
              smtp_host: smtp.gmail.com
              smtp_port: 587
              smtp_username: YOURTEMPACCOUNT@gmail.com
              smtp_password: somepassforthetempaccount
              smtp_tls: yes
              html: yes # To parse template as HTML

    # sorting task
  sort-movies:
    priority: 5
    filesystem:
      # directory with the files to be sorted
      path: /PATHTOTORRENTS/torrents/completed
      # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
      regexp: '.*\.(avi|mkv|mp4|)$'
      recursive: yes
    seen: local
    seen_movies: strict
    if:
      - series_name : reject
    # this is needed for the episode names
    imdb_lookup: yes
    list_match:
      from:
        - movie_list: watchlist
      single_match: no
    accept_all: yes
    parsing:
      movie: guessit
    exists_movie:
      path:
        - /PATHTOTORRENTS/movies/
    require_field:
      - imdb_name
      - imdb_year
    move:
    # this is where the series will be put
      to: /PATHTOTORRENTS/movies/{{ imdb_name }} ({{ imdb_year }})
      along:
        extensions:
          - sub
          - srt
          - idx

schedules:
  # Run every task once an hour
  - tasks: download-series
    interval:
      minutes: 30
  - tasks: find-movies
    interval:
      minutes: 45
  - tasks: download-movies
    interval:
      hours: 1
  - tasks: sort-series
    interval:
      hours: 2
  - tasks: sort-movies
    interval:
      hours: 4

Posts: 1

Participants: 1

Read full topic

Permission denied on html dump

$
0
0

@avalloneandrea wrote:

I'm having trouble with the html plugin, so I would like to get a dump in order to debug it. The task is:

task:
  html:
    url: "<url>"
    dump: file.html
  deluge:
    path: "/media/hdd/download"

However, I get the following error:
2017-12-21 23:28 CRITICAL html task IOError when connecting to server: [Errno 13] Permission denied: 'file.html'
I have already used the dump feature before, but this is the first time I have this error. Why?

Posts: 1

Participants: 1

Read full topic

Update trakt collection

$
0
0

@mpadilla2 wrote:

So I'm able to scan my series folder and update my trakt collection with the following. Problem is, it takes a LONG time to get it done (read over an hour). Any suggestions to improve my task to speed it up?

  update-series-collection-from-disk:
    manual: yes
    template:
      - disable-seen-retry
      - series-metainfo
    filesystem:
      path: "/{? folder.root ?}{? folder.series ?}"
      recursive: yes
      retrieve: files
      regexp: '.*\.(mkv|avi|mp4)$'
    trakt_lookup:
      account: "{? trakt.account ?}"
    if:
      - trakt_collected: reject
    accept_all: yes
    list_add:
      - trakt_list:
          account: "{? trakt.account ?}"
          list: collection
          type: episodes

Posts: 1

Participants: 1

Read full topic

Assistance with Config - add unrar, rename, move + download locations

$
0
0

@SQUiD wrote:

Hi all

I'm looking for some assistance with my config file, currently I am downloading movies through it only utilising the IMDB plugin (i haven't finalised the TV shows yet).

Currently I use uTorrent 1.8.7 (Mac) and when a .torrent file is added it downloads into "Torrent Incomplete Downloads", once completed uTorrent moves the file to "Torrent Downloads" and continues to seed. I then manually copy the file to my external harddrive where Plex monitors and leave a copy in "Torrent Downloads" to seed.

What I'd like to happen is the following (happy to hear about other (better) ways of doing the below):
1. Once a download completes, move the movie file to "Torrent Downloads/movies" and the TV shows to "Torrent Downloads/TV"
2. unrar (if applicable), rename to IMDB Title (year) OR rename to Series Title SxxExx and copy to my external hard drive.
NB. I have tv shows on one hard drive with series folders and movies on another

A couple of things I'm struggling with, firstly setting the download location, I cannot manage to get the movies to move into "Torrent Downloads/movies", everything just lands in "Torrent Downloads" as per the uTorrent setting (i cannot override in the config) and secondly, I cannot manage to setup the unrar, rename and move.

###Schedules###
schedules:
  - tasks: [TV-SHOWS,MOVIES]
    interval:
      minutes: 15
  - tasks: [IMPORT-MOVIES]
    interval:
      minutes: 121

###Templates###
templates:
  tv:
    configure_series:
      settings:
        quality: webdl|hdtv|webrip h264 720p
        propers: no
      from:
        trakt_list:
          account: **User**
          list: series
          type: shows
          strip_dates: yes
    regexp:
      from: title
      reject:
        - msd
        - afg
        - line
    content_size:
      min: 400
      max: 3000
      strict: no
    inputs:
      - rss:
          url: **User**
          all_entries: no
#      - rss:
#          url: **User**
#          all_entries: no
    utorrent:
      url: **User**
      username: **User**
      password: **User**
      path:  /Users/**User**/Downloads/Torrent Downloads/TV

  movie:
    quality: 1080p h264
    imdb_lookup: yes
    list_match:
      from:
        - movie_list: mymovies
    regexp:
      from: title
      reject:
        - msd
        - afg
        - line
        - hc
        - korsub
        - cam
        - bdscr
        - dvdscr
        - preair
        - r5
        - tc
        - ts
        - ecc
        - avc
        - avi
        - qebs
        - hdtc
        - hdcam
        - telesync
        - webhd
        - webrip
        - ac3d
        - 3d
        - german
        - dutch
        - french
        - truefrench
        - danish
        - swedish
        - spanish
        - italian
        - korean
        - dubbed
        - swesub
    content_size:
      min: 6000
      max: 14000
      strict: no
    inputs:
      - rss:
          url: **User**
          all_entries: no
      - rss:
          url: **User**
      - rss:
          url: **User**
      - rss:
          url: **User**
      - rss:
          url: **User**
      - rss:
          url: **User**
    utorrent:
      url: **User**
      username: **User**
      password: **User**
      path: /Users/**User**/Downloads/Torrent Downloads/Movies

###Tasks###
tasks:
  TV-SHOWS:
    template: tv
    priority: 3

  IMPORT-MOVIES:
    imdb_watchlist:
      user_id: **User**
      list: watchlist
    accept_all: yes
    list_add:
      - movie_list: mymovies
    priority: 1

  MOVIES:
    template: movie
    priority: 2

Thanks in advance, any help is very much appreciated.
If you require any further info, let me know.

Cheers
S.

Posts: 1

Participants: 1

Read full topic

Discover rarbg

$
0
0

@john_es wrote:

I am trying to use the rarbg and discover plugins but my config is not valid. Can someone give me some ideas?

  MY task:
    version_checker: yes
    discover:
      what:
        regexp:
          reject_excluding:
            - 1080p\.BluRay\.H264\.AAC\-RARBG
      from:
        - rarbg:
            category: [14, 48, 17, 44, 45, 47, 50, 51, 52, 42, 46]
#            search: "1080p.BlueRay.H264.AAC-RARBG"

Posts: 1

Participants: 1

Read full topic


Have a problem with parsing

$
0
0

@RIKRUS wrote:

i want to setup notifycation, when download start on my language, but notification recieven on english

thetvdb_lookup:
  language: ru
deluge:
  path: /mnt/sdb1/plex/TV Shows/{{series_name}}/Season {{series_season}}/
notify:
  entries:
    title: "{{task}}"
    message: "{{ tvdb_series_name }} - {{ tvdb_ep_id }} - {{ tvdb_ep_name|default('Unknown') }}  - {{quality}} \n{{ tvdb_genres }}"
    what: accepted

accept dump

-- Accepted: ---------------------------
title            : Van.Helsing.S02E12.720p.rus.LostFilm.TV.mp4.torrent
accepted_by      : series
content_files    : [Van.Helsing.S02E12.720p.WEB.rus.LostFilm.TV.mp4]
content_size     : 1308.79536247
deluge_id        : 01b6b20e9ba8f9dbcaeb28782be6321d6fb179ee
episode_name_eng : Crooked Falls
episode_name_rus : Крукед Фоллс
filename         : Van.Helsing.S02E12.720p.WEB.rus.LostFilm.TV.mp4.torrent
imdb_id          : <LazyField - value will be determined when it is accessed>
imdb_url         : <LazyField - value will be determined when it is accessed>
mime-type        : application/x-bittorrent
proper           : False
proper_count     : 0
quality          : 720p
reason           : target quality
release_group    : None
season_pack      : None
series_episode   : 12
series_episodes  : 1
series_exact     : False
series_id        : S02E12
series_id_type   : ep
series_identified_by: auto
series_name      : Van Helsing
series_name_eng  : Van Helsing
series_name_rus  : Ван Хельсинг
series_parser    : <SeriesParser(data=Van.Helsing.S02E12.720p.rus.LostFilm.TV.mp4.torrent,name=Van Helsing,id=None,season=2,season_pack=None,episode=12,quality=720p,proper=0,status=OK)>
series_releases  : [58]
series_season    : 2
task             : lostfilm
torrent          : <Torrent instance. Files: [{u'path': u'', u'name': u'Van.Helsing.S02E12.720p.WEB.rus.LostFilm.TV.mp4', u'size': 1372371406}]>
torrent_info_hash: 01B6B20E9BA8F9DBCAEB28782BE6321D6FB179EE
tvdb_absolute_number: <LazyField - value will be determined when it is accessed>
tvdb_actors      : <LazyField - value will be determined when it is accessed>
tvdb_air_time    : <LazyField - value will be determined when it is accessed>
tvdb_airs_day_of_week: <LazyField - value will be determined when it is accessed>
tvdb_banner      : <LazyField - value will be determined when it is accessed>
tvdb_content_rating: <LazyField - value will be determined when it is accessed>
tvdb_ep_air_date : <LazyField - value will be determined when it is accessed>
tvdb_ep_directors: <LazyField - value will be determined when it is accessed>
tvdb_ep_id       : <LazyField - value will be determined when it is accessed>
tvdb_ep_image    : <LazyField - value will be determined when it is accessed>
tvdb_ep_name     : <LazyField - value will be determined when it is accessed>
tvdb_ep_overview : <LazyField - value will be determined when it is accessed>
tvdb_ep_rating   : <LazyField - value will be determined when it is accessed>
tvdb_episode     : <LazyField - value will be determined when it is accessed>
tvdb_first_air_date: <LazyField - value will be determined when it is accessed>
tvdb_genres      : <LazyField - value will be determined when it is accessed>
tvdb_id          : <LazyField - value will be determined when it is accessed>
tvdb_language    : <LazyField - value will be determined when it is accessed>
tvdb_network     : <LazyField - value will be determined when it is accessed>
tvdb_overview    : <LazyField - value will be determined when it is accessed>
tvdb_posters     : <LazyField - value will be determined when it is accessed>
tvdb_rating      : <LazyField - value will be determined when it is accessed>
tvdb_runtime     : <LazyField - value will be determined when it is accessed>
tvdb_season      : <LazyField - value will be determined when it is accessed>
tvdb_series_name : <LazyField - value will be determined when it is accessed>
tvdb_status      : <LazyField - value will be determined when it is accessed>
tvdb_url         : <LazyField - value will be determined when it is accessed>
zap2it_id        : <LazyField - value will be determined when it is accessed>

And template notifycation

Posts: 1

Participants: 1

Read full topic

Make my first script better =)

$
0
0

@malvack wrote:

Hi,

Below is my first script i made and it works okey. I think its to messy tho and want some help to make it a bit more efficient.

It download from a showrss rss and put it to transmission.
After that the script runs a get subtitle with subliminal plugin and add it to the folder where the finish download is.
Then the sort plugin take over and move the files to the right place and notify me with pushover.
Then it clears the transmiossion client from downloaded files.

The problem i have is that the finished download lands in the folder where the root folder for the series is places. This is very annoying because i need to remove the folder by hand because the subtitle files is still in the folder and clear transmission cant remove that folder.

Also the subtitle task download subtitle to the unfinished torrent sometimes and it makes is so it dont download to the finished folder.I need to move the subtitle by hand.

Please help me to make it a bit more efficent =)

schedules:
  - tasks: '*'
    interval:
      hours: 4

tasks:
  # downloading task
  download-rss:
    rss: http://showrss.info/user/21045.rss?magnets=true&namespaces=true&name=null&quality=hd&re=null
    # fetch all the feed series
    all_series: yes
    # use transmission to download the torrents
    transmission:
      host: xxx
      port: xxx
      username: xxx
      password: xxx
      ratio: -1.0
      addpaused: No
    content_filter:
      require:
        - '*.avi'
        - '*.mkv'
      reject:
        - '*.wmv'
    set:
      path: /volume1/video/serier/temp/

  #Get subtitles
  get-subtitles:
    filesystem:
      path:
        - /volume1/video/serier
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    seen: local
    subliminal:
      languages:
        - eng
      exact_match: no
      #only use the following providers
      providers:
        - opensubtitles
        - tvsubtitles
      authentication:
      #consider using the variables plugin
        opensubtitles:
          username: xxx
          password: xxx
    retry_failed:
      retry_time: 10 seconds
      retry_time_multiplier: 1
      max_retries: 1

  # sorting task
  Sort-Series:
    filesystem:
      # directory with the files to be sorted
      path:
        - /volume1/video/serier/
      # fetch all avi, mkv and mp4 files, skips the .part files (unfinished torrents)
      regexp: '.*\.(avi|mkv|mp4|srt)$'
      recursive: yes
    accept_all: yes
    seen: local
    # this is needed for the episode names
    metainfo_series: yes
    thetvdb_lookup: yes
    all_series:
      # for some reason all_series rejects all episodes here, even with seen: local, so parse_only must be added
      parse_only: yes
    # TVDB doesn't recognise "Adventure Time with Finn and Jake" so you must add such exceptions here manually
    series:
      group_name:
        - Outlander
        - "Fear the walking dead"
        - "Once Upon A Time"
        - The Big Bang Theory
        - Teen Wolf
    move:
      # this is where the series will be put
      to: /volume1/video/serier/{{ tvdb_series_name }}/Season {{ series_season }}/
      # save the file as "Series Name - SxxEyy - Episode Name.ext"
      rename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}'

    # Pushover notify
    notify:
      entries:
        title: Laddat ner {{tvdb_series_name}}
        message: Episod {{ series_id }} - {{ tvdb_ep_name }}
        via:
          - pushover:
              user_key:
                -  xxx
              api_key: xxx
              device: xxx

  #Clean Transmission
  clean:
    clean_transmission:
      host: xxx
      port: xxx
      username: xxx
      password: xxx
      delete_files: Yes

Posts: 1

Participants: 1

Read full topic

Comment out : from series name

$
0
0

@rekishi wrote:

Hello,

I am trying to add a series title to my configuration file for dl, but it contains a colon for the name. Would a \ comment work or is there another comment series that would make the config still readable?

Posts: 2

Participants: 2

Read full topic

How do I reject HDR and urlrewriting no Episode found

$
0
0

@Loader23 wrote:

Hi,

can some one tell me whats the best way to reject series with HDR?
Star.Trek.Discovery.S01E10.Nur.wegen.dir.German.DD51.DL.1080p.NetflixHD.HDR.x265-TVS
And do I place this for every Task or somewhere there in my series.yml:
series:
settings:
TV-Shows:
timeframe: 23 hours
target: 1080p
quality: 720p-1080p

The other problem I got is a reject because of "urlrewriting plugin because no Episode found"
Other series are working, might be a problem with this single episode.

Thats the log:

2018-01-10 10:24 DEBUG urlrewriter SeriesSJ Url rewriting http://serienjunkies.org/navy-cis/ncis-staffel-15-web-dl-sd720p1080p/
2018-01-10 10:24 DEBUG utils.requests SeriesSJ Fetching URL http://serienjunkies.org/navy-cis/ncis-staffel-15-web-dl-sd720p1080p/ with args () and kwargs {u'allow_redirects': True, u'timeout': 30}
2018-01-10 10:24 DEBUG serienjunkies SeriesSJ Title seems to describe a single episode
2018-01-10 10:24 VERBOSE task SeriesSJ REJECTED:
[DEUTSCH] Navy.CIS.S15E04.Schwere.See.German.DD51.Dubbed.DL.1080p.AmazonHD.x264-TVSby urlrewriting plugin because no Episode found
2018-01-10 10:24 DEBUG serienjunkies SeriesSJ TV Show URL: http://serienjunkies.org/navy-cis/ncis-staffel-15-web-dl-sd720p1080p/
2018-01-10 10:24 DEBUG serienjunkies SeriesSJ Episode: Navy.CIS.S15E04.Schwere.See.German.DD51.Dubbed.DL.1080p.AmazonHD.x264-TVS
2018-01-10 10:24 DEBUG serienjunkies SeriesSJ Download URL: []
2018-01-10 10:24 VERBOSE details SeriesSJ Summary - Accepted: 0 (Rejected: 36 Undecided: 769 Failed: 0)
2018-01-10 10:24 DEBUG exec SeriesSJ running phase_name: on_output operation: for_accepted entries: 0
2018-01-10 10:24 VERBOSE notify_entry SeriesSJ No accepted or failed entries, not sending a notification.
2018-01-10 10:24 DEBUG series SeriesSJ on_task_learn
2018-01-10 10:24 DEBUG exec SeriesSJ phase on_exit not configured

`

Thanks in advance

Posts: 6

Participants: 2

Read full topic

Python Error when using notify plugin

$
0
0

@rcnorth wrote:

I ran an update after Christmas to the latest (2.11.23) and started getting the following errors in the log file when running tasks that have the notify plugin

2018-01-14 20:50 ERROR    notify_entry  monitor_missing_episodes unbound method sendmail() must be called with SMTP instance as first argument (got unicode instance instead)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/notifiers/notify.py", line 103, in send_notification
    send_notification(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/notifiers/notification_framework.py", line 117, in send_notification
    notifier.notify(title, message, rendered_config)  # TODO: Update notifiers for new api
  File "/usr/local/lib/python2.7/site-packages/flexget/plugins/notifiers/email.py", line 184, in notify
    self.mail_server.sendmail(email['From'], config['to'], email.as_string())
TypeError: unbound method sendmail() must be called with SMTP instance as first argument (got unicode instance instead)

I am getting the same error on all tasks, as they all have the notify plugin configured the same way. Here is one of the tasks that produce the error

  monitor_missing_episodes:
    disable: seen
    trakt_lookup: yes
    thetvdb_lookup: yes
    no_entries_ok: yes
    next_series_episodes: yes

    next_trakt_episodes:
      <<: *trakt-credentials
      list: '{? trakt.series ?}'
      context: collected
      position: next

    accept_all: yes
    if:
    - "trakt_collected or trakt_watched": reject
    - "not trakt_ep_first_aired or trakt_ep_first_aired > now": reject # Change the value in days to customize the time delta
    notify:
      task:
        always_send: yes
        title: "Flexget - Missing episodes detected"
        template: html
        via:
        - email:
            <<: *gmail-settings

Any help is appreciated.

Posts: 1

Participants: 1

Read full topic

Serienjunkies URL Rewrite does not accept season sacks

$
0
0

@Nille wrote:

HI,

I have managed to get my configuration working so far as it grabs new episodes as I desired.

Unfortunately when I add an rss-feed from Serienjunkies that includes only season packs flexget does not accept the season pack with the following error:

 -- Rejected: ---------------------------
title            : [DEUTSCH] SomeSeries.S03.German.DD+51.DL.1080p.AmazonHD.x264-TVS
url              : http://serienjunkies.org/mr-robot/xxxx
original_url     : http://serienjunkies.org/xxxx
accepted_by      : series
description      : [DEUTSCH] SomeSeries.S03.German.DD+51.DL.1080p.AmazonHD.x264-TVS
proper           : False
proper_count     : 0
quality          : 1080p h264 dd+5.1
reason           : No Episode found
rejected_by      : urlrewriting
release_group    : None
rss_pubdate      : 2018-01-15 00:00:00
season_pack      : True
series_episodes  : 1
series_exact     : False
series_id        : S03
series_id_type   : ep
series_identified_by: ep
series_name      : xxxxx
series_parser    : <SeriesParser(data=[DEUTSCH] SomeSeries.1080p.AmazonHD.x264-TVS,name=SomeSeries,id=S3,season=3,season_pack=True,episode=None,quality=1080p h264 dd+5.1,proper=0,status=OK)>
series_releases  : [1]
series_season    : 3
task             : SJ_season
tvdb_id          : 289590

My Configuration looks as follows:

   SJ_season:
        configure_series:
            settings:
                identified_by: ep
                target: 1080p
                qualities:
                    - 720p webdl
                    - 720p hdtv
                    - 720p bluray
                    - 1080p webdl
                    - 1080p hdtv
                    - 1080p bluray
                season_packs: yes
            from:
                sonarr_list:
                    base_url: http://localhost
                    port: 8989
                    api_key:
                    only_monitored: yes
                    include_ended: false
                    ignore_episodes_with_files: true
        inputs:
            - rss: http://serienjunkies.org/xml/feeds/staffeln.xml
        redirect_url: yes
        serienjunkies:
            language: german
            hoster: ul
        disable:
            - seen
        exec:
            - echo text={{url}} >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo downloadFolder=Serien >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo packageName="{{series_name}} Season {{series_season}}" >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo autoStart=TRUE >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo forcedStart=TRUE >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo enabled=true >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo extractAfterDownload=TRUE >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo extractPasswords=["serienjunkies.org"] >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"
            - echo autoConfirm=TRUE >> "C:\Users\Administrator\AppData\Local\JDownloader 2.0\folderwatch\{{title}}.crawljob"

Is it expected that seasons do not work with the Serienjunkies Plugin on flexget?
Can I do comething to make it grab them anyway?

Hope you can help.

Thanks in advance! :slight_smile:

Posts: 3

Participants: 2

Read full topic

Finds series but doesn't download

$
0
0

@tanner2379 wrote:

Hi guys,

I have created a simple config file to download to my Videos folder. Flexget will find episodes only if they don't exist yet. If they do exist, flexget will not download them, nor will it find them. I am getting pretty frustrated with this since it seems like it would be simple to get at least something to work. I have tried download on its own, I have tried deluge, I have changed the path, I have tried the simple series configuration, I have tried using the rss stream address, and I have tried the horriblesubs command. Please help. What am I doing wrong?

tasks:
search-anime:
quality: 1080p
discover:
what:
- next_series_episodes: yes
from:
- horriblesubs: yes
interval: 1 minute
series:
- 3-gatsu no Lion:
begin: S01E36
- Citrus:
begin: S01E03
- Sora yori mo Tooi Basho:
begin: S01E03
- Yuru Camp:
begin: S01E03
- Violet Evergarden:
begin: S01E02
- Karakai Jouzu no Takagi-san:
begin: S01E03
- Hakumei to Mikochi:
begin: S01E02
download: /home/tanner/Videos

Posts: 2

Participants: 1

Read full topic


Bug matching during move-series

$
0
0

@ZileXa wrote:

I never had this issue before. Naming scheme of the files seems OK. This task works well for all other files.
It fails due to my rename plugin. The filename is missing quality, but I am using an IF statement so I would not expect the crash.

  move-series:
    priority: 31
    template:
      - disable-seen-retry
      - series-metainfo
      - series-guessit
    filesystem:
      path: "/{? folder.root ?}{? folder.downseries ?}"
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    move:
      to: "/{? folder.root ?}{? folder.series ?}{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}}/S{{series_season|pad(2)}}/"
      rename: "{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}} - {{series_id}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"
      along:
        extensions:
          - srt
          - sub
        subdirs:
          - Subs
      clean_source: 50
    kodi_library:
      action: scan
      category: video
      url: http://192.168.1.1
      port: 8080
    list_add:
      - subtitle_list:
          list: subtitles
          path: "{{location}}"
          remove_after: 7 days
    exec:
      on_exit:
phase: find "/{? folder.root ?}{? folder.downseries ?}"* -type d -empty -delete

osmc@RPi:~$ /home/osmc/flexget/bin/flexget --loglevel debug execute --tasks move-series
2018-01-30 11:57 DEBUG    manager                       Figuring out config load paths
2018-01-30 11:57 DEBUG    manager                       Adding virtualenv path
2018-01-30 11:57 DEBUG    manager                       Found config: /home/osmc/flexget/config.yml
2018-01-30 11:57 DEBUG    manager                       Config file /home/osmc/flexget/config.yml selected
2018-01-30 11:57 DEBUG    manager                       sys.defaultencoding: utf-8
2018-01-30 11:57 DEBUG    manager                       sys.getfilesystemencoding: ascii
2018-01-30 11:57 DEBUG    manager                       flexget detected io encoding: ascii
2018-01-30 11:57 DEBUG    manager                       os.path.supports_unicode_filenames: False
2018-01-30 11:57 WARNING  manager                       Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet.
There is a FlexGet process already running for this config, sending execution there.
2018-01-30 11:57 DEBUG    manager                       Sending command to running FlexGet process: ['--loglevel', 'debug', 'execute', '--tasks', 'move-series']
2018-01-30 11:57 DEBUG    cron_env                      Encoding utf-8 stored
2018-01-30 11:57 DEBUG    util.simple_persistence                 setting key terminal_encoding value 'utf-8'
2018-01-30 11:57 DEBUG    task          move-series     executing move-series
2018-01-30 11:57 DEBUG    template      move-series     Merging template disable-seen-retry into task move-series
2018-01-30 11:57 DEBUG    template      move-series     Merging template series-metainfo into task move-series
2018-01-30 11:57 DEBUG    template      move-series     Merging template series-guessit into task move-series
2018-01-30 11:57 DEBUG    template      move-series     Merging template global into task move-series
2018-01-30 11:57 DEBUG    disable       move-series     Disabled built-in plugin(s): seen, seen_info_hash, retry_failed
2018-01-30 11:57 DEBUG    exec          move-series     phase on_start not configured
2018-01-30 11:57 VERBOSE  filesystem    move-series     Starting to scan folders.
2018-01-30 11:57 VERBOSE  filesystem    move-series     Scanning folder /mnt/USBDRIVE/Downloads/tempseries/. Recursion is set to True.
2018-01-30 11:57 DEBUG    filesystem    move-series     Scanning /mnt/USBDRIVE/Downloads/tempseries/
2018-01-30 11:57 DEBUG    filesystem    move-series     Checking if /mnt/USBDRIVE/Downloads/tempseries/Chicago Med Season 2 Complete 720p HDTV x264 qualifies to be added as an entry.
2018-01-30 11:57 DEBUG    filesystem    move-series     Checking if /mnt/USBDRIVE/Downloads/tempseries/Chicago Med Season 2 Complete 720p HDTV x264/Chicago Med S02E20 Generation Gap.mkv qualifies to be added as an entry.
2018-01-30 11:57 DEBUG    filesystem    move-series     Checking if /mnt/USBDRIVE/Downloads/tempseries/Chicago Med Season 2 Complete 720p HDTV x264/Chicago Med S02E21 Deliver Us.mkv qualifies to be added as an entry.
2018-01-30 11:57 DEBUG    filesystem    move-series     Checking if /mnt/USBDRIVE/Downloads/tempseries/Chicago Med Season 2 Complete 720p HDTV x264/Chicago Med S02E22 White Butterflies.mkv qualifies to be added as an entry.
2018-01-30 11:57 DEBUG    filesystem    move-series     Checking if /mnt/USBDRIVE/Downloads/tempseries/Chicago Med Season 2 Complete 720p HDTV x264/Chicago Med S02E23 Love Hurts.mkv qualifies to be added as an entry.
2018-01-30 11:57 DEBUG    exec          move-series     phase on_input not configured
2018-01-30 11:57 DEBUG    backlog       move-series     4 entries purged from backlog
2018-01-30 11:57 VERBOSE  details       move-series     Produced 4 entries.
2018-01-30 11:57 DEBUG    parser_guessit move-series     Parsing series: `Chicago Med S02E20 Generation Gap` [options: {'name': None, 'identified_by': 'auto', 'allow_seasonless': False}]
2018-01-30 11:57 DEBUG    parser_guessit move-series     Parsing result: <GuessitParsedSerie(name=Chicago Med,id=20,season=2,episode=20,quality=unknown,proper=0,status=OK)> (in 57.078999999987445 ms)
2018-01-30 11:57 DEBUG    parser        move-series     NAME SUCCESS: ^(?:(?:\[[^\[\]]*\])|(?:HD.720p?:)|(?:HD.1080p?:)|(?:HD.2160p?:))?(?:[^\w&]|_)*(Chicago(?:[^\w&]|_)*Med)(?:\b|_)(?:[^\w&]|_)* matched to Chicago Med S02E20 Generation Gap
2018-01-30 11:57 DEBUG    parser_guessit move-series     Parsing series: `Chicago Med S02E21 Deliver Us` [options: {'name': None, 'identified_by': 'auto', 'allow_seasonless': False}]
2018-01-30 11:57 DEBUG    parser_guessit move-series     Parsing result: <GuessitParsedSerie(name=Chicago Med (US),id=21,season=2,episode=21,quality=unknown,proper=0,status=OK)> (in 60.728999999980715 ms)
2018-01-30 11:57 DEBUG    parser        move-series     FAIL: name regexps ['^(?:(?:\\[[^\\[\\]]*\\])|(?:HD.720p?:)|(?:HD.1080p?:)|(?:HD.2160p?:))?(?:[^\\w&]|_)*(Chicago(?:[^\\w&]|_)*Med(?:[^\\w&]|_)*Us)(?:\\b|_)(?:[^\\w&]|_)*'] do not match Chicago Med S02E21 Deliver Us
2018-01-30 11:57 CRITICAL task          move-series     BUG: Unhandled error in plugin metainfo_series: Series flagged invalid
2018-01-30 11:57 CRITICAL manager       move-series     An unexpected crash has occurred. Writing crash report to /home/osmc/flexget/crash_report.2018.01.30.115722665595.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.12.0
2018-01-30 11:57 DEBUG    manager       move-series     Traceback:
Traceback (most recent call last):
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/task.py", line 486, in __run_plugin
    return method(*args, **kwargs)
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/plugins/metainfo/series.py", line 32, in on_task_metainfo
    self.guess_entry(entry)
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/plugins/metainfo/series.py", line 47, in guess_entry
    populate_entry_fields(entry, parsed, config)
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/plugins/filter/series.py", line 1302, in populate_entry_fields
    if parser.identifier:
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/plugins/parsers/parser_common.py", line 546, in identifier
    return self.identifiers[0]
  File "/home/osmc/flexget/lib/python3.5/site-packages/flexget/plugins/parsers/parser_common.py", line 531, in identifiers
    raise Exception('Series flagged invalid')
Exception: Series flagged invalid
2018-01-30 11:57 WARNING  task          move-series     Aborting task (plugin: metainfo_series)
2018-01-30 11:57 DEBUG    backlog       move-series     Remembering all entries to backlog because of task abort.
2018-01-30 11:57 DEBUG    backlog       move-series     Saving Chicago Med S02E20 Generation Gap
2018-01-30 11:57 DEBUG    backlog       move-series     Saving Chicago Med S02E21 Deliver Us
2018-01-30 11:57 DEBUG    backlog       move-series     Saving Chicago Med S02E22 White Butterflies
2018-01-30 11:57 DEBUG    backlog       move-series     Saving Chicago Med S02E23 Love Hurts
2018-01-30 11:57 DEBUG    disable       move-series     Re-enabled builtin plugin(s): seen, seen_info_hash, retry_failed

Even when I add 720p to the filename it fails:

2018-01-30 12:19 DEBUG    parser_guessit move-series     Parsing series: `Chicago Med S02E20 Generation Gap - 720p` [options: {'name': None, 'identified_by': 'auto', 'allow_seasonless': False}]
2018-01-30 12:19 DEBUG    parser_guessit move-series     Parsing result: <GuessitParsedSerie(name=Chicago Med,id=20,season=2,episode=20,quality=720p,proper=0,status=OK)> (in 65.42100000001483 ms)
2018-01-30 12:19 DEBUG    parser        move-series     NAME SUCCESS: ^(?:(?:\[[^\[\]]*\])|(?:HD.720p?:)|(?:HD.1080p?:)|(?:HD.2160p?:))?(?:[^\w&]|_)*(Chicago(?:[^\w&]|_)*Med)(?:\b|_)(?:[^\w&]|_)* matched to Chicago Med S02E20 Generation Gap - 720p
2018-01-30 12:19 DEBUG    parser_guessit move-series     Parsing series: `Chicago Med S02E21 Deliver Us - 720p` [options: {'name': None, 'identified_by': 'auto', 'allow_seasonless': False}]
2018-01-30 12:19 DEBUG    parser_guessit move-series     Parsing result: <GuessitParsedSerie(name=Chicago Med (US),id=21,season=2,episode=21,quality=720p,proper=0,status=OK)> (in 70.03700000001345 ms)
2018-01-30 12:19 DEBUG    parser        move-series     FAIL: name regexps ['^(?:(?:\\[[^\\[\\]]*\\])|(?:HD.720p?:)|(?:HD.1080p?:)|(?:HD.2160p?:))?(?:[^\\w&]|_)*(Chicago(?:[^\\w&]|_)*Med(?:[^\\w&]|_)*Us)(?:\\b|_)(?:[^\\w&]|_)*'] do not match Chicago Med S02E21 Deliver Us - 720p
2018-01-30 12:19 CRITICAL task          move-series     BUG: Unhandled error in plugin metainfo_series: Series flagged invalid

Posts: 2

Participants: 1

Read full topic

Organizing tasks across files

$
0
0

@amoe wrote:

Hi, hopefully a simple question, and I have read the documentation but I couldn't find any references to this:

Is there any way to split the configuration of a given flexget daemon across multiple YAML files?

I want to define my tasks in different files depending on the target site, etc, and reference these sub-files from the main file.

Thanks for any help.

Posts: 3

Participants: 2

Read full topic

Configuration file error

$
0
0

@ABel wrote:

Hello
I am a beginner with using flexget and everything related to it. I made my configuration tutorial as explained in the tutorial, but, it doesn't work.

qbittorrent:
    path: C:\Users\***\Downloads
    label: tv
    host: localhost
    port: 8080
    username: ***
    password: ****
tasks:
  seasonals:
    rss: https://nyaa.si/?page=rss&c=1_2&f=0
    series:
      - Black Clover:
        quality: 1080p
      - Yuru Camp:
        quality: 1080p
      - Grancrest Senki:
        quality: 1080p
      - Violet Evergarden:
        quality: 1080p
      - Mahoutsukai no Yome:
        quality: 1080p
  qbittorrent: yes

This is the error it shows:

2018-02-03 13:06 CRITICAL manager                       while parsing a block mapping in "<unicode string>", line 1, column 1: schedules: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 5, column 2: templates: ^
-------------------------------------------------------------------------------
 Malformed configuration file (check messages above). Common reasons:
-------------------------------------------------------------------------------
 o Indentation error
 o Missing : from end of the line
 o Non ASCII characters (use UTF8)
 o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}')
 Reason: expected <block end>, but found '<block mapping start>'
 Check configuration near line 0, column 0
 Check configuration near line 4, column 1
 Fault is almost always in one of these lines or previous ones
2018-02-03 13:06 CRITICAL manager                       Failed to load config file: Config file is not valid YAML
Could not start manager: Config file is not valid YAML

Posts: 1

Participants: 1

Read full topic

Xmpp notification not working ;/?

$
0
0

@tomatosmoothie wrote:

Xmpp notification does not work. Log file doe snot show any data.
Appreciate any help.

tasks:
  download:
    priority: 1
    rss: 'http://showrss.info/user/000.rss?magnets=true&namespaces=true&name=null&quality=null&re=null'
    all_series: yes
    deluge:
      path: 'C:\Downloads\temp'
      label: tvshows
    notify:
      entries:
        title: Downloading {{series_name}}
        message: Episode {{series_id}}
        via:
          - xmpp:
              sender: yomama@jabber.de
              password: yeahmama
              recipients: nomama@jabber.de

Posts: 1

Participants: 1

Read full topic

Synology chroot - start on reboot

$
0
0

@Jeppe_Lytter wrote:

Dear all.

I have installed flexget in a synology chroot debian enviroment. But i can't make Flexget start on reboot. Everything works fine i start it manually.

I have followed the linux guide to install inside virtualenv. The "container" is placed in /root/flexget.

In my crontab (the one inside chroot) i have typed the following

@reboot /root/flexget/bin/flexget daemon start -d

I can navigate to /root/flexget/bin/ and start with ./flexget daemon start -d
Then it runs fine.

What do i do wrong?
your help will be much appriciated.

Posts: 1

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live