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

configure_series quality being ignored

$
0
0

@kjp4756 wrote:

I'm having a hard time getting flexget to download the quality I want. It's grabbing 720p no matter what I set. Any ideas on this? It's got to be something simple.

2017-07-16 14:10 VERBOSE task get-tv ACCEPTED:Power S04E04 720p HDTV x264-FLEETby series plugin because target quality

templates:
  sonarr-tv:
    thetvdb_lookup: yes
    deluge:
      label: tv-sonarr
      content_filename: "{{ series_name|replace(' ','.') }}.{{ series_id }}.{{ quality|upper }}{% if proper %}-PROPER{% endif %}"
      magnetization_timeout: 30
    exists_series: '/media/TV/{{series_name}}'
tasks:
  get-tv:
    template: sonarr-tv
    configure_series:
      from:
        sonarr_list:
          base_url: http://127.0.0.1
          port: 8989
          api_key: [removed]
          include_ended: false
          only_monitored: true
      settings:
        quality: webrip+ <720p h264
    inputs:
      - rss:
          url: https://eztv.ag/ezrss.xml
          link: 'torrent:magnetURI'
      - rss: https://rarbg.to/rssdd.php?category=1;18;41;49
schedules:
  - tasks: '*'
    interval:
      minutes: 15

Posts: 6

Participants: 3

Read full topic


2 Set begin problems: sequence and strip_date

$
0
0

@ZileXa wrote:

1.
Most series work fine setting the beginning episode via a next episodes task using trakt watched status, but 3 of my 41 series do not. For example the series Mom:

2017-07-17 10:07 VERBOSE  task  sync-trakt-nextep ACCEPTED: `Mom S04E09` by accept_all plugin
2017-07-17 10:07 ERROR    set_series_begin sync-trakt-nextep An error occurred trying to set begin for Mom: `begin` value `S04E09` does not match identifier type for identified_by `sequence`
2017-07-17 10:07 INFO     set_series_begin sync-trakt-nextep First episode for "Mom" set to S04E09
2017-07-17 10:07 VERBOSE  next_series_episodes download-series-discover Series `Mom` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit

Of my 41 series, only 3 fail just like Mom. I have no clue why?

2.
The second type of series fail and I do understand why, but I do not know how to solve it!
These are series that require "title (year)" in the name. Otherwise Discover/Search will complain about beginning has not been set for "The Librarians (2014).

2017-07-17 10:07 VERBOSE  task  sync-trakt-nextep ACCEPTED: `The Librarians S03E06` by accept_all plugin
2017-07-17 10:07 INFO     set_series_begin sync-trakt-nextep First episode for "The Librarians" set to S03E06
2017-07-17 10:07 VERBOSE  next_series_episodes download-series-discover Series `The Librarians (2014)` has no history. Set begin option, or use CLI `series begin` subcommand to set first episode to emit

How can Flexget distinguish series that require (year) versus series that do not require year, and set begin for those without stripping the date? Because if I remove strip_date from my setbegin task, then all other series will have a similar issue, since discover will search for NCIS (without set begin) instead of NCIS (2003) (with set begin).

Posts: 2

Participants: 2

Read full topic

Factoring out common lines

$
0
0

@i-love-coding wrote:

Hi, I have a simple question for which haven't found yet the solution (I've been reading the FM but still...)

I have a config.yml like:

variables: variables.yml

templates:
  movies:
    transmission:
      host: localhost
      port: 9091
      username: USERNAME_HERE
      password: PASSWORD_HERE
      path: SOME_PATH
      include_subs: yes
      addpaused: no
      enabled: Yes

tasks:

  get720:
    rss: RSS_FEED_1
    accept_all: yes
    template: movies
    imdb_lookup: yes
    set:
      path: STORAGE_PATH_1
      content_filename: "{{ title|replace(' ','.') }}"
    exec:
      on_output:
        for_accepted:
          - echo 'Synopsis | {{ imdb_plot_outline }}' >> STORAGE_PATH_1/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_2 | {{ imdb_ITEM_2 }}' >> STORAGE_PATH_1/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_3 | {{ imdb_ITEM_3 }}' >> STORAGE_PATH_1/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_4 | {{ imdb_ITEM_4 }}' >> STORAGE_PATH_1/{{ title|replace(' ','.') }}.nfo
					...
          - echo 'ITEM_N | {{ imdb_ITEM_N }}' >> STORAGE_PATH_1/{{ title|replace(' ','.') }}.nfo

  get1080:
    rss: RSS_FEED_2
    accept_all: yes
    template: movies
    imdb_lookup: yes
    set:
      path: STORAGE_PATH_2
      content_filename: "{{ title|replace(' ','.') }}"
    exec:
      on_output:
        for_accepted:
          - echo 'Synopsis | {{ imdb_plot_outline }}' >> STORAGE_PATH_2/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_2 | {{ imdb_ITEM_2 }}' >> STORAGE_PATH_2/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_3 | {{ imdb_ITEM_3 }}' >> STORAGE_PATH_2/{{ title|replace(' ','.') }}.nfo
          - echo 'ITEM_4 | {{ imdb_ITEM_4 }}' >> STORAGE_PATH_2/{{ title|replace(' ','.') }}.nfo
					...
          - echo 'ITEM_N | {{ imdb_ITEM_N }}' >> STORAGE_PATH_2/{{ title|replace(' ','.') }}.nfo

