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

How to generate HTML output using the 'Make HTML' plugin?

$
0
0

@curtwagner1984 wrote:

Hello.
I'm trying to figure out how to use make_html, to generate a html file with all accepted entries for one 'execute' phase of flexget.

Right now when I use make_html, it makes the html file for each accepted entry. For example, when if finds and accepts an entry for s01e01, it writes it to the html correctly, but when it finds and accepts s01e02 (In the same execute phase) it overwrites the previous entry in the html.

tasks:
  tv_show:
    series:
      - game of thrones:
          begin: S01E01
          quality: 1080p-2160p hdtv-bluray
    discover:
      what:
        - next_series_episodes: yes
      from:
        - piratebay: yes
    thetvdb_lookup: yes
    make_html:
      file: ~/.flexget/choose_downloads.html
      template: choose_downloads_templates.html

schedules:
  - tasks: tv_show
    interval:
      hours: 1

The desired output for this configuration is a HTML file that will contain all accepted 'Game Of Thrones' episodes, yet the output I'm getting is a HTML file with only one entry (the most recent).
Help will be appreciated.

Posts: 5

Participants: 2

Read full topic


Creating config through NAS jail

$
0
0

@Tauqer wrote:

Is it possible to creat the config file by creating it through the jail?
If yes, how?

thanks in advance

Posts: 1

Participants: 1

Read full topic

Private vs public clients

$
0
0

@Hardihood wrote:

Is there an easy way to do this without making two different tasks?

    tasks:
          sonarr-discover:
            discover:
              what:
                - next_sonarr_episodes:
                    base_url: 'http://localhost'
                    port: 1337
                    api_key: ''
                    include_ended: yes
                    only_monitored: yes
              from:
                 - foobar (using private client)
                 - helloworld (using public client)

Posts: 2

Participants: 2

Read full topic

content_filename default fields?

$
0
0

@Isaac_Christie wrote:

