Quantcast
Channel: help - Forum - FlexGet
Viewing all 837 articles
Browse latest View live

Custom filed from XML field

$
0
0

@Chryses wrote:

Hi, I'm working with Jackett and I copy the rss from it, the list is XML and I've item like this:

<item>
  <title>Il Re Leone 2019 iTALiAN MD 720p HDTS R6 x264 iSTANCE mkv</title>
  <guid>https://.....org/index.php?page=torrent-details&amp;id=......</guid>
  <jackettindexer id="....">....</jackettindexer>
  <comments>https://.....org/index.php?page=torrent-details&amp;id=.......</comments>
  <pubDate>Fri, 23 Aug 2019 16:11:26 +0200</pubDate>
  <size>2952790016</size>
  <grabs>20</grabs>
  <description />
  <link>http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFpeFM4MVhBaE5mcmVqZHlqWXkxSUxFbGdJc1ZSU2pOLUc1cWxsVGJrUktEMWliS01HOW1sQm1INVJDUDlUZGpSTldPLVZmWVRwNi1MMVBFQ081VTk3TXN1X3diTi1wQ2Z1UzlRVXNpMHhaS1ZrMElaU2V5Y284dkhDVGtZcmM5eVJqQkowc05EU05Ra25La0hoT3hmV1dxSExLcUo2bUVXMW1DTkY3SEkzTEctVEw4Q1IxUjNaY0VkSnVjV3VjS3VoMWNBVFN2NUVyWnpxUEFFdWY3ajItRlFnTU52UVRmV09UMEZ1bUhZOFU2dFBWbzhlNERmMkx4c2NHWmFRN19zSEhHRm9Bc3BEc1QtOG5UWHZqN0x0aFN6RnFweDJXRnFxQ0ptTlFpWnluR2c&amp;file=Il+Re+Leone+2019+iTALiAN+MD+720p+HDTS+R6+x264+iSTANCE+mkv</link>
  <category>2030</category>
  <category>100029</category>
  <enclosure url="http://10.0.0.100:9117/dl/..../?jackett_apikey=....&amp;path=Q2ZESjhIOTlRbnNBaTlsTXBueG41dVNtYWFpeFM4MVhBaE5mcmVqZHlqWXkxSUxFbGdJc1ZSU2pOLUc1cWxsVGJrUktEMWliS01HOW1sQm1INVJDUDlUZGpSTldPLVZmWVRwNi1MMVBFQ081VTk3TXN1X3diTi1wQ2Z1UzlRVXNpMHhaS1ZrMElaU2V5Y284dkhDVGtZcmM5eVJqQkowc05EU05Ra25La0hoT3hmV1dxSExLcUo2bUVXMW1DTkY3SEkzTEctVEw4Q1IxUjNaY0VkSnVjV3VjS3VoMWNBVFN2NUVyWnpxUEFFdWY3ajItRlFnTU52UVRmV09UMEZ1bUhZOFU2dFBWbzhlNERmMkx4c2NHWmFRN19zSEhHRm9Bc3BEc1QtOG5UWHZqN0x0aFN6RnFweDJXRnFxQ0ptTlFpWnluR2c&amp;file=Il+Re+Leone+2019+iTALiAN+MD+720p+HDTS+R6+x264+iSTANCE+mkv" length="2952790016" type="application/x-bittorrent" />
  <torznab:attr name="category" value="2030" />
  <torznab:attr name="category" value="100029" />
  <torznab:attr name="seeders" value="10" />
  <torznab:attr name="peers" value="10" />
  <torznab:attr name="minimumratio" value="1" />
  <torznab:attr name="minimumseedtime" value="172800" />
  <torznab:attr name="downloadvolumefactor" value="0" />
  <torznab:attr name="uploadvolumefactor" value="1" />
</item>

I don't know if is possible, but I want to filter each items and accept only ones with custom torznap attr name downloadvolumefactor with value 0

I'm trying with regexpr

tasks:
  test:
    regexp:
      accept:
        - "downloadvolumefactor" value="0"
    rss: http://....../results/torznab/api?apikey=.......&t=search&cat=&q=
    download: /root/testflex

I also tried others way but without luck
Maybe I've to use another function but I can't get it working, or I get 0 results or I get error

What I do wrong?

Posts: 2

Participants: 1

Read full topic


Undecided Entries in Series

$
0
0

@Ridoli wrote:

Hello,