there are more tasks, and for each one the exec section is always the same, except for the STORAGE_PATH which varies...

So question is if there is a way to write the exec part just once, and have jinja2 or anything taking care of the difference

The ideal solution would be to parameterize it like a function, each section accepting a different STORAGE_PATH, but I know it isn't possible to parameterize a block of config lines (however something similar to that is what I'm looking for, no matter how it's achived)

This way if I introduce a change in the exec part I won't have to change every one of them which is prone to errors and tedious for several tasks

Thanks in advance !

Posts: 4

Participants: 2

Read full topic

Problems with RARBG

$
0
0

@MemoryOverlord wrote:

A few months ago I had a working config that allowed me to auto-download everything matching my parameters from rarbg.to (specifically, all movies smaller than 2.75GB from this link: https://rarbg.to/rssdd.php?category=45).

After working for a month or two, all of a sudden it stopped working. Near as I can figure out, it has something to do with rarbg's use of cookies ... but I could be wrong. Has anybody been able to get transmission downloading from rarbg within the last 30 days?

Posts: 3

Participants: 2

Read full topic

Searching Sites In Scripts

Unenxpected html content & urlrewriter plugin

$
0
0

@Shr00m wrote:

I'm getting this error when downloading from a private RSS feed. I can copy/paste this URL in a browser and the torrent downloads without any login information so I know its not that.

(failure reason: Unexpected html content received fromhttp://example.org/torrents.php?action=download&authkey=&torrent_pass=&id=207102- maybe a login page?)

Let's call this URL "RSS URL"

If I get the download URL outside of the RSS feed from the main webpage its in this format:

https://example.org/torrents.php?action=download&id=207102&authkey=<MyAuthKey>&torrent_pass=<MyPass>

Let's call this URL "Web URL"

So, I'm trying to use the urlrewriter plugin to make "RSS URL" mimic "WEB URL". It appears the only changes that I need to do is:
1. Replace http with https
2. Move &id=207102 directly after action=download

I'm using the following template in my config file:

  rewrite:
    urlrewrite:
      sitename:
        regexp: 'http:\/\/example.org\/torrents.php\?action=download&authkey=(?P<authKey>\w+)&torrent_pass=(?P<torrent_pass>\w+)&id=(?P<id>\d+)'
        format: 'https:\/\/example.org\/torrents.php?action=download&id=\g<id>&authkey=\g<authKey>&torrent_pass=\g<torrent_pass>'

When I execute flexget I can see the following in the logs:
2017-07-24 16:53 DEBUG urlrewriter get_tv_all Checking 0 entries

Why isn't it matching? I've even validated it here: https://regex101.com/

Is there a better way to troubleshoot this?
Does anyone see what I'm doing wrong?

Thanks!

Posts: 1

Participants: 1

Read full topic

Converting URL to plaintext - Jdownloader 2

$
0
0

@Eric_Chan wrote:

Hi there, I'm new to Flexget and what I am trying to achieve is to convert URL to plaintext and then use Jdownloader to pick it up and download it. Here is my config file below:

tasks:
Test Task:
rss: LINK
regexp:
accept:
- The ABC
- XYZ

exec:
  - echo text={{url}} >> "C:\Users\USER\AppData\Local\JDownloader v2.0\folderwatch\{{title}}.crawljob"

Everything works except the issue when there is a hyphen in the title and Flexget turns it to a question mark and stops it from converting into text file or crawljob

Example error when I tried to execute the task:
ERROR exec Test TASK Unable to encode cmd echo "text=LINK" > "C:\Test_Flexget\TITLE ? July 25, 2017.crawljob" to cp850

Is there a way to remove the hyphen or replace it with something else?

Posts: 2

Participants: 1

Read full topic

Specify download folder for every TV-show?

$
0
0

@Calby1 wrote:

Hi,
I'm wondering if it's possible to specify where every TV-show should bee downloaded?
For example that Suits always 'll bee downloaded to \Suits\ and Ballers always 'll bee downloaded to \Ballers\

Here is my config:

templates:
  movies:
    regexp:
      reject:
        - internal
        - 3D
        - BRRip
        - BDRip
        - HDTS
        - DUBBED
        - SUBBED
    imdb_lookup: yes
    imdb:
      min_score: 5.0
      min_year: 2016
      reject_genres:
        - Documentary
        - Animation
    proper_movies: 24 hours
    quality: 1080p !dts !dtshd !truehd !remux !cam
    transmission:
      host: localhost
      port: 9396
      username: xxx
      password: 'xxxx'
      path: E:\Movies
#
  TV:
    regexp:
      reject:
        - internal
    series:
      settings:
        tv-list:
          upgrade: yes
          propers: 24 hours
          quality: 720p !webrip !webdl
      tv-list:
        - 'Silicon Valley'
        - Billions
        - Blindspot
        - 'Designated Survivor'
        - Fauda
        - Homeland
        - Lucifer
        - Mr Robot
        - Power
        - Quantico
        - 'Ray Donovan'
        - Scorpion
        - Shooter
        - Six
        - Suits
        - 'The Big Bang Theory'
        - 'The Blacklist'
        - 'The Last Ship'
        - 'The Originals'
        - 'Young Sheldon'
        - 'Game of Thrones'
        - Preacher
        - 'The Walking Dead'
        - 'Fear The Walking Dead'
        - 'Animal Kingdom'
        - Snowfall
        - 'High Maintenance'
        - Ballers
        - 'Strike Back'
        - Salvation
    transmission:
      host: localhost
      port: 9396
      username: xxx
      password: 'xxx'
      path: F:\TV-Shows
#
  TV-web:
    regexp:
      reject:
        - internal
    series:
      settings:
        tv-list:
          upgrade: yes
          propers: 24 hours
          quality: 720p !hdtv
      tv-list:
        - 'Orange Is the New Black'
        - 'House of Cards'
        - narcos
        - '13 Reasons Why'
        - Gypsy
        - 'The Punisher'
        - Ozark
    transmission:
      host: localhost
      port: 9396
      username: xxx
      password: 'xxx'
      path: F:\TV-Shows
tasks:
  DL-TV:
    priority: 1
    rss: https://www.torrentday.com/t.rss?download;7;u=2370569;tp=cd2a736c191fee8730927864928b2314
    verify_ssl_certificates: yes
    template: TV
  DL-TV-WEB:
    priority: 2
    rss: https://www.torrentday.com/t.rss?download;7;u=2370569;tp=cd2a736c191fee8730927864928b2314
    verify_ssl_certificates: yes
    template: TV-web
  DL-Movies:
    priority: 3
    rss: https://www.torrentday.com/t.rss?download;1;11;22;u=2370569;tp=cd2a736c191fee8730927864928b2314
    verify_ssl_certificates: yes
    template: movies
  series-decompress:
    priority: 4
    accept_all: yes
    seen: local
    no_entries_ok: yes
    filesystem:
      path: 'F:\TV-Shows'
      recursive: yes
      regexp: '.*\.(rar|r0+[01]|zip)$'
    archives: yes
    decompress:
      keep_dirs: yes
      to: 'F:\TV-Shows'
      regexp: '.*\.(mkv|avi|mp4|mpg|mov|m4v)$'
  movies-decompress:
    priority: 5
    accept_all: yes
    seen: local
    no_entries_ok: yes
    filesystem:
      path: 'E:\Movies'
      recursive: yes
      regexp: '.*\.(rar|r0+[01]|zip)$'
    archives: yes
    decompress:
      keep_dirs: yes
      to: 'E:\Nytt'
      regexp: '.*\.(mkv|avi|mp4|mpg|mov|m4v)$'
  new-decompress:
    priority: 6
    accept_all: yes
    seen: local
    no_entries_ok: yes
    filesystem:
      path: 'G:\Downloads\Torrent\New'
      recursive: yes
      regexp: '.*\.(rar|r0+[01]|zip)$'
    archives: yes
    decompress:
      keep_dirs: yes
      to: 'G:\Downloads\Torrent\New'
      regexp: '.*\.(mkv|avi|mp4|mpg|mov|m4v)$'
  cleanup:
    priority: 7
    clean_transmission:
      host: localhost
      port: 9396
      username: xxx
      password: ':xxxx*'
      finished_for: 36 hours

Posts: 1

Participants: 1

Read full topic


Running every minute with cron

$
0
0

@Mikkel_Petersen wrote:

Hey there. When i run flexget every minute with cron, sometimes it takes longer than one minute to do the task, and I get a cron email saying a flexget process is already running, and that it will run afterwords.

If I set cron to 2 minutes this does not happen.

My goal if to run it as often as possible. (Daemon does not work for this purpose it crashes). When cron it running every minute, I can see with "flexget status" that there is usually 1-2 minutes between the tasks running. When cron is at 2 minutes, there can be 3-4 minutes between tasks running.

My question is, can I run flexget every minute with cron, and safely ignore the messages about a flexget process already running, or will this build up, and create a problem?

Posts: 1

Participants: 1

Read full topic

Help guys, why all of my entries are undecided

$
0
0

@freebooze wrote:

Help guys, why all of my entries are undecided

here is the config file:

tasks:
  testen task:
    rss: https://dasdas.to/rssdd.php?category=44
    all_series: yes
    download: D:\deluge\torrents\

Here is the command lines:

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>flexget execute --dump
2017-07-28 20:44 VERBOSE  task_queue                    There are 1 tasks to exe
cute. Shutdown will commence when they have completed.
c:\python27\lib\site-packages\dateutil\parser.py:605: UnicodeWarning: Unicode eq
ual comparison failed to convert both arguments to Unicode - interpreting them a
s being unequal
  elif res.tzname and res.tzname in time.tzname:
2017-07-28 20:44 VERBOSE  details       testen task     Produced 25 entries.
2017-07-28 20:44 VERBOSE  details       testen task     Summary - Accepted: 0 (R
ejected: 0 Undecided: 25 Failed: 0)
-- Undecided: --------------------------
title            : Some.Movie.2006.1080p.BluRay.H264.AAC-RA
RBG
url              : https://sasdas.to/rss_rt.php?id=ibs1y6gjrh&m=d
original_url     : https://sasdas.to/rss_rt.php?id=ibs1y6gjrh&m=d
description      : Some.Movie.2006.1080p.BluRay.H264.AAC-RA
RBG
guid             : https://sasdas.to/rss_rt.php?id=ibs1y6gjrh&m=d
quality          : <LazyField - value will be determined when it is accessed>
rss_pubdate      : 2017-07-28 13:13:07
task             : testen task

<snipped by admin>

Posts: 3

Participants: 2

Read full topic

Path/move/rename series to \trakt_series_name\ folder

$
0
0

@ZileXa wrote:

The only way for Kodi to automatically recognize ALL episodes of every tv show, is if they are stored in a folder with the series name + the year. There are plenty of shows that will otherwise be recognized as an older tv show.

Since Trakt stores series name for every show with the (year), I thought I can use that (trakt_series_name) for Transmission download path and also for my move/rename task:

# TEMPLATES
##### Series metainfo mainly for move and update tasks#
  series-metainfo:
    metainfo_series: yes
    thetvdb_lookup: yes


  transmission-series:
    transmission:
      <<: *transmission-settings
      main_file_only: yes
      include_subs: yes
      rename_like_files: yes
      content_filename: "{{trakt_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 %}{% if release_group|default(False) %} - [{{release_group}}]{% endif %}"
      path: "/{? folder.root ?}{? folder.downseries ?}{{trakt_series_name|default(series_name)|pathscrub}}/"


# TASKS
# Move series
  move-series:
    priority: 21
    template:
      - disable-seen-retry
      - series-metainfo
    filesystem:
      path: "/{? folder.root ?}{? folder.downseries ?}"
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    require_field: trakt_series_name
    move:
      to: "/{? folder.root ?}{? folder.series ?}{{trakt_series_name|escape|replace('&#39;', '')|pathscrub}}/"
      rename: "{{trakt_series_name|escape|replace('&#39;', '')|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}{% if release_group|default(False) %} - [{{release_group}}]{% endif %}"
      along:
        extensions:
          - srt
          - sub
        subdirs:
          - Subs
      clean_source: 50
    kodi_library:
      action: scan
      category: video
      url: http://localhost
      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

Series are downloaded by creating a list in Flexget first, containing my Trakt series, then I use next_trakt_episodes to set the beginning of episodes. Then I use RSS and Discover to get the series. This all works flawlessly.

The problem:
When I actually need trakt_series_name to set the path, Transmission template falls back to series_name and my move task aborts because trakt_series_name is a required field and not available, log:

2017-07-30 01:00 CRITICAL plugin        move-series     Path value replacement `/media/ChilleTV/TVshows/{{trakt_series_name|escape|replace('&#39;', '')|pathscrub}}/` failed: (UndefinedError) 'trakt_series_name' is undefined
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `American Gods - S01E01 - The Bone Orchard - [hdtv h264](1)` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `Atlanta.S01E01.HDTV.x264-FLEET` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `Atlanta.S01E02.HDTV.x264-FLEET` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e01.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e02.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e03.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e04.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e05.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e06.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `big.little.lies.s01e07.bdrip.x264-demand` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `Chance - S01E01 - The Summer of Love - [webdl h264](1)` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `friends.with.better.lives.111.hdtv-lol` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `friends.with.better.lives.112.hdtv-lol` by require_field plugin because required field trakt_series_name is not present
2017-07-30 01:17 VERBOSE  task          move-series     REJECTED: `Great News - S01E01 - Pilot - [hdtv h264](1)` by require_field plugin because required field trakt_series_name is not present

How I can force Flexget to obtain trakt_series_name? There is plenty of information available because my download tasks also use tvmaze lookup, besides tvdb_lookup and trakt_lookup. Or is there another way to forcefully use series name + release year in Transmission download path and in my move task?

Posts: 3

Participants: 2

Read full topic

Prevent error on not existing path

$
0
0

@avalloneandrea wrote:

I often use a Deluge task for downloading a show from showRSS, and a Subliminal task for downloading the appropriate subtitles. The Subliminal task is the following:

subliminal:
  filesystem:
    path:
      - /media/hdd/Rick and Morty
    regexp: '.*\.(avi|mkv|mp4)$'
    recursive: yes
  accept_all: yes
  seen: local
  subliminal:
    languages:
      - ita

The above task throws this critical error: [/tasks/subliminal/filesystem/path/0] '/media/hdd/Rick and Morty' does not exist.
Actually, the directory do NOT exists, because it is created by Deluge when it starts downloading the first episode.
As a workaround, I'm creating by myself the directory, in order to silence the error...so I was wondering if there is a clever solution, e.g., say to the filesystem plugin to skip the non-existing directories.

Posts: 1

Participants: 1

Read full topic

Use configure_series settings OR next_series_episodes?

$
0
0

@Shr00m wrote:

Can somebody tell me the difference between these two configs? I'm basically trying to get all episodes from each entry in the "allepisodes" list.

    get_allepisodes:
        priority: 9
        trakt_lookup: yes
        exists_series: /Shared2/Media/TV/
        seen: local
       configure_series:
      settings:
        tracking: no
        begin: S01E01
        quality: 720p+
      from:
        entry_list: allepisodes

&

      get_allepisodes:
        priority: 9
        trakt_lookup: yes
        exists_series: /Shared2/Media/TV/
        seen: local
        configure_series:
          settings:
            quality: 720p+
          from:
            entry_list: allepisodes
        next_series_episodes:
          backfill: yes
          from_start: yes

Posts: 1

Participants: 1

Read full topic

More RARBG Problems

$
0
0

@MemoryOverlord wrote:

I have, HAD, a working movie config that downloaded everything in the Movies/x264/720 category of rarbg.to (https://rarbg.to/rssdd.php?category=45). Apparently, this has become a problem for rarbg, and this morning I received the following message:

Your ip 50.##.##.## downloaded over 500 torrents in the past 24 hours. We are sorry but this is pure flooding so you are limited to downloading only using magnets!

Obviously, RARBG's rss feed doesn't include the magnet link, however, the torrent's detail page does. Does anybody know how to pull the magnet link from the detail page?

My Movies.yml config

templates:
  global:
    regexp:
      reject:
        - XviD
        - HDTV
        - SUBBED
        - DUBBED
        - DOCU
        - JAPANESE
        - DTS
        - Cam
        - '.HC.' #
        - KORSUB
        - Sub
        - Dual Audio
        - Portuguese

  transmissionrpc:
    transmission:
      host: localhost
      port: 9093
      username: XXXXX
      password: XXXXX
      enabled: Yes
      path: ~/transmission/inbound/Movies/Raw

  movies:
    imdb_lookup: no
    regexp:
      reject:
        - XviD
    cookies:
      file: ~/.mozilla/firefox/91gqi2hx.default/cookies.sqlite
      type: firefox3
    headers:
      User-Agent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0"

tasks:

  Movies:
    rss: https://rarbg.to/rssdd.php?category=45
    priority: 1
    content_size:
      max: 2750
      min: 400
    regexp:
      accept_excluding:
        - '1080'
        - 'SUBBED'
        - 'DUBBED'
        - 'DOCU'
        - 'JAPANESE'
        - 'DTS'
    template:
      - movies
      - transmissionrpc
    imdb:
      min_year: 1979
      accept_languages:
        - english
      reject_genres:
        - news
        - reality-tv
        - musical
        - music
    exists_movie:
      path: /media/links/Movies_SD
      path: /media/links/MovieCollections
      type: files
    set:
      path: ~/transmission/inbound/Movies/Raw

Posts: 1

Participants: 1

Read full topic

How to properly escape this shell output

$
0
0

@i-love-coding wrote:

I have an (almost) working config file which outputs info (mostly from the imdb_lookup plugin) to a file, this is
the script:

variables: variables.yml

templates:
  movies:
    transmission:
      host: localhost
      port: __PORT__
      username: __TRANSMISSION_USERNAME__
      password: __TRANSMISSION_PASS__
      path: __PATH__
      include_subs: yes
      addpaused: no
    clean_transmission:
      host: localhost
      port: __PORT__
      username: __TRANSMISSION_USERNAME__
      password: __TRANSMISSION_PASS__
      #finished_for: 7 days
      enabled: Yes

tasks:

  _base1: &base1
    accept_all: yes
    template: movies
    imdb_lookup: yes
    set:
      content_filename: "{{ title|replace(' ','.') }}.{{ imdb_year }}"
    exec:
      auto_escape: yes
      on_output:
        for_accepted:
          - echo "title  {{ title|replace(' ','.') }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_plot_outline {{ imdb_plot_outline }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_actors {{ imdb_actors|replace("'", "\'") }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_directors {{ imdb_directors }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_genres {{ imdb_genres }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_score {{ imdb_score }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_id {{ imdb_id }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_url {{ imdb_url }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"
          - echo "imdb_photo {{ imdb_photo }}" >> "{{ info_path }}/{{ title|replace(' ','.') }}.{{ imdb_year }}.info.txt"

  get720:
    <<: *base1
    rss: __RSS1__
    set:
      path: __RSS1_PATH__
      info_path: __RSS1_INFO_PATH__

  get1080:
    <<: *base1
    rss: __RSS2__
    set:
      path: __RSS2_PATH__
      info_path: __RSS2_INFO_PATH__

Now, I've tried all approaches I could find to escape the echo lines but for some cases it fails (I can't properly escape some single or double quotes),
here are some of this issues, from the log:

2017-07-18 21:38 VERBOSE  exec          get720          Executing: echo "imdb_directors {u'nm0478286': u"John L'Ecuyer"}" >> "/storage3/flexget-test-downloads/720/info/__MOVIE_TITLE__.2015.info.txt"
2017-07-18 21:38 INFO     exec          get720          Stdout: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

2017-07-17 23:59 VERBOSE  exec          get1080         Executing: echo "imdb_plot_outline; The life story of one of Britain's most notorious bare-knuckle fighters, Lenny McLean, also known as "the Guv'nor."" >> "/storage3/flexget-test-downloads/1080/info/__MOVIE_TITLE__.2017.info.txt"
2017-07-17 23:59 INFO     exec          get1080         Stdout: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

2017-07-17 23:59 VERBOSE  exec          get1080         Executing: echo "imdb_actors; {u'nm5429086': u'Duan Sanderson', u'nm8401402': u'Shariff Earp', u'nm5480894': u'Ashton Sanders', u'nm6211068': u'Edson Jean', u'nm7747557': u'Rudi Goblen', u'nm1847117': u'Janelle Mon\xe1e', u'nm0991810': u'Mahershala Ali', u'nm7683380': u'Jaden Piner', u'nm8401407': u'Eddie Blanchard', u'nm8401406': u'Keomi Givens', u'nm8401405': u'Kamal Ani-Bellow', u'nm8401404': u"Herman 'Caheei McGloun", u'nm8401409': u'Patrick Decile', u'nm0365140': u'Naomie Harris', u'nm7683379': u'Alex R. Hibbert'}" >> "/storage3/flexget-test-downloads/1080/info/__MOVIE_TITLE__.2016.info.txt"
2017-07-17 23:59 INFO     exec          get1080         Stdout: /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

So far, those got confused by single quotes, but the next ones get confused by double quotes:

2017-07-17 23:59 VERBOSE  exec          get1080         Executing: echo "imdb_actors; {u'nm2110736': u'Victoria Staley', u'nm5390436': u'Sadie Robertson', u'nm5302034': u'Cory Chapman', u'nm3412582': u'Taylor Kalupa', u'nm5512177': u'David Errigo Jr.', u'nm4910117': u'Ben VanderMey', u'nm4558567': u'Masey McLain', u'nm4068476': u'Cameron McKendry', u'nm5652970': u'Emma Elle Roberts', u'nm3910031': u'Ben Davies', u'nm3239836': u'Mark Daugherty', u'nm0642198': u"Jennifer O'Neill", u'nm4009603': u'Justin Cone', u'nm1100853': u'Jaci Velasquez', u'nm3675178': u'Terri Minton'}" >> "/storage3/flexget-test-downloads/1080/info/I'm.Not.Ashamed.2016.UNKNOWN.info.txt"
2017-07-17 23:59 INFO     exec          get1080         Stdout: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file

2017-07-17 23:59 VERBOSE  exec          get1080         Executing: echo "imdb_plot_outline; Brandon Burlsworth is perhaps the greatest walk-on in the history of college football. Brandon had always dreamed of playing for the Arkansas Razorbacks, but was considered too short and too fat to play Division I. Undeterred, Brandon took a big risk and walked on in 1994. Written off by fellow teammates and coaches, Brandon displayed dogged determination in the face of staggering odds. An extremely devoted Christian, Brandon never cursed or drank. He was genuinely humble and low-key. He worked harder than anybody, on and off the field, becoming the first Razorback to earn a Bachelor's and Master's degree while still playing. The overly-fat kid who was once an embarrassment to his teammates and an annoyance to his coaches, ended up becoming the most respected player in the history of the program, changing the lives of all he touched. Eleven days after being drafted into the NFL, Brandon was tragically killed in a car accident, crushing all who knew him. Brandon was "too good to be ..." >> "/storage3/flexget-test-downloads/1080/info/Greater.2016.UNKNOWN.info.txt"
2017-07-17 23:59 INFO     exec          get1080         Stdout: /bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file

Beyond the auto_escape option (which is present in the above script) I've also tried with

{{ imdb_actors|escape }}

but still fails

If anyone can give me a clue on how to fix this it would be great, thanks in advance !

Posts: 1

Participants: 1

Read full topic


How to compare dates

$
0
0

@rcnorth wrote:

I am creating a task that will email a list of all Trakt series that have a collected of < 100%. To do this I am looking at the next episode for each show that I need to capture and checking that the date is < 5 days ago.

I am receiving the following error

Error occurred while evaluating statement `trakt_ep_first_aired < (now - timedelta(days=10))`. (can't compare datetime.datetime to NoneType)

Here is my task

##########################################################################
# checks Trakt to see which episodes have aired but haven't been collected
##########################################################################
  monitor_missing_episodes:
    disable: seen
    trakt_lookup: yes
    no_entries_ok: yes
    next_series_episodes: yes

    next_trakt_episodes:
      <<: *trakt-credentials
      list: 'Torrents'
      context: collected
      position: next

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

Posts: 1

Participants: 1

Read full topic

Multiple RSS feeds with quality timeframe and upgrade

$
0
0

@AndreasT wrote:

Hi all,

I currently see the following information in my log:

2017-08-07 17:22 INFO     series        TaskA             `SomeShow (2015)`: timeframe waiting for 11h:33min. Currently best is `SomeShow.S03E03.1080p.WEB.h264`.
2017-08-07 17:22 INFO     series        TaskB             `SomeShow (2015)`: timeframe waiting for 11h:33min. Currently best is `SomeShow.2015.S03E03.720p.HDTV.x264`.

I have two tasks, TaskA and TaskB, both monitoring two different RSS feeds.They share the same template configuration called 'tv' below;

templates:
  tv:
    configure_series:
      from:
        trakt_list:
          account: ###
          list: Current
          type: shows
      settings:
        upgrade: yes
        timeframe: 1 days
        target: 1080p hdtv-webdl h264+ dd5.1+
        quality: 720p-1080p webrip-webdl h264+
    deluge:
      path: ###
      movedone: ###
      queuetotop: yes

Isn't the "Currently best" release seen information stored for the TV show, thus shared by both of the tasks?

What would happen in this situation when the timeframe expires? Will whatever task that is triggered first download, and if it happens to be TaskB, when TaskA is triggered, it is going to detect it has a better release and download that as well since I have upgrade enabled? In conclusion downloading both episodes? If TaskA is triggered first, then only the 1080p release will be downloaded since its better than the one TaskB has I assume.

Is there a way to optimize this such that in the first scenario, if I'm right, only the best release from either source will be downloaded? How would I setup my config to-do that?

Posts: 2

Participants: 2

Read full topic

No email for failed entries

$
0
0

@avalloneandrea wrote:

I have a task, i.e., the subtitles search and download, which often fails because the subtitles in my language are usually available within hours or even days. In the meantime, I'd like to NOT receive a 1 failed entries / task did not produce any entries mail every hour or so: I'm only interested in the 1 new entries downloaded mail. Is it possible? How?

Posts: 1

Participants: 1

Read full topic

Why is flexget rerunning task?

$
0
0

@Isaac_Christie wrote:

I have recently created my config file to run as daemon with the irc bot for helping increase my buffer on my private tracker. I plan to run this config on my seedbox. The issue I am having is that I dont know why flexget keeps rerunning task when "content_size" is outside the max size set.

#------ private information
variables: secrets.yml

schedules: no

templates:
  movies:
    download: ~/flexget/torrents/
    imdb_lookup: yes
    imdb:
      min_score: 6.5
      min_votes: 5000
      min_year: 2016
      reject_genres:
        - documentary
      # accept_languages:
        # - english

irc:
  irc_tl:
    tracker_file: 'TorrentLeech.tracker'
    nickname: 'm0j0_bot2'
    nickserv_password: '{? irc.nickserv_password ?}'
    port: 7011
    rsskey: '{? irc.rsskey ?}'
    channels: ["#tlannounces"]
    task_re:
      # get_some:
        # - regexp: '(TV :: Episodes HD)|(Movies :: Bluray)|(Movies :: WEBRip)|(Movies :: BDRip)'
          # field: irc_category

      get_tv:
        - regexp: '(TV :: Episodes HD)|(TV :: Episodes)'
          field: irc_category

      get_movie_bluray_1080p:
        - regexp: '(Movies :: Bluray)'
          field: irc_category
      get_movie_bluray_720p:
        - regexp: '(Movies :: Bluray)'
          field: irc_category

      get_movie_bdrip_720p:
        - regexp: '(Movies :: BDRip)'
          field: irc_category
      get_movie_bdrip:
        - regexp: '(Movies :: BDRip)'
          field: irc_category

      get_movie_webdl_1080p:
        - regexp: '(Movies :: WEBRip)'
          field: irc_category
      get_movie_webdl_720p:
        - regexp: '(Movies :: WEBRip)'
          field: irc_category

      get_movie_hdrip:
        - regexp: '(Movies :: HDRip)'
          field: irc_category

tasks:
  # get_some:
    # manual: yes
    # accept_all: yes
    # download: C:/Users/Isaac/flexget/torrents/

  get_tv:
    manual: yes
    download: ~/flexget/torrents/
    metainfo_series: yes
    trakt_lookup:
      account: '{? trakt.usr ?}'
    thetvdb_lookup: yes
    configure_series:
      from:
        trakt_list:
          account: '{? trakt.usr ?}'
          list: '{? trakt.tv ?}'
          type: shows
      settings:
        identified_by: ep
        qualities:
          - hdtv 1080p h264
          - hdtv 720p h264
          - hdtv <720p h264
          - webdl 1080p h264
          - webdl 720p h264
          - webrip 1080p h264
          - webrip 720p h264
    reorder_quality:
      webrip:
        above: webdl
    if:
      - '"webrip" == quality.source and not ("AMZN" in title or "Amazon" in title or "NF" in title)': reject

  get_movie_bluray_1080p:
    seen: local
    manual: yes
    template: movies
    quality: bluray 1080p h264
    content_size:
      max: 10000
      min: 200

  get_movie_bluray_720p:
    seen: local
    manual: yes
    template: movies
    quality: bluray 720p h264
    content_size:
      max: 10000
      min: 200

  get_movie_bdrip_720p:
    seen: local
    manual: yes
    template: movies
    quality: bluray 720p h264
    content_size:
      max: 10000
      min: 200

  get_movie_bdrip:
    seen: local
    manual: yes
    template: movies
    quality: bluray <720p h264
    content_size:
      max: 10000
      min: 200

  get_movie_webdl_1080p:
    seen: local
    manual: yes
    template: movies
    quality: webdl 1080p h264
    content_size:
      max: 6000
      min: 200

  get_movie_webdl_720p:
    seen: local
    manual: yes
    template: movies
    quality: webdl 720p h264
    content_size:
      max: 6000
      min: 200

  get_movie_hdrip:
    seen: local
    manual: yes
    template: movies
    quality: hdrip h264
    content_size:
      max: 6000
      min: 200

Log File

2017-08-12 03:29 INFO     imdb          get_movie_bluray_720p Didn't accept `The Loved One` because of rule(s) min_votes (2741 < 5000), min_year (1965 < 2016)
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     content_size  get_movie_bluray_1080p Entry `Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT` too big, rejecting
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 04:14 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay x264 DTS-HD MA 7 1-FGT
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 04:14 INFO     task          get_movie_bluray_1080p Task has been re-run 5 times already, stopping for now
2017-08-12 04:56 INFO     imdb          get_movie_bluray_720p Didn't accept `Ronin` because of rule(s) min_year (1998 < 2016)
2017-08-12 04:56 INFO     imdb          get_movie_bluray_1080p Didn't accept `Don't Knock Twice` because of rule(s) min_score (5.2 < 6.5)
2017-08-12 09:00 INFO     download      get_tv          Downloading: Killjoys S03E07 720p HDTV x264-AVS
2017-08-12 09:01 INFO     download      get_tv          Downloading: Killjoys S03E07 HDTV x264-SVA
2017-08-12 09:52 INFO     imdb          get_movie_bluray_1080p Didn't accept `El Norte` because of rule(s) min_votes (4002 < 5000), min_year (1983 < 2016)
2017-08-12 09:57 WARNING  imdb_lookup   get_movie_bluray_720p IMDB lookup failed for The Journal of Diego Rodriguez Silva 1972 720p BluRay x264-SADPANDA
2017-08-12 09:57 INFO     imdb          get_movie_bluray_720p Skipping The Journal of Diego Rodriguez Silva 1972 720p BluRay x264-SADPANDA because of an error: Title `The Journal of Diego Rodriguez Silva 1972 720p BluRay x264-SADPANDA` lookup failed
2017-08-12 09:59 WARNING  imdb_lookup   get_movie_bluray_1080p IMDB lookup failed for The Journal of Diego Rodriguez Silva 1972 1080p BluRay x264-SADPANDA
2017-08-12 09:59 INFO     imdb          get_movie_bluray_1080p Skipping The Journal of Diego Rodriguez Silva 1972 1080p BluRay x264-SADPANDA because of an error: Title `The Journal of Diego Rodriguez Silva 1972 1080p BluRay x264-SADPANDA` lookup failed
2017-08-12 10:01 INFO     download      get_tv          Downloading: Dark Matter S03E11 HDTV x264-SVA
2017-08-12 10:01 INFO     download      get_tv          Downloading: Dark Matter S03E11 720p HDTV x264-AVS
2017-08-12 13:59 INFO     imdb          get_movie_bluray_720p Didn't accept `Kill Switch` because of rule(s) min_score (5.5 < 6.5), min_votes (3405 < 5000)
2017-08-12 15:20 INFO     download      get_tv          Downloading: Dark Matter S03E11 1080p WEB x264-TBS
2017-08-12 15:20 INFO     download      get_tv          Downloading: Killjoys S03E07 1080p WEB x264-TBS
2017-08-12 18:11 INFO     imdb          get_movie_bluray_1080p Didn't accept `Gimme Shelter` because of rule(s) min_year (1970 < 2016), reject_genres
2017-08-12 19:24 INFO     imdb          get_movie_bluray_1080p Didn't accept `Peppermint Soda` because of rule(s) min_votes (608 < 5000), min_year (1977 < 2016)
2017-08-12 19:36 INFO     imdb          get_movie_bluray_720p Didn't accept `Rififi` because of rule(s) min_year (1955 < 2016)
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     content_size  get_movie_bluray_1080p Entry `Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD` too big, rejecting
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Rerunning the task in case better resolution can be achieved.
2017-08-12 20:16 INFO     download      get_movie_bluray_1080p Downloading: Guardians of the Galaxy Vol 2 2017 1080p BluRay DTS x264-VietHD
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Plugin content_size has requested task to be ran again after execution has completed.
2017-08-12 20:16 INFO     task          get_movie_bluray_1080p Task has been re-run 5 times already, stopping for now
2017-08-12 21:24 INFO     imdb          get_movie_bluray_1080p Didn't accept `The Ones Below` because of rule(s) min_score (6.1 < 6.5), min_year (2015 < 2016)

Posts: 1

Participants: 1

Read full topic

Unable to run flexget first time

$
0
0

@anonimoaveces wrote:

Hi, I'm not a newbie at all but unfortunately I feel like it 'cause I don't get start flexget properly.

I follow a tutorial to install flexget, executing the following:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
sudo pip install flexget

So after copy a config.yml to .flexget folder, execute "flexget execute" and I got this message:

2017-08-15 01:22 INFO manager Database upgrade is required. Attempting now.
2017-08-15 01:22 ERROR schema Failed to upgrade database for plugin simple_persistence: value
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/db_schema.py", line 150, in upgrade_wrapper
new_ver = upgrade_func(current_ver, session)
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/simple_persistence.py", line 42, in upgrade
for row in session.execute(select([table.c.id, table.c.plugin, table.c.key, table.c.value])):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/_collections.py", line 212, in getattr
raise AttributeError(key)
AttributeError: value
2017-08-15 01:33 INFO manager Database upgrade is required. Attempting now.
2017-08-15 01:33 ERROR schema Failed to upgrade database for plugin simple_persistence: value
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/db_schema.py", line 150, in upgrade_wrapper
new_ver = upgrade_func(current_ver, session)
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/simple_persistence.py", line 42, in upgrade
for row in session.execute(select([table.c.id, table.c.plugin, table.c.key, table.c.value])):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/_collections.py", line 212, in getattr
raise AttributeError(key)
AttributeError: value

I tried several things, like reinstall from zero flexget, reset the database, reset the plugin simple_persistence but no-one solution worked :frowning:

My HW is a raspberry pi 2, and previous versions worked well but with this last version I couldn't execute it.

P.S. Python is 2.7 and Flexget 2.10.79

Posts: 2

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live