Im trying to get content_filename to rename the main file to simply title and year, and none of the other stuff like quality, source, codec, group. However I cant seem to find any default fields for movies. I know the default fields for series like "series_name", "series_season" etc. but not movies. my task is simple, it accepts everything from this rss feed (http://extratorrent.cc/rss.xml?type=search&search=hallmark+solar) i simply want to rename something like this "Loves Long Journey (2005) Hallmark 720p HDrip X264 Solar" to something like this "Loves.Long.Journey.2005.mp4". I'm not using any lookup plugins because hallmark movies are notoriously hard to lookup.

Posts: 7

Participants: 4

Read full topic

"seen: local" not working as expected

$
0
0

@Isaac_Christie wrote:

i have 2 task downloading the same series but at different qualities, (blindspot) i have set seen: local because i want the lower quality on the second task to still download even though the higher quality on first task has already been satisfied, however its not working this way. my entire config file can be found here: https://pastebin.com/t6zU3chF

the bit of the log file which matters:

2017-05-11 23:46 VERBOSE  task          tv1             ACCEPTED: `Blindspot.S02E21.Mom.1080p.WEB-DL.DD5.1.H264-KiMCHi[rartv]` by series plugin because quality wanted
2017-05-11 23:46 INFO     download      tv1             Downloading: Blindspot.S02E21.Mom.1080p.WEB-DL.DD5.1.H264-KiMCHi[rartv]
2017-05-11 23:46 VERBOSE  details       tv1             Summary - Accepted: 1 (Rejected: 7 Undecided: 17 Failed: 0)
2017-05-11 23:46 INFO     deluge        tv1             Connecting to daemon at localhost:58846..
2017-05-11 23:46 INFO     deluge        tv1             Connected to daemon at 127.0.0.1:58846..
2017-05-11 23:46 VERBOSE  deluge        tv1             Adding Blindspot.S02E21.Mom.1080p.WEB-DL.DD5.1.H264-KiMCHi[rartv] to deluge.
2017-05-11 23:46 INFO     deluge        tv1             Blindspot.S02E21.Mom.1080p.WEB-DL.DD5.1.H264-KiMCHi[rartv] successfully added to deluge.
2017-05-11 23:46 INFO     deluge        tv1             Connection lost to daemon at localhost:58846 reason: Connection was closed cleanly.
2017-05-12 00:06 VERBOSE  task          tv2             REJECTED: `Blindspot.S02E21.WEB-DL.x264-RARBG` by series plugin because worse quality than already downloaded.

as you can see from my config, i have set (at the bottom) for all the tv tasks:

seen:
  local: yes
  fields: [title, url]

but somehow the fact that the 1080p webdl was downloaded by task "tv1" is stopping task "tv2" from getting the sd webdl

Posts: 7

Participants: 2

Read full topic

Loosing the will to live.... Problem with config for series

$
0
0

@christophe_cluzel wrote:

Hi, I have been spending days trying to make something that look simple to work.

I have setup a Trakt list with some entries in TV show, E01 & 02 from S05 of Prison Break and E18 to 20 from Flash S03.

What I want is Flexget to download only the episode I put in my Watchlist in Trakt.

I have created what I think a very simple config but it keep refusing downloading anything.

Here is my config.yml :

templates:
  series:
    configure_series:
      settings:
        identified_by: ep
        quality: webdl|hdtv|webrip
        specials: no
        propers: no
      from:
        trakt_list:
          username: "{? trakt.account ?}"
          list: "{? trakt.series ?}"
          type: episodes
    accept_all: no
    set_series_begin: yes
    content_size:
      min: 350
  transmission-anchors:
    _transmission-settings: &transmission-settings
      host: "{? transmission.host ?}"
      port: 9091
      username: "{? transmission.user ?}"
      password: "{? transmission.pass ?}"
  transmission-series:
    transmission:
      <<: *transmission-settings
      main_file_only: yes
      include_subs: yes
      rename_like_files: yes
      content_filename: "{{tvdb_series_name|default(series_name)|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tv$
      path: "/{? folder.root ?}{? folder.downseries ?}{{tvdb_series_name|default(series_name)|pathscrub}}/"
tasks:
  download-series-rss:
    priority: 5
    template:
      - series
      - transmission-series
    inputs:
      - rss: https://eztv.wf/ezrss.xml
      - rss: http://extratorrent.cc/rss.xml?type=user&user=ettv
      - rss: http://showrss.info/user/137713.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
      - rss: http://extratorrent.cc/rss.xml?type=user&user=EtHD
  download_series_discover:
    priority : 6
    template:
      - series
      - transmission-series
    discover:
      what:
        - next_series_episodes:
            from_start: yes
      from:
        - extratorrent:
            category: all
      interval: 1 minutes

When I run the Discover task here is my output :

flexget execute --tasks download_series_discover 2017-05-13 21:10 VERBOSE task_queue There are 1 tasks to execute. Shutdown will commence when they have completed. 2017-05-13 21:10 VERBOSE input_cache download_series_discover Restored 9 entries from db cache 2017-05-13 21:10 VERBOSE discover download_series_discover Discovering 9 titles ... 2017-05-13 21:10 VERBOSE details download_series_discover Task didn't produce any entries. 2017-05-13 21:10 VERBOSE details download_series_discover Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)

When I run the rss here is the output :
`
flexget execute --tasks download-series-rss

2017-05-13 21:06 VERBOSE task_queue There are 1 tasks to execute. Shutdown will commence when they have completed.
2017-05-13 21:06 VERBOSE input_cache download-series-rss Restored 9 entries from db cache
2017-05-13 21:07 VERBOSE details download-series-rss Produced 152 entries.
2017-05-13 21:07 VERBOSE task download-series-rss REJECTED: Pokemon S20E03 DUBBED 720p HDTV x264-W4F by regexp plugin because regexp '\b(s|d)ub(s|bed|lado|titulado)?\b' matched field 'title'
2017-05-13 21:07 VERBOSE task download-series-rss REJECTED: Pokemon S20E03 DUBBED HDTV x264-W4F by regexp plugin because regexp '\b(s|d)ub(s|bed|lado|titulado)?\b' matched field 'title'
2017-05-13 21:07 VERBOSE details download-series-rss Summary - Accepted: 0 (Rejected: 2 Undecided: 150 Failed: 0)
`

I am loosing the will to live, what am I missing ?

As anyone a config that work and does what I am trying to achieve ?

Thanks

Posts: 1

Participants: 1

Read full topic

No multiple templates at once?

$
0
0

@hiru wrote:

Here's my config. What is wrong?

templates:
  FANSUBTEAM1:
    rss: URL
    series:
      - NAME1
      - NAME2
      - NAME3
      - NAME4
      - NAME5
      - NAME6
      - NAME7
  FANSUBTEAM2:
    rss: URL
    series:
      - NAME8

tasks:
  anime:
    template: FANSUBTEAM1, FANSUBTEAM2
    download: /custom/path/in/my/pc/
    transmission:
      host: localhost
      port: 9091
      username: MYUSERNAME
      password: MYPASSWORD

schedules:
  - tasks: 'anime'
    interval:
      minutes: 10

Posts: 3

Participants: 2

Read full topic

Flexget "turn off" in schedule mode when detached

$
0
0

@Mikkel_Petersen wrote:

Hi all. I am a customer with Feralhosting, and they are pretty unstable right now. I start up the daemon with "Flexget damon start -d" while being in my virtual enviroment. It stops working after 1-2 weeks. I think this is because feralhosting reboots it or something, that disrupts flexget.

So my problem is that my auto startup dosn't work probably, as it fails to start the daemon back up. This is what I have done:

In cron I added this line:

@reboot /media/partition/user/Flexget_boot

This redirects it to a script. The contents of the "Flexget_boot" script are:

#! /bin/bash
source /media/partition/user/virtualenv3/bin/activate
flexget daemon start -d

The script have full permissions ie. 777. When I run the script by itself (and I am not using sudo), then it start up flexget without problems.

As I see it, this start up should work. So other than reboot, what could cause a detached flexget daemon to stop after being used 1-2 weeks?

Posts: 1

Participants: 1

Read full topic


Prefere low resolution

$
0
0

@vwidmer wrote:

I am having a little trouble figuring out how to get low resolution first and if none then work up the resolutions to higher ones if any one has an example that would be great thanks.

Posts: 1

Participants: 1

Read full topic

Configuration for downloading all qualities

$
0
0

@Eyo40 wrote:

The trakt plugin use the series plugin for configuration but it select only the best quality. I want to download all qualities of the trakt watchlist shows. How can I do that ?

templates:
  TRANSMISSION:
    transmission:
      host: 127.0.0.1
      port: xxxx
      username: username
      password: pass

  tv-queue-request:
    configure_series:
      from:
        trakt_list:
          username: trakt_user
          list: watchlist
          type: shows

tasks:
  VO:
    inputs:
        - rss: link.rss
    template:
        - TRANSMISSION
        - tv-queue-request
    accept_all: no
    set:
        path: 'download/shows'

Posts: 1

Participants: 1

Read full topic

Failing at configure_series

$
0
0

@lolkats wrote:

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

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

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

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

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

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

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

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

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

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

tasks:

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

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

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

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

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

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

What am I missing?

Posts: 3

Participants: 2

Read full topic

Problem with next_trakt_episodes when watched episode has been released after the last collected one for some shows

$
0
0

@viking wrote:

I am using next_trakt_episodes with context: collected, since in most cases I first download an episode (or even few of them) and then watch it (them). In most cases, the latest episode I've downloaded has been released after the last episode I watched.

But I also watch some shows on VOD, HBO GO and similar services. I am using mobile app to check-in at Trakt and I usually do not download those shows. In most cases, situation is the opposite here, the latest episode I've watched has been released after the last episode I downloaded.

I know that I could just use context: watched and forget about this, since none of the already downloaded episodes would not be downloaded again, but I do not like the idea that I set wrong series begin from Trakt.

Is there any way to find out which episode is released later watched or collected one?

Yes I know that I could make separate list for those shows with different context.
Yes I know that I could mark latest watched episode as collected for show that I want to start downloading.
Yes I know that I could put this shows in series config and set beginning there.

Finding workaround is easy, but main idea for using Trakt list is to avoid setting the series in config and to be able to set a new show with a simple click.

Posts: 1

Participants: 1

Read full topic

Iptorrents state=undecided and "no entries are found"

$
0
0

@pluskal wrote:

Hi guys,

I`m having an issue lately that no series is download after I deleted database and recreated it again.

My configuration https://github.com/pluskal/flexget/blob/master/config.yml

  series:
    thetvdb_lookup: yes
    configure_series:
      from:
        entry_list: trakt-series
      settings:
        timeframe: 12 hours
        target:  1080p h265
        propers: 24 hours
        identified_by: ep
    content_size:
      min: 150
      max: 1400
    content_filter:
      require:
        - '*.mkv'

  transmission-series:
    transmission:
      <<: *transmission-settings
      addpaused: no
#      main_file_only: yes
      include_subs: yes
      rename_like_files: yes
      content_filename: "{% if tvdb_episode|default(False) and tvdb_ep_name|default(False) %}{{tvdb_series_name|pathscrub|re_replace(' \\([0-9]*\\)','')}} {{tvdb_season}}x{{tvdb_episode|pad(2)}} - {{tvdb_ep_name|pathscrub}}{% else %}{{title}}{% endif %}"
#      content_filename: "{{tvdb_series_name|default(series_name)|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"
      path: "/{? folder.root ?}{? folder.series ?}{{tvdb_series_name|default(series_name)|pathscrub}}/"

  download-series-discover:
    priority: 14
    template:
      - series
      - reject
      - torrents
      - transmission-series
      - pushbullet
    discover:
      release_estimations: ignore
      interval: 5 minutes
      what:
        - next_series_episodes: yes
      from:
        - iptorrents:
            rss_key: '{? iptorrents.rss_key ?}'
            uid: 1486500
            password: '{? iptorrents.password ?}'
            category:
              - TV-480p
              - TV-SD-x264
              - TV-Web-DL
              - TV-x264
              - 99 #TV-x265
              - TV-MP4

Debug log:

2017-05-24 18:51 VERBOSE  discover      download-series-discover Searching for `Arrow S05E21` with plugin `iptorrents` (30 of 32)
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover searching with url: https://iptorrents.com/t?78=&79=&22=&5=&99=&66=&q=Arrow+S05E21&qf=
2017-05-24 18:51 DEBUG    utils.requests download-series-discover Fetching URL https://iptorrents.com/t?78=&79=&22=&5=&99=&66=&q=Arrow+S05E21&qf= with args () and kwargs {'cookies': {u'uid': 'XXX', u'pass': u'XXX'}, u'allow_redirects': True, u'timeout': 30}
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 WEB-DL 1080p 10bit 5 1 x265 HEVC-Qman,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 480p x264-mSD,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 1080p WEB-DL x265-GunGravE,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 Honor Thy Fathers 1080p WEBRip DD5 1 x264,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 Honor Thy Fathers 720p WEBRip DD5 1 x264,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 1080p HEVC x265-MeGusta,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 1080p HDTV x264-CRAVERS,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 1080p WEB-DL DD5 1 H264-LiGaS,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 720p WEB-DL DD5 1 H264-LiGaS,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 WEB-DL XviD-FUM,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 WEB-DL x264-FUM,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 720p WEB-DL H264-FUM,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 720p WEB x264-FFN,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 720p HEVC x265-MeGusta,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 AAC MP4-Mobile,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 720p HDTV x264-SVA,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover Found entry <Entry(title=Arrow S05E21 HDTV x264-SVA,state=undecided)>
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover searching with url: https://iptorrents.com/t?78=&79=&22=&5=&99=&66=&q=Arrow+5x21&qf=
2017-05-24 18:51 DEBUG    utils.requests download-series-discover Fetching URL https://iptorrents.com/t?78=&79=&22=&5=&99=&66=&q=Arrow+5x21&qf= with args () and kwargs {'cookies': {u'uid': 'XXX', u'pass': u'XXX'}, u'allow_redirects': True, u'timeout': 30}
2017-05-24 18:51 DEBUG    iptorrents    download-series-discover No results found for search Arrow 5x21
2017-05-24 18:51 DEBUG    discover      download-series-discover No results from iptorrents
2017-05-24 18:51 VERBOSE  discover      download-series-discover No search results for `Arrow S05E21`
2017-05-24 18:51 DEBUG    series        download-series-discover no season packs found for series `Arrow` with parameters season: None, downloaded: True
2017-05-24 18:51 DEBUG    next_series_episodes download-series-discover Arrow S05E21 not found, rerunning to look for next season
2017-05-24 18:51 DEBUG    task          download-series-discover Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season

I do not understand why iptorrents plugins shows state=undecided and discover download-series-discover No search results for Arrow S05E21 when iptorrents find some entries.

Thanks in advance!

Posts: 2

Participants: 2

Read full topic

Help updating configuration file?

$
0
0

@matt1211 wrote:

Hi all. I recently updated flexget and ubuntu, as a result, my configuration file no longer works. I have checked it against the recipe I used as a base, however cannot seem to find any errors. I checked the lines it mentions, and can also find no problems. I'll paste a link in here to a copy of the file, I would really appreciate any help if you guys have suggestions.
https://www.dropbox.com/s/acdfwp06romjqqn/config.yml?dl=1
2017-05-22 22:34 WARNING check Config line 2 is likely missing ':' at the end
2017-05-22 22:34 VERBOSE check Pre-checked 68 configuration lines
2017-05-22 22:34 CRITICAL manager while scanning a quoted scalar in "", line 15, column 11: - '2 broke girls ^ found unexpected end of stream in "", line 69, column 1: ^


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: found unexpected end of stream

Check configuration near line 14, column 10
Check configuration near line 68, column 0

Fault is almost always in one of these lines

I have looked at and around the lines mentioned, and cannot find any issues.
Thank you in advance to everyone who takes a look at this, I really appreciate it :slight_smile:

Posts: 7

Participants: 4

Read full topic

Telegram only showing "Notification body."

$
0
0

@Alexander_Berg wrote:

Not sure where I did a mistake. Everything was working. Then I bought a new machine, copied the config.

Everything works, and no errors in log. But telegram notifies me with "Notification body." instead of naming the actual series which is being downloaded.

My config file

tasks:
  tv:
    rss:
      url: xx
    configure_series:
      from:
        trakt_list:
          username: xx
          list: series
          type: shows
      settings:
        quality: 720p+
    download:
      path: D:\torrents
      overwrite: yes
    qbittorrent:
      path: D:\Download
      label: tv
      host: localhost
      port: 8080
    series_premiere: yes

    notify:
      entries:
        title: 'flexget  {{task}}'
        message: |+
          {%endif%}
          {% if series_name is defined -%}
          *{{series_name}}* - {{series_id}} - {{quality|d('')}}
          *{{tvmaze_episode_name|d(tvdb_ep_name)|d('')}}*
          [Image]({{tvmaze_series_original_image|replace("_", "%5F")}})
          [Show page]({{tvmaze_series_url|replace("_", "%5F")}})
          {% elif imdb_name is defined -%}
          *{{imdb_name}}* - ({{imdb_year}})
          {{quality|d('')}}
          {{imdb_score}}/10 - {{imdb_votes}} votes
          {{imdb_genres|join(', ')|title}}
          *Plot:* {{imdb_plot_outline}}
          [Image]({{tmdb_posters[0]|replace("_", "%5F")}})
          [Movie Page]({{imdb_url|d('')}})
          {% else -%}
          {{title}}
          {%- endif -%}
        via:
          - telegram:
              bot_token: xx
              parse_mode: markdown
              recipients:
                - username: xx
  get-subtitles:
    filesystem:
      path:
        - D:\Media\TV Shows
        - D:\Media\Movies
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    seen: local
    subliminal:
      languages:
        - nor
      alternatives:
        - eng
      exact_match: yes
      providers: [addic7ed, opensubtitles, tvsubtitles]
      single: no
      hearing_impaired: yes
      authentication:
        addic7ed:
          username: xx
          password: xx
        opensubtitles:
          username:xx
          password:xx
schedules:
  - tasks: tv
    schedule:
      hour: 05-10
      minute: "*/15"
  - tasks: get-subtitles
    interval:
      days: 1

I've tried to change the telegram plugin, but it remains the same.

I used to have

    notify:
      entries:
        message: Notification body.
        via:
          - telegram:
              bot_token: xx
              parse_mode: markdown
              recipients:
                - username:xx

before I change to change it. But no matter what I changed, it only sends me "Notification body."

Does anyone have an idea? Am I being really stupid and missing something?

Posts: 1

Participants: 1

Read full topic


Discover plugin not respecting sort order

$
0
0

@TopGrunt wrote:

Hi All,

Seeing some unexpected behaviour with ordering in the discover plugin and was hoping someone could point me in the right direction. Specifically, I am trying to order search results by seeders but the plugin is not downloading the entry with the highest seeders.

Relevant config (tried this with and without sort_by: torrent_seeds and got same results):

templates:
  movie_qualities:
    quality: 1080p bluray
    content_size:
      max: 20480

  lookup:
    imdb_lookup: yes
    trakt_lookup:
      account: '{? trakt.account ?}'

  local_seen:
    seen: local
    seen_movies:
      scope: local
tasks:
  download_movie_queue:
    priority: 10
    template:
      - out
      - local_seen
      - movie_qualities
      - lookup
    discover:
      what:
        - movie_list:
            list_name: queued_movies
            strip_year: yes
      from:
        - alpharatio:
            username: '{? ar.uname ?}'
            password: '{? ar.password ?}'
            category: moviehd
            order_by: seeders
    sort_by: torrent_seeds
    list_match:
      from:
        - movie_list: queued_movies

Here in the logs can be seen that the entries are being created in the correct order with the correct number of seeders:

2017-05-28 13:11 DEBUG    utils.requests download_movie_queue Fetching URL https://alpharatio.cc/torrents.php with args () and kwargs {'cookies': {u'session': <REDACTED>'}, 'params': {u'searchstr': u'<MOVIE_NAME>', u'filter_cat[7]': 1, u'freele
ech': 0, u'order_way': u'desc', u'search_submit': 1, u'action': u'basic', u'order_by': u'seeders'}, 'allow_redirects': True, u'timeout': 30}
2017-05-28 13:11 DEBUG    alpharatio    download_movie_queue requesting: https://alpharatio.cc/torrents.php?searchstr=<MOVIE_NAME>&filter_cat%5B7%5D=1&freeleech=0&order_way=desc&search_submit=1&action
=basic&order_by=seeders
2017-05-28 13:11 DEBUG    alpharatio    download_movie_queue AlphaRatio size: 8.38 GB
2017-05-28 13:11 TRACE    entry         download_movie_queue ENTRY SET: title = u'<TORRENT_WITH_5_SEEDERS>'
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 TRACE    entry         download_movie_queue ENTRY SET: torrent_seeds = 5
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 DEBUG    alpharatio    download_movie_queue AlphaRatio size: 11.15 GB
2017-05-28 13:11 TRACE    entry         download_movie_queue ENTRY SET: title = u'<TORRENT_WITH_1_SEEDER>'
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 TRACE    entry         download_movie_queue ENTRY SET: torrent_seeds = 1
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 VERBOSE  details       download_movie_queue Produced 2 entries.

But lower down, the one with the lower seeders is being processed first (looks like alphabetical ordering?) and the one with the higher seeders is being left in the undecided state:

2017-05-28 13:11 DEBUG    content_size  download_movie_queue <TORRENT_WITH_1_SEEDER> size 10633.4686279 MB
2017-05-28 13:11 DEBUG    content_size  download_movie_queue <TORRENT_WITH_5_SEEDERS> size 7991.79077148 MB
2017-05-28 13:11 DEBUG    sort_by       download_movie_queue sorting entries by: torrent_seeds
2017-05-28 13:11 DEBUG    api_trakt     download_movie_queue Found <TORRENT_WITH_1_SEEDER> in previous search results as <MOVIE_NAME>
2017-05-28 13:11 DEBUG    api_trakt     download_movie_queue movie `<MOVIE_NAME>` age 14 expires in 72 days
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 VERBOSE  task          download_movie_queue ACCEPTED: <TORRENT_WITH_1_SEEDER>` by list_match plugin
2017-05-28 13:11 DEBUG    api_trakt     download_movie_queue Found <TORRENT_WITH_5_SEEDERS> in previous search results as <MOVIE_NAME>
2017-05-28 13:11 DEBUG    api_trakt     download_movie_queue movie `<MOVIE_NAME>` age 14 expires in 72 days
-------------------------------- SNIP ---------------------------------
2017-05-28 13:11 INFO     download      download_movie_queue Downloading: <TORRENT WITH 1 SEEDER>

Thanks in advance for any help!

Posts: 1

Participants: 1

Read full topic

Flexget + rutracker.org + telegram

$
0
0

@maltsev.v.v wrote:

Help with config.yml for tasks: rutracker.org, what information would you take with tvdb.com. With Lostfilm, everything is OK.
Last notification in the screenshot from rutracker
The name of the file in Russian, in the file rutracker.csv
My config.yml.

    schedules:
      - tasks: '*'
        interval:
          minutes: 30
    variables: variables.yml
    templates:

      tvshows:
        deluge: yes
        thetvdb_lookup: yes
        tmdb_lookup: yes
        metainfo_series: yes
        set:
          path: /media/Multimedia/TV Shows/{{series_name}}/Season {{series_season}}
          removeatratio: 3

        notify:
          entries:
            message: |+
              *{{task}}*
              [{{series_name}}]({{tvdb_banner|replace("_", "%5F")}})
              Сезон {{series_season}} Серия {{series_episode}}
            via:
              - telegram:
                 bot_token: '{? telegram.bot_token ?}'
                 parse_mode: markdown
                 recipients:
                   - username: '{? telegram.username ?}'

    tasks:

      Lostfilm:
        template:
          - tvshows
        headers:
          cookie: 'lf_session={? lostfilm.cookie ?}'
        lostfilm: yes
        include: series_lostfilm.yml

      rutracker.org:
        template:
          - tvshows
        rutracker_auth:
          username: '**********'
          password: '***********'
        urlrewrite:
          rutracker:
            regexp: '^(?P<id>\d+)$'
            format: 'http://rutracker.org/forum/viewtopic.php?t=\g<id>'

home/kodi/.flexget/ruracker.csv
5406275, Полицейский с Рублёвки

Telegram notification Rutracker


The last task are rutracker

My log

csv:
  url: file:///home/kodi/.flexget/rutracker.csv
  values:
    title: 2
    url: 1
    imdb_name: 2
thetvdb_lookup: yes
imdb_lookup: yes
accept_all: yes
disable:
  - seen_info_hash

How to correctly point to thetvdb.com

Posts: 2

Participants: 2

Read full topic

Trakt + usenet (nzbget)

$
0
0

@vwidmer wrote:

My ISP blocks torrents so I have setup config to use usenet.

Here is my config: https://pastebin.com/Nfg4pSqc

Some issues I am having are:

  1. It seems if I do not run the task to seed the tv db then no series will get downloaded.
  2. When I do run it it seems it will not look for new series that I add to the trakt list.
  3. I dont have massive amounts of hard drive space and a relativly slow connection so would like to get the lower qaulity options first like 380 / 480 etc..
  4. I would like to get a movie soon as it comes out but would like to replace it with a proper dvd rip or the like once it becomes availible.

If some one can help me with any of the above I would greatly apreciated it.
Thanks.

Posts: 1

Participants: 1

Read full topic

Problem my with imdb and my movie config

$
0
0

@steve51184 wrote:

Hi I'm getting this error on my movie config:

2017-03-21 12:50 WARNING input_cache queue_from_imdb Input imdb_watchlist did not return a list, cannot cache.2017-03-21 12:50 WARNING details queue_from_imdb Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.

This is my config:

tasks:
queue_from_imdb:
imdb_watchlist:
user_id: [removed]
list: watchlist
accept_all: yes
list_add:
- movie_list: HD-Movies
HD-Movies:
rss:
url: [removed]
silent: yes
quality: 720p dvdscr+
seen_movies: loose
list_match:
from:
- movie_list: HD-Movies
content_size:
min: 2000
max: 8000
strict: no
download:
path: /home/[removed]/rtorrent/.watch
overwrite: yes
fail_html: no
pushbullet:
apikey: [removed]
device: [removed]
title: "Movie: {{title}}"

Any help would be great thanks

On Linux Debian 7, Flexget version: 2.6.0

Posts: 1

Participants: 1

Read full topic

Select only first of multiple alternative links

$
0
0

@avalloneandrea wrote:

I'm trying to create a task which extracts all the ad.fly links out of a web page (and produce a crawljob for JDownloader).
This is what I was able to achieve so far:

tasks:
  Berserk:
    html:
      url: http://redanimedatabase.forumcommunity.net/?t=59599528
      links_re: [adf.ly,shrink]
    accept_all:
      yes
    exec:
      - echo text={{url}} >> /media/flash/jdownloader/{{title}}.crawljob
      - echo downloadFolder=/media/flash/berserk/ >> /media/flash/jdownloader/{{title}}.crawljob
      - echo autoConfirm=true >> /media/flash/jdownloader/{{title}}.crawljob

However, the above web page shows four alternative links for each episode (download 1, download 2, streaming 1, streaming 2), and I need only the first of them.
How can I create such a filter?

EDIT: also, I had to wrote three times the /media/flash/jdownloader/{{title}}.crawljob part. Is there a way to assign that string to a constant and let flexget do the replacements?

Posts: 1

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live