I'm currently struggling with series seasons but my taks returns undecided entries.

I found that I get accepted entries if I uncomment the list_match code from the task, but then it doesn't advance to the next season in the next run of the task, so series get stuck.

Does anyone knows if there is a way to know what the entry is missing to get accepted? or what is the error in my code so it works as expected?
I have a similar task that download episodes without any issue.

Thanks!

This is my config file:

templates:
global:
parsing:
movie: guessit
series: guessit
regexp:
reject:
- \bemporada\b: {from: title}
- \bsubt\b: {from: title}
- (s|d)ub(s|bed|lado)?\b: {from: title}
- \bH?D?TS\b: {from: title}
- \bVHS: {from: title}
- \b3-?D\b: {from: title}
- \btrailer\b: {from: title}
- \bscreener\b: {from: title}
- \b(hd)?cam(rip)?\b: {from: title}
- \bdual\baudio\b: {from: title}
- r3mnants: {from: title}
- sample
- italian
- chiniese
- french
- german
- rus
- dutch
- hindi
- ipod
content_filter:
require:
- '*.avi'
- '*.mkv'
- '*.mpg'
- '*.mp4'
reject:
- 'password.txt'
- '*.wmv'
- '*.sfv'
- '*.[sS]ample'
transmissionrpc:
torrent_alive: yes #number of seeders needed to accept
transmission:
host: localhost
port: 9091
username: '{? transmission.usr ?}'
password: '{? transmission.pwd ?}'
include_subs: yes

download-show-pack:
discover:
what:
- next_series_seasons: yes
from:
- rarbg:
category: [1, 18, 41, 49]

tasks:

get_series_packs:
priority: 7
torrent_alive: yes
configure_series:
from:
trakt_list:
username: '{? trakt.username ?}'
account: '{? trakt.account ?}'
list: backlog
type: shows
strip_dates: yes
settings:
season_packs: only
quality: 720p+ !h265
identified_by: ep

thetvdb_lookup: yes
# list_match:
  # from:
    # - trakt_list:
        # username: '{? trakt.username ?}'
        # account: '{? trakt.account ?}'
        # list: backlog
        # type: shows
  # remove_on_match: no
max_reruns: 1
content_size:
  min: 800
  max: 35000
set:
  path: /home/user2/Descargas/Series/ 
template:
  - transmissionrpc
  - download-show-pack

And the log, where i don't see any reason (name, Id, quality..) to not accept the entries.

2019-08-27 00:25 VERBOSE trakt_list get_series_packs Retrievingshowslistbacklog
2019-08-27 00:25 VERBOSE discover get_series_packs Discovering 2 titles ...
2019-08-27 00:25 INFO discover get_series_packs Ignoring interval because of --discover-now
2019-08-27 00:25 VERBOSE discover get_series_packs Searching for
The Sopranos S01with pluginrarbg(1 of 2)
2019-08-27 00:25 VERBOSE discover get_series_packs Searching for
The Sopranos S01E01with pluginrarbg(2 of 2)
2019-08-27 00:25 VERBOSE discover get_series_packs No search results for
The Sopranos S01E01
2019-08-27 00:25 VERBOSE details get_series_packs Produced 3 entries.
2019-08-27 00:25 VERBOSE content_size get_series_packs Entry
The.Sopranos.S01.1080p.BluRay.x264-MIXED[rartv]too big, rejecting
2019-08-27 00:25 VERBOSE task get_series_packs REJECTED:
The.Sopranos.S01.1080p.BluRay.x264-MIXED[rartv]` by content_size plugin because maximum size 35000 MB, got 54824.61818981171 MB
2019-08-27 00:25 VERBOSE details get_series_packs Summary - Accepted: 0 (Rejected: 1 Undecided: 2 Failed: 0)
-- Undecided: --------------------------
title : The.Sopranos.S01.BDRip.x264-ARCHiViST[rartv]
url : magnet:?xt=urn:btih:638edfb1466688e632bbe2be80aee7f5ef916c81&dn=The.Sopranos.S01.BDRip.x264-ARCHiViST%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
original_url : magnet:?xt=urn:btih:638edfb1466688e632bbe2be80aee7f5ef916c81&dn=The.Sopranos.S01.BDRip.x264-ARCHiViST%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
content_size : 6511.284327507019
discovered_from : The Sopranos S01
discovered_with : rarbg
imdb_id : tt0141842
imdb_url :
original_title : The.Sopranos.S01.BDRip.x264-ARCHiViST[rartv]
path : /home/usuario/Descargas/Series/
quality :
task : get_series_packs
torrent_info_hash: 638EDFB1466688E632BBE2BE80AEE7F5EF916C81
torrent_leeches : 3
torrent_seeds : 11
tvdb_actors :
tvdb_air_time :
tvdb_airs_day_of_week:
tvdb_banner :
tvdb_content_rating:
tvdb_first_air_date:
tvdb_genres :
tvdb_id : 75299
tvdb_language :
tvdb_network :
tvdb_overview :
tvdb_posters :
tvdb_rating :
tvdb_runtime :
tvdb_series_name :
tvdb_status :
tvdb_url :
tvrage_id : None
zap2it_id :

title : The.Sopranos.S01.720p.BluRay.x264-REWARD[rartv]
url : magnet:?xt=urn:btih:54b288709ceb9e4e378b520c6578ce20567d42d7&dn=The.Sopranos.S01.720p.BluRay.x264-REWARD%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
original_url : magnet:?xt=urn:btih:54b288709ceb9e4e378b520c6578ce20567d42d7&dn=The.Sopranos.S01.720p.BluRay.x264-REWARD%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
content_size : 30019.344180107117
discovered_from : The Sopranos S01
discovered_with : rarbg
imdb_id : tt0141842
imdb_url :
original_title : The.Sopranos.S01.720p.BluRay.x264-REWARD[rartv]
path : /home/usuario/Descargas/Series/
quality :
task : get_series_packs
torrent_info_hash: 54B288709CEB9E4E378B520C6578CE20567D42D7
torrent_leeches : 5
torrent_seeds : 6
tvdb_actors :
tvdb_air_time :
tvdb_airs_day_of_week:
tvdb_banner :
tvdb_content_rating:
tvdb_first_air_date:
tvdb_genres :
tvdb_id : 75299
tvdb_language :
tvdb_network :
tvdb_overview :
tvdb_posters :
tvdb_rating :
tvdb_runtime :
tvdb_series_name :
tvdb_status :
tvdb_url :
tvrage_id : None
zap2it_id :

-- Rejected: ---------------------------
title : The.Sopranos.S01.1080p.BluRay.x264-MIXED[rartv]
url : magnet:?xt=urn:btih:8f276e955f1330a2e2e9cec116f880e261daf279&dn=The.Sopranos.S01.1080p.BluRay.x264-MIXED%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
original_url : magnet:?xt=urn:btih:8f276e955f1330a2e2e9cec116f880e261daf279&dn=The.Sopranos.S01.1080p.BluRay.x264-MIXED%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710&tr=udp%3A%2F%2F9.rarbg.to%3A2710&tr=udp%3A%2F%2Fopen.demonii.com%3A1337%2Fannounce
content_size : 54824.61818981171
discovered_from : The Sopranos S01
discovered_with : rarbg
imdb_id : tt0141842
imdb_url :
original_title : The.Sopranos.S01.1080p.BluRay.x264-MIXED[rartv]
path : /home/usuario/Descargas/Series/
quality :
reason : maximum size 35000 MB, got 54824.61818981171 MB
rejected_by : content_size
task : get_series_packs
torrent_info_hash: 8F276E955F1330A2E2E9CEC116F880E261DAF279
torrent_leeches : 7
torrent_seeds : 6
tvdb_actors :
tvdb_air_time :
tvdb_airs_day_of_week:
tvdb_banner :
tvdb_content_rating:
tvdb_first_air_date:
tvdb_genres :
tvdb_id : 75299
tvdb_language :
tvdb_network :
tvdb_overview :
tvdb_posters :
tvdb_rating :
tvdb_runtime :
tvdb_series_name :
tvdb_status :
tvdb_url :
tvrage_id : None
zap2it_id :
`

Posts: 2

Participants: 1

Read full topic

Flexget with youtube-dl

$
0
0

@advokatb wrote:

Hi.
How can I integrate automatic downloading from youtube channel with flexget?

Here is my config

https://pastebin.com/Wi0jGXVH

I've found such code

feeds:
  drivetv:
    exec:
      auto_escape: yes
      on_output:
        for_accepted: "youtube-dl --max-quality 22 -o '%(upload_date)s-%(stitle)s-%(ext)s' {{url}}"
    rss:
      url: http://gdata.youtube.com/feeds/base/users/drive/uploads?alt=rss&v=2&orderby=published
    accept_all: yes

but can't make this work. It brokes my config.
Can anyone help please?
Thanks.

Posts: 1

Participants: 1

Read full topic

Build a FlexGet image for Docker on Synology is failing

$
0
0

@leetwanker wrote:

I'm following the instructions on this page for my Synology NAS.

$ id -u docker
1029

I make the Dockerfile and start.sh files, plug in my user id and the lastest version of flexget, run the command and get this:

$ sudo docker build --build-arg DOCKER_UID=1029 -t flexget:2.21.18 .
Password:
Sending build context to Docker daemon 5.632kB
Step 1/11 : FROM python:3.6-alpine
---> 35bb01a3d284
Step 2/11 : ARG DOCKER_UID
---> Using cache
---> dae7662feeaa
Step 3/11 : RUN adduser -D -u ${DOCKER_UID} flexget
---> Running in 8008051206ee
BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.

Usage: adduser [OPTIONS] USER [GROUP]

Create new user, or add USER to GROUP

-h DIR		Home directory
-g GECOS	GECOS field
-s SHELL	Login shell
-G GRP		Group
-S		Create a system user
-D		Don't assign a password
-H		Don't create home directory
-u UID		User id
-k SKEL		Skeleton directory (/etc/skel)

The command '/bin/sh -c adduser -D -u ${DOCKER_UID} flexget' returned a non-zero code: 1

And this is where I'm stuck.

Edit: If I hardcode the uid into the dockerfile and don't depend on the argument the rest of the build goes fine:

Successfully built sqlalchemy pyrss2gen markupsafe tzlocal rpyc aniso8601 babelfish flask-compress rebulk guessit future terminaltables colorclass feedparser zxcvbn-python pyyaml progressbar itsdangerous pynzb
Installing collected packages: chardet, plumbum, click, itsdangerous, werkzeug, markupsafe, jinja2, flask, flask-login, six, cheroot, python-dateutil, aniso8601, pytz, jsonschema, flask-restplus, flask-restful, sqlalchemy, urllib3, zipp, pyrss2gen, tzlocal, rpyc, beautifulsoup4, webencodings, importlib-metadata, path.py, tempora, portend, cherrypy, html5lib, babelfish, idna, flask-compress, certifi, requests, rebulk, guessit, apscheduler, future, terminaltables, colorclass, pyparsing, feedparser, zxcvbn-python, pyyaml, progressbar, pynzb, flask-cors, flexget
Successfully installed aniso8601-1.2.1 apscheduler-3.5.0 babelfish-0.5.5 beautifulsoup4-4.6.0 certifi-2017.4.17 chardet-3.0.3 cheroot-5.5.0 cherrypy-10.2.2 click-6.7 colorclass-2.2.0 feedparser-5.2.1 flask-1.0.2 flask-compress-1.4.0 flask-cors-3.0.2 flask-login-0.4.0 flask-restful-0.3.6 flask-restplus-0.10.1 flexget-2.21.18 future-0.16.0 guessit-3.0.3 html5lib-0.999999999 idna-2.5 importlib-metadata-0.8 itsdangerous-0.24 jinja2-2.10.1 jsonschema-2.6.0 markupsafe-1.0 path.py-11.5.0 plumbum-1.6.3 portend-1.8 progressbar-2.5 pynzb-0.1.0 pyparsing-2.2.0 pyrss2gen-1.1 python-dateutil-2.6.1 pytz-2017.2 pyyaml-3.13 rebulk-0.9.0 requests-2.21.0 rpyc-4.0.1 six-1.10.0 sqlalchemy-1.3.3 tempora-1.8 terminaltables-3.1.0 tzlocal-1.4 urllib3-1.24.2 webencodings-0.5.1 werkzeug-0.14.1 zipp-0.3.3 zxcvbn-python-4.4.15
Removing intermediate container 562392315a3d
---> 604e6eb9392c
Step 8/11 : COPY start.sh /home/flexget/
---> d7042c7db873
Step 9/11 : RUN chmod +x ./start.sh
---> Running in 7f30c99bc4fe
Removing intermediate container 7f30c99bc4fe
---> 82712391834f
Step 10/11 : USER flexget
---> Running in cd5c319f4c06
Removing intermediate container cd5c319f4c06
---> 4e77f8996921
Step 11/11 : CMD ["./start.sh"]
---> Running in 5bb459c0170d
Removing intermediate container 5bb459c0170d
---> 4dedf8ad037e
Successfully built 4dedf8ad037e
Successfully tagged flexget:2.21.18

Except that I get errors in the log about /bin/sh: can't open './start.sh': permission denied.

Thanks

Posts: 1

Participants: 1

Read full topic

Python 2.7 crashreport

$
0
0

@9Mad-Max5 wrote:

Hi,

I just newly camed up with flexget.
Its running on a raspi 3B+.
I used this configuration:
https://github.com/crack00r/Flexget-Config

I think it doesn´t make any change but it´s limited to python 2.

im getting the following crashreport:
2019-09-01 16:08 CRITICAL task_queue BUG: Unhandled exception during task queue run loop.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task_queue.py", line 48, in run
self.current_task.execute()
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 80, in wrapper
return func(self, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 693, in execute
self._execute()
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 659, in _execute
self.__run_task_phase(phase)
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 492, in __run_task_phase
for e in response:
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/cached_input.py", line 201, in __iter__
for item in self.iterable:
File "/usr/local/lib/python2.7/dist-packages/flexget/components/trakt/trakt_list.py", line 305, in get_items
raise plugin.PluginError('Could not retrieve list from trakt (%s)' % e)
PluginError: Could not retrieve list from trakt (404 Client Error: Not Found for url: https://api.trakt.tv/users/USERNAME/lists/listname/items?limit=1000&page=1)

Posts: 1

Participants: 1

Read full topic

Basic search from piratebay

$
0
0

@43217321 wrote:

I got flexget up and running yesterday and I've been reading the docs and trying to play around with it. For the life of me, I can't get it to search piratebay. I'm sure I'm doing something wrong because I'm still trying to understand it. I would say that I don't even have a config started out yet because I have no clue what I'm doing.

Most of the cookbook examples I've seen are really advanced and not anything simple. There's the rss feed example, but unfortunately, I think tpb stopped rss a long time ago.

Any help on a simple example would be great.

Posts: 1

Participants: 1

Read full topic

How to use if plugin with deluge input entries?

$
0
0

@Curtis wrote:

i want to delete old torrents and i tried the followings:
- deluge_time_added < datetime.datetime.timestamp(now) : accept
- datetime.datetime.fromtimestamp(deluge_time_added) < now: accept

but none of the above works, i know that "deluge_time_added" is a timestamp and "now" is a datetime object, but i cant convert them to the same kind of thing

Posts: 1

Participants: 1

Read full topic

FAILED: `...` by age plugin because field pubDate does not exist

$
0
0

@flexgettor wrote:

Hello,
I'm trying to filter a rss feed from Jackett with the age plugin but it appears unable to find the pubDate field that contains the date of publication and I get this error: FAILED: '...' by age plugin because field pubDate does not exist
My config.yml and an example of the rss feed.
As you can see feed's items have a <pubDate>...</pubDate> field but using:

age:
  field: pubDate
  action: reject
  age: 5 days

I get the described error, do you know how to fix it or how to properly filter rss feeds by age?

Posts: 1

Participants: 1

Read full topic


Accepted entries are rejected

$
0
0

@boutchou9 wrote:

Hey guys,

i've got the following config:

templates:
  movie:
    imdb_lookup: yes
    require_field: imdb_id
    if:
      - imdb_score < 6.0: reject
    manipulate:
      - title:
          replace: 
            regexp: '\b.German\b'
            format: ''
    regexp:
      accept:
        - -PsO
      reject:
        - \b(19[1-6][0-9])\b #old movies
        - \bx265\b #x265 codec
      rest: reject
tasks:
  fileocean:
    template: movie
    mock:
       - { title: 'Spider-Man.Far.from.Home.2019.German.DL.AC3.Dubbed.1080p.BluRay.x264-PsO' }

When i run the following: "flexget --test -L debug execute" i get the following output:
...

2019-09-30 14:21 DEBUG    regexp        fileocean       regexp '-PsO' matched field 'title' for Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO
2019-09-30 14:21 VERBOSE  task          fileocean       ACCEPTED: `Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO` by regexp plugin because regexp '-PsO' matched field 'title'
2019-09-30 14:21 DEBUG    regexp        fileocean       Rest method reject for Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO
2019-09-30 14:21 VERBOSE  task          fileocean       REJECTED: `Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO` by regexp plugin because regexp `rest`
2019-09-30 14:21 DEBUG    urlrewriter   fileocean       Checking 0 entries

...
Why is it rejecting because of rest, eventhough it got accepter by my regex?

Posts: 1

Participants: 1

Read full topic

Errors trying to replace the deprecated clean_transmission plugin

$
0
0

@zapp7 wrote:

I have basically used the recipe available here to replace my deprecated clean_transmission plugin. As is usual, following what is written verbatim seems to not work at all. Here is my task:

tasks:
  remove stale torrents:
    from_transmission:
      only_complete: yes
    disable: [seen, seen_info_hash]
    if:
      - transmission_progress == 100: accept
      - not transmission_seed_ratio_ok: reject
      - not transmission_idle_limit_ok: reject
    transmission:
      action: remove

It throws the following errors:

CRITICAL manager                       [/tasks/remove stale torrents/transmission] The key `action` is not valid here.
2019-09-30 23:20 CRITICAL manager                       [/tasks/remove stale torrents/from_transmission] The key `only_complete` is not valid here.
2019-09-30 23:20 CRITICAL manager                       Failed to load config file: Did not pass schema validation.

What's wrong with this config?

Posts: 2

Participants: 1

Read full topic

Does filesystem or imdb_lookup plugins open files?

$
0
0

@flexgettor wrote:

Hi, I'd like to know if filesystem or imdb_lookup plugins open files or just watch filenames because I want to upload my collection to trakt (following this cookbook) but my files are actually in a cloud storage mounted locally so I can't download all of them (10+ TB). Thanks for the help!

Posts: 1

Participants: 1

Read full topic

What happen to entry when a task is aborted?

$
0
0

@Chryses wrote:

Hi, I've configured the free_space plugin in order to avoid downloading torrents if the disk is full.

But what happen to release that match?
I mean, the task start then the task abort because of low space, so for this example in this task there's some potential torrent to download. What happens to that download?
Suppose that later the task will run again and the space is enough, all the torrents that was not downloaded in the previous running, what happen?

My purpose is to not download torrent if the task abort, so I don't want to grab other download that the one that the current running find.

I hope to have explained myself

Jo

Posts: 1

Participants: 1

Read full topic

Plugin exists_series rejecting month/day because of day/month

$
0
0

@shanec42 wrote:

Help!

I'm running into a recurring situation where the exists_series plugin is finding a previous episode with the day/month reversed, and it appears to be confusing it for the current month/day. For example, 2019-09-10 (September 10th, 2019) is confused for 2019-10-09 (October 9th, 2019). Obviously this has a limited scope factor here, but it keeps happening.

I'm looking for a second opinion, before I file a bug report. Is this a bug, or is this a misconfiguration?

2019-10-10 17:24 DEBUG parser_internal SHOWRSS Parsing series: Stephen.Colbert.2019.09.10.Ansel.Elgort.720p.HDTV.x264-SORNY[rarbg] kwargs: {'name':
u'Stephen Colbert'}
2019-10-10 17:24 DEBUG parser_internal SHOWRSS Parsing result: ,name=Stephen Colbert,id=2019-10-09 00:00:00,season=None,season_pack=None,episode=None,quality=720p hdtv h264,proper=0,status=OK)> (in 0.661 ms)
2019-10-10 17:24 DEBUG exists_series SHOWRSS name Stephen.Colbert.2019.09.10.Ansel.Elgort.720p.HDTV.x264-SORNY[rarbg] is same series as Stephen Colbe
rt
2019-10-10 17:24 DEBUG exists_series SHOWRSS disk_parser.identifier = 2019-10-09
2019-10-10 17:24 DEBUG exists_series SHOWRSS disk_parser.quality = 720p hdtv h264
2019-10-10 17:24 DEBUG exists_series SHOWRSS disk_parser.proper_count = 0
2019-10-10 17:24 DEBUG exists_series SHOWRSS series_parser.identifier = 2019-10-09
2019-10-10 17:24 DEBUG exists_series SHOWRSS series_parser.quality = unknown
2019-10-10 17:24 DEBUG exists_series SHOWRSS entry parser.proper_count = 0
2019-10-10 17:24 VERBOSE task SHOWRSS REJECTED: Stephen Colbert 2019-10-09 Jonathan Van Ness, Brett Gelman, Big Thief, Elizabeth Warren, Bernie Sanders, Pete Buttigieg by exists_series plugin because episode already exists

Posts: 2

Participants: 1

Read full topic

Trouble logging into flexget web. Internal server error

$
0
0

@acordill wrote:

Having problems logging into flexget web interface. Keep getting "internal server error"

Logs:
'''
2019-10-10 18:55 ERROR flask.app Exception on /auth/login/ [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 2291, in wsgi_app
ctx.push()
File "/usr/local/lib/python3.6/site-packages/flask/ctx.py", line 377, in push
self.app, self.request
File "/usr/local/lib/python3.6/site-packages/flask/sessions.py", line 343, in open_session
data = s.loads(val, max_age=max_age)
File "/usr/local/lib/python3.6/site-packages/itsdangerous.py", line 643, in loads
.unsign(s, max_age, return_timestamp=True)
File "/usr/local/lib/python3.6/site-packages/itsdangerous.py", line 466, in unsign
return value, self.timestamp_to_datetime(timestamp)
File "/usr/local/lib/python3.6/site-packages/itsdangerous.py", line 404, in timestamp_to_datetime
return datetime.utcfromtimestamp(ts + EPOCH)
OverflowError: timestamp out of range for platform time_t
'''

Posts: 1

Participants: 1

Read full topic

How to ignore specials?

$
0
0

@allan_marcus wrote:

Hello. I would like to never down any specials. Generally, this means S00. I see how I can add this to a specifically series (specials: no), but I don't see how to add it to all series. Any help is appreciated.

Posts: 2

Participants: 2

Read full topic


Keep downloading the same two movies all over again

$
0
0

@marine88 wrote:

hi there my config im having the same two movies (Mission.Impossible.Rogue.Nation.2015.1080p.BluRay.H264.AAC-RARBG and The.Hunger.Games.Mockingjay.Part.2.2015.1080p.BluRay.H264.AAC-RARBG) I can´t understand why. I did debug go to trakt and the files are in my library i cant understant why keeps downlaoding!

Posts: 1

Participants: 1

Read full topic

Notify template help

$
0
0

@chewy74 wrote:

Can someone tell me how to get rid of these <p>, </p> from this please?
My notify template is

      telegram_notify:
        thetvdb_lookup: yes
        tvmaze_lookup: yes
        imdb_lookup: yes
        tmdb_lookup: yes
        notify:
          entries:
            title: 'flexget {{task}}'
            message: |+
              {% if series_name is defined -%}
              *{{series_name}}* - {{series_id}} - {{quality|d('')}}
              *{{tvmaze_ep_name|d(tvdb_ep_name)|d('')}}*
              *Air date:* {{tvdb_ep_air_date|d(tvmaze_episode_airdate)|d('')}}
              *Summary:*  {{tvmaze_episode_summary|d(tvdb_ep_overview)|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: '{? telegram.token ?}'
                 parse_mode: markdown
                 disable_previews: no
                 recipients:
                   - username: '{? telegram.usr ?}'

Thanks

Posts: 1

Participants: 1

Read full topic

Setting default quality with seires plugin

$
0
0

@SumRndUsr wrote:

hi, is there a way to set the default quality for all series using the "series" plugin (not configure_seires)? So for most shows, I would only want 720p by default, for others, I want to override it with 1080p

I would prefer to not have to set quality for each show to 720p or 1080p.

Posts: 1

Participants: 1

Read full topic

TVDB lookup no longer returns tvdb_series_name

$
0
0

@ZileXa wrote:

It has been a while since I upgraded Flexget. I am now on 2.21.19 since my old version no longer worked.

However it seems like tvdb_series_name is no longer a common field?

Example with just my first 2 tasks, getting the next unseen episode and creating a list of series and the first episode to watch and setting the beginning for each series.

templates: 
global:
##### Series metainfo mainly for move and update tasks#
  series-metainfo:
    metainfo_series: yes
    thetvdb_lookup: yes
    require_field:
      - tvdb_series_name

tasks:
########## SERIES ##########
# SYNC WITH TRAKT
##### First run only (use ~/flexget/bin/flexget execute --now) Sync Flexget database with watched status in Trakt#  
  get-series-nextep:
    priority: 2
    template:
      - disable-seen-retry
      - series-metainfo
    list_clear:
      what:
        - entry_list: trakt-series-begin
    next_trakt_episodes:
      account: "{? trakt.account ?}"
      list: "{? trakt.series ?}"
      context: watched
      position: next
    accept_all: yes
    list_add:
      - entry_list: trakt-series-begin

  set-series-nextep:
    priority: 3
    template:
      - disable-seen-retry
      - series-metainfo
    entry_list: trakt-series-begin
    accept_all: yes
    set:
      series_name: "{{tvdb_series_name|escape|replace('&#39;', '')}}"
    set_series_begin: yes

The first task already fails, simply because the required field tvdb_series_name is missing. How come? it's doing a lookup and one of the least things you expect is that name.. What changed in Flexget this year?

2019-09-23 22:03 VERBOSE  list_clear    get-series-nextep clearing all items from entry_list - trakt-series-begin
2019-09-23 22:03 VERBOSE  details       get-series-nextep Produced 38 entries.
2019-09-23 22:03 VERBOSE  task          get-series-nextep ACCEPTED: `NCIS: Los Angeles (2009) S11E01` by accept_all plugin
2019-09-23 22:03 VERBOSE  task          get-series-nextep ACCEPTED: `Grey's Anatomy (2005) S16E01` by accept_all plugin
2019-09-23 22:03 VERBOSE  details       get-series-nextep Summary - Accepted: 38 (Rejected: 0 Undecided: 0 Failed: 0)
2019-09-23 22:03 VERBOSE  list_add      get-series-nextep adding accepted entries into entry_list - trakt-series-begin
2019-09-23 22:03 VERBOSE  ipc                           Running command `execute --tasks find-* move-*` for client.
2019-09-23 22:03 VERBOSE  manager                       There is a task already running, execution queued.
2019-09-23 22:04 VERBOSE  details       set-series-nextep Produced 38 entries.
2019-09-23 22:04 ERROR    set           set-series-nextep Could not set series_name for Grey's Anatomy (2005) S16E01: (UndefinedError) 'tvdb_series_name' is undefined
2019-09-23 22:04 ERROR    set           set-series-nextep Could not set series_name for NCIS: Los Angeles (2009) S11E01: (UndefinedError) 'tvdb_series_name' is undefined

Posts: 1

Participants: 1

Read full topic

Unhandled error in plugin transmission after upgrade to 3.0.0

$
0
0

@shotfirer wrote:

I have a two different installations, Debian and macOS. Both stopped downloading after upgrade to 3.0.0. The error is different though.

Debian:

2019-11-11 11:42 CRITICAL task          RARBG           BUG: Unhandled error in plugin transmission: decoding str is not supported
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flexget/task.py", line 520, in __run_plugin
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/flexget/plugins/clients/transmission.py", line 368, in on_task_output
    options = self._make_torrent_options_dict(config, entry)
  File "/usr/local/lib/python3.6/dist-packages/flexget/plugins/clients/transmission.py", line 681, in _make_torrent_options_dict
    add['download_dir'] = str(pathscrub(path), 'utf-8')
TypeError: decoding str is not supported

macOS:

2019-11-11 11:45 CRITICAL task          RARBG           BUG: Unhandled error in plugin transmission: name 'TransmissionError' is not defined
Traceback (most recent call last):
  File "/Users/edit/Library/Python/3.7/lib/python/site-packages/flexget/plugins/clients/transmission.py", line 58, in create_rpc_client
    cli = transmissionrpc.Client(config['host'], config['port'], user, password)
NameError: name 'transmissionrpc' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/edit/Library/Python/3.7/lib/python/site-packages/flexget/task.py", line 520, in __run_plugin
    result = method(*args, **kwargs)
  File "/Users/edit/Library/Python/3.7/lib/python/site-packages/flexget/event.py", line 20, in __call__
    return self.func(*args, **kwargs)
  File "/Users/edit/Library/Python/3.7/lib/python/site-packages/flexget/plugins/clients/transmission.py", line 357, in on_task_output
    self.client = self.create_rpc_client(config)
  File "/Users/edit/Library/Python/3.7/lib/python/site-packages/flexget/plugins/clients/transmission.py", line 59, in create_rpc_client
    except TransmissionError as e:
NameError: name 'TransmissionError' is not defined

Both installations was perfectly working before. Looks like macOS installation can't connect to transmissionrpc (?), despite that module is installed

Requirement already up-to-date: transmissionrpc in ./Library/Python/3.7/lib/python/site-packages (0.11)

How to fix that?
Rolling back to 2.21.35 helps in both cases.

Posts: 1

Participants: 1

Read full topic

Viewing all 837 articles
Browse latest View live