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

BUG: Unhandled error in plugin discover: an integer is required

$
0
0

@axd wrote:

Hi. I get this BUG error when I run my search task. The task fetches a Trakt movie list, and is supposed to use the 'discover' plugin to search IPTorrents for these movi.

2016-07-20 12:06 INFO interval Movies-search-KT Ignoring interval because of --now
2016-07-20 12:06 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-20 12:06 VERBOSE utils.requests Movies-search-KT Waiting 1.20 seconds until next request to trakt.tv
2016-07-20 12:06 VERBOSE discover Movies-search-KT Discovering 45 titles ...
2016-07-20 12:06 INFO discover Movies-search-KT Ignoring interval because of --discover-now
2016-07-20 12:06 CRITICAL task Movies-search-KT BUG: Unhandled error in plugin discover: an integer is required
2016-07-20 12:06 CRITICAL manager Movies-search-KT An unexpected crash has occurred. Writing crash report to /Users/hackintosh/.flexget/crash_report.2016.07.20.120640284537.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.1.17
2016-07-20 12:06 WARNING task Movies-search-KT Aborting task (plugin: discover)

Here is the error log:

2016-07-20 12:06 INFO interval Movies-search-KT Ignoring interval because of --now
2016-07-20 12:06 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-20 12:06 VERBOSE utils.requests Movies-search-KT Waiting 1.20 seconds until next request to trakt.tv
2016-07-20 12:06 VERBOSE discover Movies-search-KT Discovering 45 titles ...
2016-07-20 12:06 INFO discover Movies-search-KT Ignoring interval because of --discover-now
2016-07-20 12:06 CRITICAL task Movies-search-KT BUG: Unhandled error in plugin discover: an integer is required
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/task.py", line 443, in _runplugin
return method(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 271, in on_task_input
entries = self.estimated(entries, estimation_mode)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 187, in estimated
est_date = estimator.estimate(entry)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/estimators/est_released.py", line 29, in estimate
estimate = estimator(entry)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/estimators/est_released_movies.py", line 21, in estimate
return datetime(year=entry['movie_year'], month=1, day=1)
TypeError: an integer is required

I'm running the latest Flexget 2.1.17. Does anyone have any ideas about how to fix this?

Posts: 9

Participants: 3

Read full topic


ERROR Unexpected html content received from `http://trakt.tv/movie/popstar-never-stop-never-stopping-2016` - maybe a login page?

$
0
0

@axd wrote:

I'm getting a bizarre ERROR / FAILED when my script tries to download using the IPTorrents search plugin, using a Trakt list and the plugin "discover".

It looks like the URL for the IPTorrents .torrent entry is being switched to a trakt.com URL. But this is only happening on the accepted entries - the rejected entries still retain their

Here is the error:

2016-07-21 08:25 ERROR entry Movies-search-KT Failed Popstar: Never Stop Never Stopping (2016) (Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?)

I've traced it back to this:

2016-07-21 08:25 INFO download Movies-search-KT Downloading: Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG download Movies-search-KT Downloading url 'http://trakt.tv/movie/popstar-never-stop-never-stopping-2016'
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching http://trakt.tv/movie/popstar-never-stop-never-stopping-2016

The issue here is that the download URL should be an IPTorrents .torrent file URL, not a Trakt URL. Not really sure how the Trakt URL gets assigned to the entry?

Here are some relevant parts of the log:

2016-07-21 08:24 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-21 08:24 DEBUG utils.requests Movies-search-KT Fetching https://api-v2launch.trakt.tv/users/xxxxxx/lists/kt-watchlist/items
2016-07-21 08:24 DEBUG trakt_list Movies-search-KT Skipping 11.22.63 because it is not a movie
2016-07-21 08:24 DEBUG input_cache Movies-search-KT storing to cache trakt_list_61ffb389b45a82e2c66e76e10c3a7365 44 entries
2016-07-21 08:24 DEBUG input_cache Movies-search-KT Storing cache trakt_list_61ffb389b45a82e2c66e76e10c3a7365 to database.
2016-07-21 08:24 VERBOSE discover Movies-search-KT Discovering 44 titles ...

2016-07-21 08:24 DEBUG est_released Movies-search-KT Popstar: Never Stop Never Stopping
2016-07-21 08:24 DEBUG discover Movies-search-KT Popstar: Never Stop Never Stopping has been released at 2016-01-01 00:00:00

2016-07-21 08:24 VERBOSE discover Movies-search-KT Searching for Popstar: Never Stop Never Stopping with plugin iptorrents (19 of 42)
2016-07-21 08:24 DEBUG iptorrents Movies-search-KT searching with url: https://iptorrents.com/t?72=&q=Popstar%3A+Never+Stop+Never+Stopping&qf=
2016-07-21 08:24 DEBUG utils.requests Movies-search-KT Fetching https://iptorrents.com/t?72=&q=Popstar%3A+Never+Stop+Never+Stopping&qf=
2016-07-21 08:24 DEBUG discover Movies-search-KT Discovered 4 entries from iptorrents

2016-07-21 08:25 VERBOSE details Movies-search-KT Produced 194 entries.
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO by quality plugin because hdrip xvid ac3 does not match quality requirement []
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT by quality plugin because hdrip xvid ac3 does not match quality requirement []
2016-07-21 08:25 VERBOSE task Movies-search-KT REJECTED: Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG by quality plugin because hdrip xvid ac3 does not match quality requirement []

2016-07-21 08:25 DEBUG content_size Movies-search-KT Popstar Never Stop Never Stopping 2016 1080p HC WEBRip x264 AAC2 0-STUTTERSHIT size 2584 MB

2016-07-21 08:25 DEBUG sequence Movies-search-KT Running plugin crossmatch
2016-07-21 08:25 DEBUG input_cache Movies-search-KT cache name: trakt_list_052b85bc840943b9d450e6bb352f468f (has: trakt_list_61ffb389b45a82e2c66e76e10c3a7365)
2016-07-21 08:25 VERBOSE trakt_list Movies-search-KT Retrieving movies list KT-watchlist
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching https://api-v2launch.trakt.tv/users/xxxxxx/lists/kt-watchlist/items
2016-07-21 08:25 DEBUG trakt_list Movies-search-KT Skipping 11.22.63 because it is not a movie
2016-07-21 08:25 DEBUG input_cache Movies-search-KT storing to cache trakt_list_052b85bc840943b9d450e6bb352f468f 44 entries
2016-07-21 08:25 DEBUG input_cache Movies-search-KT Storing cache trakt_list_052b85bc840943b9d450e6bb352f468f to database.
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 1080p HC WEBRip x264 AAC2 0-STUTTERSHIT
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
2016-07-21 08:25 VERBOSE task Movies-search-KT ACCEPTED: Popstar: Never Stop Never Stopping (2016) by sequence plugin because intersects with Popstar: Never Stop Never Stopping (2016) on field(s) imdb_id

2016-07-21 08:25 DEBUG exists_movie Movies-search-KT -- Start filtering entries ----------------------------------
2016-07-21 08:25 DEBUG exists_movie Movies-search-KT trying to parse entry Popstar: Never Stop Never Stopping (2016)
...
2016-07-21 08:25 DEBUG exists_movie Movies-search-KT -- Finished filtering entries -------------------------------

2016-07-21 08:25 DEBUG urlrewriter Movies-search-KT Checking 3 entries
2016-07-21 08:25 INFO download Movies-search-KT Downloading: Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG download Movies-search-KT Downloading url 'http://trakt.tv/movie/popstar-never-stop-never-stopping-2016'
2016-07-21 08:25 DEBUG utils.requests Movies-search-KT Fetching http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT Popstar: Never Stop Never Stopping (2016) field file set to: /Users/xxxxxx/.flexget/temp/tmp_X7Tqo/744447f34d299cea30edcfb29df4d7a8
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 853, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 853, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 726, in format
return fmt.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/logger.py", line 162, in format
return logging.Formatter.format(self, record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
Logged from file download.py, line 352
2016-07-21 08:25 DEBUG download Movies-search-KT No filename - setting from url: popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT Finishing download_entry() with filename popstar-never-stop-never-stopping-2016
2016-07-21 08:25 DEBUG download Movies-search-KT removing temp file /Users/xxxxxx/.flexget/temp/tmp_X7Tqo/744447f34d299cea30edcfb29df4d7a8 from Popstar: Never Stop Never Stopping (2016)
2016-07-21 08:25 DEBUG entry Movies-search-KT Marking entry 'Popstar: Never Stop Never Stopping (2016)' as failed
2016-07-21 08:25 ERROR entry Movies-search-KT Failed Popstar: Never Stop Never Stopping (2016) (Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?)
2016-07-21 08:25 DEBUG failed Movies-search-KT Marking Popstar: Never Stop Never Stopping (2016) in failed list. Has failed 16 times.
2016-07-21 08:25 INFO task Movies-search-KT Plugin retry_failed has requested task to be ran again after execution has completed.
2016-07-21 08:25 VERBOSE task Movies-search-KT FAILED: Popstar: Never Stop Never Stopping (2016) by download plugin because unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?

Here is the failed entries (ACCEPTED but has the track.tv URL instead of IPTorrents .torrent URL):

-- Failed: -----------------------------
title : Popstar: Never Stop Never Stopping (2016)
url : http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
original_url : http://trakt.tv/movie/popstar-never-stop-never-stopping-2016
accepted_by : sequence
content_size : 2584
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
failed_by : download
filename : popstar-never-stop-never-stopping-2016
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
mime-type : text/html
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : 1080p webrip h264 aac
reason : Unexpected html content received from http://trakt.tv/movie/popstar-never-stop-never-stopping-2016 - maybe a login page?
search_sort : 6920
task : Movies-search-KT
tmdb_id : 341012
torrent_leeches : 0
torrent_seeds : 3460
trakt_movie_id : 221669
trakt_movie_slug : popstar-never-stop-never-stopping-2016

I can see from the entries of the rejected torrents that the IPTorrents URL is making its way into the entries OK.

Here is the rejected entries:

-- Rejected: ---------------------------
title : Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO
url : https://iptorrents.com/download.php/1876161/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-EVO.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1876161/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-EVO.torrent?torrent_pass=xxxxxx
content_size : 1335
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-EVO
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 5436480
task : Movies-search-KT
torrent_leeches : 160
torrent_seeds : 2718160

title : Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT
url : https://iptorrents.com/download.php/1877656/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-iFT.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1877656/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XviD.AC3-iFT.torrent?torrent_pass=xxxxxx
content_size : 1363
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XviD AC3-iFT
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 26636
task : Movies-search-KT
torrent_leeches : 12
torrent_seeds : 13312

title : Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG
url : https://iptorrents.com/download.php/1876339/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XViD.AC3-ETRG.torrent?torrent_pass=xxxxxx
original_url : https://iptorrents.com/download.php/1876339/Popstar.Never.Stop.Never.Stopping.2016.HC.HDRip.XViD.AC3-ETRG.torrent?torrent_pass=xxxxxx
content_size : 1287
discovered_from : Popstar: Never Stop Never Stopping
discovered_with : iptorrents
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT lookup for Popstar Never Stop Never Stopping 2016 HC HDRip XViD AC3 ETRG
2016-07-21 08:25 DEBUG imdb_lookup Movies-search-KT movie Popstar: Never Stop Never Stopping age 0 expires in 2 days
imdb_actors : {u'nm1672246': u'Jorma Taccone', u'nm3069420': u'Max Jenkins', u'nm0798971': u'Sarah Silverman', u'nm0005218': u'Tim Meadows', u'nm0859821': u'Ahmir-Khalib Thompson', u'nm0118617': u'James Buckley', u'nm1676223': u'Akiva Schaffer', u'nm1676221': u'Andy Samberg', u'nm0000349': u'Joan Cusack', u'nm7266147': u'Evan Fine', u'nm1782299': u'Imogen Poots', u'nm7254628': u'Edgar Blackmon', u'nm0748973': u'Maya Rudolph', u'nm7280341': u'Elliott Smith', u'nm5412083': u'Chris Redd'}
imdb_directors : {u'nm1672246': u'Jorma Taccone', u'nm1676223': u'Akiva Schaffer'}
imdb_genres : [comedy, music]
imdb_id : tt3960412
imdb_languages : [english]
imdb_mpaa_rating : R
imdb_name : Popstar: Never Stop Never Stopping
imdb_original_name: None
imdb_photo : http://ia.media-imdb.com/images/M/MV5BMjMxMzk2ODI4N15BMl5BanBnXkFtZTgwNzgzNzQ5ODE@._V1_UX182_CR0,0,182,268_AL_.jpg
imdb_plot_outline: When his new album fails to sell records, pop/rap superstar conner4real goes into a major tailspin and watches his celebrity high life begin to collapse. He'll try anything to bounce back, anything except reuniting with his old rap group The Style Boyz.
imdb_score : 6.9
imdb_url : http://www.imdb.com/title/tt3960412/
imdb_votes : 9378
imdb_year : 2016
movie_name : Popstar: Never Stop Never Stopping
movie_year : 2016
quality : hdrip xvid ac3
reason : hdrip xvid ac3 does not match quality requirement []
rejected_by : quality
search_sort : 21030
task : Movies-search-KT
torrent_leeches : 10
torrent_seeds : 10510

Any assistance would be appreciated. I'm hoping it's just something stupid on my end that I've changed without realizing.

Will post my config in a sec.

Thanks.

Posts: 4

Participants: 1

Read full topic

TPB and HTML Magnet cookbook

$
0
0

@Senorsmartypants wrote:

http://flexget.com/Cookbook/thepiratebay

This configuration does not seem to work anymore. I'm guessing it's a problem in the HTML plugin or parsing. When I try it can't figure out a title for the magnets even thou I am telling flexget to use the URL.

2016-07-24 17:13 DEBUG    html          TV-dont-collect title from url: 
2016-07-24 17:13 WARNING  html          TV-dont-collect title could not be determined for link magnet:?xt=urn:btih:b6f6d77198b4b6301ebf7348c61c5e31358eeae2&dn=MasterChef.Australia.S08E60.HDTV.x264-FQM%5Bettv%5D&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969

Posts: 1

Participants: 1

Read full topic

How do I check movies in the download queue?

$
0
0

@effemmeffe wrote:

This is a reprise of an old topic of mine.
I use trakt to keep trace of watched and wanted movies.
I realized that some movies are in my watchlist for a while and I forgot about them and they are not downloaded.
I really don't care why they are not downloaded, I just want to know which movies are in my watchlist and are not downloaded in a while, let say in the last 6 months.

Which command I should use to know which movies are not yet downloaded?

Posts: 4

Participants: 2

Read full topic

BUG: Unhandled exception during task queue run loop. Python error

$
0
0

@Mindegy_Tok wrote:

Synology DS215J
Flexget v2.1.25
Python v2.7.11-15

Problematic task: Anime
When I remove this task, it works fine without error, the anime task is mostly copy paste of the others.

Crash Report (i have one for every attempt to run, this is the latest)
http://pastebin.com/QPhQm7Sr

Config file

Searched the forum without success

Posts: 8

Participants: 2

Read full topic

Movie downloaded in multiple copy

$
0
0

@effemmeffe wrote:

I just added a new movie on my trakt watchlist and after a while flexget found it and queued it on transmission, but it queued multiple copies of it:

fmf@kodi:~/.flexget$ transmission-remote -n transmission:transmission -l|grep Witch
   4    56%    1.42 GB  Unknown      0.0     0.0    0.1  Stopped      The Witch 2015 1080p BluRay x264 DTS-JYK
   5*   99%    1.90 GB  Unknown      0.0     0.0    0.0  Stopped      The.Witch.2015.1080p.BluRay.H264.AAC-RARBG
   6    37%    2.64 GB  Unknown      0.0     0.0    0.0  Stopped      The.Witch.2015.1080p.BluRay.x264-DRONES[rarbg]
   7    41%   602.6 MB  Unknown      0.0     0.0    0.0  Stopped      The.Witch.2015.1080p.BRRip.x264.AAC-ETRG
   8     0%       None  Unknown      0.0     0.0   None  Stopped      The Witch (2015) - [1080p bluray].mkv
   9    10%   507.2 MB  Unknown      0.0     0.0    0.0  Stopped      The.Witch.2015.1080p.REPACK.BluRay.x264.DTS-ETRG
  10     0%       None  Unknown      0.0     0.0   None  Stopped      The.Witch.2015.1080p.BluRay.x264.DTS-ETRG
  11     0%       None  Unknown      0.0     0.0   None  Stopped      The.Witch.2015.1080p.BluRay.x264.DTS-HD.MA.5.1-RARBG
  12     0%       None  Unknown      0.0     0.0   None  Stopped      The.Witch.2015.BluRay.1080p.DTS-HD.MA.5.1.HEVC.x265.EmEm
  13     0%       None  Unknown      0.0     0.0   None  Stopped      The.Witch.2015.1080p.BRRip.AAC.5.1-XZILLA
  14    n/a       None  Done         0.0     0.0   None  Stopped      The.Witch.2015.1080p.WEB-DL.DD5.1.H264-FGT

My config: https://github.com/effemmeffe/flexget/blob/master/config.yml
The log: http://pastebin.com/Fi3fBNdr

What is wrong in my config?

Posts: 8

Participants: 3

Read full topic

FIXED: search_rss searching for same entry multiple times

$
0
0

@HowitzerUK wrote:

I have a movie queue with 7 entries, but search_rss is searching for the first entry 7 times. My config and log are below:

task:

watchlist-search:
    priority: 10
    interval: 1 day
    discover:
        what:
          - emit_movie_queue: yes
        from:
          - search_rss:
              url: https://limetorrents.ukbypass.top/searchrss/{{search_term}}
    quality: 1080p bluray
    torrent_alive: 10
    movie_queue: accept

Log:

2016-07-27 10:50 VERBOSE  discover      watchlist-search Searching for `Central Intelligence 2016` with plugin `search_rss` (1 of 7)
2016-07-27 10:50 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:50 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:50 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `Independence Day: Resurgence 2016` with plugin `search_rss` (2 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `The BFG 2016` with plugin `search_rss` (3 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `The Legend of Tarzan 2016` with plugin `search_rss` (4 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `Criminal 2016` with plugin `search_rss` (5 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `London Has Fallen 2016` with plugin `search_rss` (6 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss
2016-07-27 10:51 VERBOSE  discover      watchlist-search Searching for `Eddie the Eagle 2016` with plugin `search_rss` (7 of 7)
2016-07-27 10:51 DEBUG    input_cache   watchlist-search cache name: rss_cc39ae22679032cab97a6432d98ce299 (has: rss_cc39ae22679032cab97a6432d98ce299, rss_96c2890c108700cf6cb7daeea7c8aee6)
2016-07-27 10:51 DEBUG    rss           watchlist-search Requesting task `watchlist-search` url `https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016`
2016-07-27 10:51 DEBUG    requests                      Fetching https://limetorrents.ukbypass.top/searchrss/Central%20Intelligence%202016
2016-07-27 10:51 DEBUG    rss           watchlist-search encoding utf-8
2016-07-27 10:51 DEBUG    rss           watchlist-search Saving location in rss feed.
2016-07-27 10:51 DEBUG    util.simple_persistence watchlist-search setting key 1601070472_last_entry value u'Central Intelligence (2016) - HD 1080p Hardsub x265 AC3-Z@M@N'
2016-07-27 10:51 DEBUG    input_cache   watchlist-search storing to cache rss_cc39ae22679032cab97a6432d98ce299 50 entries
2016-07-27 10:51 DEBUG    discover      watchlist-search Discovered 50 entries from search_rss

As you can see, the request url is always the same, even though discover claims to be searching for the different titles.

Posts: 2

Participants: 1

Read full topic

SSL Bad Handshake

$
0
0

@scharbag wrote:

I am getting the following error with FlexGet:

The following entries have failed for task Series-TV:
- Suits S06E03 720p HDTV x264-KILLERS (https://zoink.ch/torrent/Suits.S06E03.720p.HDTV.x264-KILLERS[eztv].mkv.torrent) Reason: Network error during request: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')],)",)

This is from an RSS feed for EZTV.

I have looked around a bit on the forums but have not come across an answer that would seem to suit as the other discussions discuss needing a user and pw, which the site does not if you manually go to it.

Any help would be greatly appreciated.

Thank you

Posts: 2

Participants: 2

Read full topic


Rss DONOT work in Ver2.x.x at some pages

$
0
0

@bccorp wrote:

there is a rarbg rss generator on github here

it works good on flexget ver. 1.x.x (e.g. 1.2.511), but when i upgrade flexget to ver. 2.x.x ( inc. 2.2.2) it not work anymore!

the log shows CRITICAL error at RSS-plugin "Received invalid RSS content from ..."

here is the content:
`
<?xml version="1.0" encoding="utf-8"?>



https://torrentapi.org/apidocs_v2.txt
15

    <item>
        <title>The.Last.Ship.S03E07.In.the.Dark.1080p.WEB-DL.DD5.1.H264-Oosh[rartv] (1.6G)</title>
        <description/>
        <guid>012c1d954e7f4b51892470c5237de77af9ab541c</guid>
        <pubDate>Mon, 25 Jul 2016 14:50:26 -0000</pubDate>
        <enclosure
            url="magnet:?xt=urn:btih:012c1d954e7f4b51892470c5237de77af9ab541c&dn=The.Last.Ship.S03E07.In.the.Dark.1080p.WEB-DL.DD5.1.H264-Oosh%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"
            length="1733009972"
            type="application/x-bittorrent" />
    </item>

    <item>
        <title>The.Last.Ship.S03E07.In.the.Dark.720p.WEB-DL.DD5.1.H264-Oosh[rartv] (1.3G)</title>
        <description/>
        <guid>d4d1b9edbc80778ea346a8adf6eff205a561e364</guid>
        <pubDate>Mon, 25 Jul 2016 14:46:22 -0000</pubDate>
        <enclosure
            url="magnet:?xt=urn:btih:d4d1b9edbc80778ea346a8adf6eff205a561e364&dn=The.Last.Ship.S03E07.In.the.Dark.720p.WEB-DL.DD5.1.H264-Oosh%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"
            length="1422418168"
            type="application/x-bittorrent" />
    </item>

    <item>
        <title>The.Last.Ship.S03E07.1080p.HDTV.X264-DIMENSION[rartv] (2.4G)</title>
        <description/>
        <guid>3ed05e726c8c4615a91ff1720127836a6446f4bf</guid>
        <pubDate>Mon, 25 Jul 2016 02:17:38 -0000</pubDate>
        <enclosure
            url="magnet:?xt=urn:btih:3ed05e726c8c4615a91ff1720127836a6446f4bf&dn=The.Last.Ship.S03E07.1080p.HDTV.X264-DIMENSION%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"
            length="2544599768"
            type="application/x-bittorrent" />
    </item>    `

!! the same content work with ver 1.x.x !!

what can i do?

thx

Posts: 1

Participants: 1

Read full topic

Subliminal BUG: Unhandled error in plugin subliminal: u'we'

$
0
0

@orrrb wrote:

Hello

I`ve been having issues with subliminal for some time, not finding anything on this particular error leads me here.

Config:

  subtitles:
    priority: 5
    filesystem:
      path:
        - /mypath/
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    subliminal:
      languages:
        - nb
      alternatives:
        - eng
      exact_match: yes
      providers: [addic7ed, opensubtitles]
      single: yes

flexget execute:
........
CRITICAL manager subtitles An unexpected crash has occurred. Writing crash report to /home/myuser/.flexget/crash_report.2016.08.01.112235034063.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.2.3
2016-08-01 11:22 WARNING task subtitles Aborting task (plugin: subliminal)

flexget -V:
2.2.3
You are on the latest relase

subliminal --version:
subliminal, version 2.0-rc1

crash log:

2016-08-01 11:22 CRITICAL task subtitles BUG: Unhandled error in plugin subliminal: u'we'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 444, in __run_plugin
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/subtitles_subliminal.py", line 131, in on_task_output
existing_subtitles = set(subliminal.core.search_external_subtitles(entry['location']).values())
File "/usr/local/lib/python2.7/dist-packages/subliminal/core.py", line 349, in search_external_subtitles
language = Language.fromietf(language_code)
File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 124, in fromietf
language = cls.fromalpha2(language_subtag)
File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 110, in fromcode
return cls(*language_converters[converter].reverse(code))
File "/usr/local/lib/python2.7/dist-packages/babelfish/converters/__init__.py", line 165, in reverse
raise LanguageReverseError(code)
LanguageReverseError: u'we'

I have looked through the .py files without even knowing what im looking for. I have no idea where to start, but I have a hunch its babelfish? This error is persistent when I replace/remove the file right before the critical task error occurs. The script then continues to lookup until it hits the next file that causes the error.

Im no linux guru so go easy on me. :wink:

Posts: 1

Participants: 1

Read full topic

Trakt list error 403

$
0
0

@DaneeL wrote:

Hi All,

I've started to receive trakt list errors on Aug 2 and can't retrieve list from trakt since.
The error message is:
There was an error during trakt_list input (Could not retrieve list from trakt (403 Client Error: Forbidden for url: https://api-v2launch.trakt.tv/users/me/lists/sorozatok/items)), using cache instead.

I'm on Flexget 2.2.7.

Thanks!

Posts: 1

Participants: 1

Read full topic

list_match all undecided

$
0
0

@Jacoby6000 wrote:

For some reason, list_match is always returning everything undecided for 1080p movies. Here's my config

templates:
  global:
    torrent_alive: yes #number of seeders needed to accept
 
  transmit-movies:
    utorrent:
      url: http://127.0.0.1:8181/gui/
      username: flexget
      password: getflex
      path: T:\plex\movies
  
  transmit-series:
    utorrent:
      url: http://127.0.0.1:8181/gui/
      username: flexget
      password: getflex
      path: T:\plex\shows\{{series_name|pathscrub}}/S{{"%02d"|format(series_season)}}
  
  get-series: 
    exists_series:
      - T:\plex\shows
    regexp:
      reject:
        - FASTSUB #French
        - VOSTFR #French
        - Subtitulado #Spanish
        - Special-Wicked #Special trailer episodes from Once Upon a Time
    content_filter:
      reject:
        - '*.avi' #Uhgg Jak!
    discover:
      what:
        - trakt_list:
            account: secret
            list: watchlist
            strip_dates: yes
            type: shows
        - filesystem: T:\plex\shows
      from:
        - iptorrents:
            rss_key: secret
            uid: secret
            password: secret
            category: 
              - Movie-HD-Bluray
              - Movie-MP4
              - TV-all
    trakt_lookup:
      account: secret
    if:
      - trakt_collected: reject
    set:
      content_filename: "{{ series_name }} - {{ series_id }} ({{ quality|upper }})"
    prowl:
      apikey: 9ae8f5aafcb66f2144ad0cfabb93349e6a592dc1
      application: Series
      event: New Episode
      description: "{{ series_name }} - {{ series_id }} ({{ quality|upper }})"
    template: transmit-series
  
  
  download-movie:
    discover:
      what:
        - movie_list: watchlist
      from:
        - iptorrents:
            rss_key: secret
            uid: secret
            password: secret
            category: 
              - Movie-HD-Bluray
              - Movie-MP4
              - 22
    list_match:
      from: 
        - movie_list: watchlist
      action: accept
      remove_on_match: yes
      single_match: yes
    set:
      content_filename: "{{ imdb_name|replace('/', '_')|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
    template: transmit-movies  
    prowl:
      apikey: secret
      application: Movies
      event: New Movie
      description: "{{ imdb_name|replace('/', '_')|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
    list_remove:
      - trakt_list:
          account: secret
          list: watchlist
 
tasks:
  fill_movie_list:
    priority: 2
    trakt_list:
      account: secret
      list: watchlist
      strip_dates: yes
      type: movies
    list_add: 
      - movie_list: watchlist
    accept_all: yes
 
  get_movies_1080p_bluray: #Can't find subs for YIFY
    priority: 3
    content_size:
      max: 80000
      min: 1024
    assume_quality: 1080p bluray #in case of REALLY long titles
    quality: 1080p+ bluray+
    template: download-movie
 
  get_movies_1080p: #probably no subs but i like 1080p more
    priority: 4
    content_size:
      max: 80000
      min: 1024
    assume_quality: 1080p bluray #in case of REALLY long titles
    quality: 1080p+ 
    template: download-movie
 
  get_movies_NO_YIFY_720p: #Accept lower quality as 1080p seems unavailable
    priority: 5
    content_size:
      max: 16000
      min: 500
    assume_quality: 720p bluray #in case of REALLY long titles
    regexp:
      reject:
        - YIFY
    quality: 720p+ hdtv+ 
    template: download-movie
 
  get_movies_720p: #Playing hard to get? Huh, Punk!
    priority: 6
    content_size:
      max: 16000
      min: 500
    assume_quality: 720p bluray #in case of REALLY long titles
    template: download-movie
 
  get_series_1080p:
    priority: 7
    content_size:
      max: 80000
      min: 1024
    configure_series:
      from:
        trakt_list:
          account: secret
          list: watchlist
          strip_dates: yes
          type: shows
        filesystem: T:\plex\shows
      settings:
        tracking: backfill
        quality: 1080p+ webrip+
    template: get-series 
    
  get_series_720p:
    priority: 8
    content_size:
      max: 15360
      min: 500
    configure_series:
      from:
        trakt_list:
          account: secret
          list: watchlist
          strip_dates: yes
          type: shows
        filesystem: T:\plex\shows
      settings:
        tracking: backfill
        quality: 720p+ webrip+
    template: get-series
      
      
      
schedules: 
  - tasks: '*'
    interval: 
      hours: 1

Can somebody point me in the right direction? Thanks.

Posts: 4

Participants: 2

Read full topic

BUG: Unhandled error in plugin discover

$
0
0

@Juxjustin wrote:

I get this in log:

2016-08-07 20:04 CRITICAL task get_movies BUG: Unhandled error in plugin discover: __init__() got an unexpected keyword argument 'encoding'
2016-08-07 20:04 CRITICAL manager get_movies An unexpected crash has occurred. Writing crash report to /home/osmc/.config/flexget/crash_report.2016.08.07.200412709328.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.2.10
2016-08-07 20:04 WARNING task get_movies Aborting task (plugin: discover)

my crashlog:

2016-08-07 19:50 CRITICAL task get_movies BUG: Unhandled error in plugin discover: __init__() got an unexpected keyword argument 'encoding'
Traceback (most recent call last):
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 444, in __run_plugin
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 273, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 144, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/urlrewrite/piratebay.py", line 134, in search
soup = get_soup(page)
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/soup.py", line 16, in get_soup
return BeautifulSoup(obj, parser)
File "/usr/local/lib/python2.7/dist-packages/bs4/__init__.py", line 228, in __init__
self._feed()
File "/usr/local/lib/python2.7/dist-packages/bs4/__init__.py", line 289, in _feed
self.builder.feed(self.markup)
File "/usr/local/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 68, in feed
doc = parser.parse(markup, **extra_kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/html5parser.py", line 235, in parse
self._parse(stream, False, None, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/html5parser.py", line 85, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/_tokenizer.py", line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/html5lib/_inputstream.py", line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'

config :

discover:
          what:
            - movie_list: movies
          from:
            - piratebay:
                category: highres movies
                sort_by: default
            - publichd:
                category:
                  - BluRay 720p
                  - BluRay 1080p
                  - BRRip
            - rarbg:
                category:
                  - x264 1080p
                  - x264 720p

What is wrong? I'm using v2.2.10

Posts: 3

Participants: 2

Read full topic

Daemon Schedule Stoped Working

$
0
0

@soloam wrote:

Hello, I have a very solid config that I use for some time. Out of nowhere the Schedule stoped working in daemon mode. I call it with flexget daemon start -d, and nothing. There are no error's on the log and I made no chages to my config in the past days.

schedules:
  - tasks: [Auto*]
    schedule:
      minute: '30'

  - tasks: [TV*]
    schedule:
      hour: '0-23/2'
      minute: 00
      
  - tasks: [Anime*]
    schedule:
      hour: '0-23/2'
      minute: 00

  - tasks: [Movies*]
    schedule:
      hour: '1-23/2'
      minute: 00

Thank you

Posts: 4

Participants: 2

Read full topic

Jinja variables in url entries

$
0
0

@m_hume wrote:

Hi
Im new to jinja templating and have a question regarding url encoding.

With the movie_name = "Turner & Hooch"
in my config i have something like

url: 'https://myserver.com?mn={{movie_name}}'

which gives me the url https://myserver.com?mn=Turner%20&%20Hooch
The ampersand doesn't get url encoded so mn="Turner "

if i use escape

url: 'https://myserver.com?mn={{movie_name|escape}}'

i get the url https://myserver.com?mn=Turner%20&amp;%20Hooch
The ampersand doesn't get url encoded so mn="Turner "

if i use urlencode i get a double encoding issue

url: 'https://myserver.com?mn={{movie_name|urlencode}}'

gives me the url https://myserver.com?mn=Turner%2520%2526%2520Hooch

Now i've settled with the final method and do a url decode in the web page logic that the url loads.
My question. Is there a better way without a double encode?
My first post here, sorry if off topic/wrong place/anything someone new might do thats not right
Cheers
mh

Posts: 2

Participants: 2

Read full topic


PirateBay RSS not working

$
0
0

@batong wrote:

Hello fellow FlexGetters!

I finally managed to move from movie_queue to movie_list, so I'm happy with that. But I seem to have problems with the Pirate Bay RSS feeds. I get the following error upon execution:

2016-08-10 13:30 WARNING  inputs        get-movies-with-imdb-rating Error during input plugin rss: Unable to download the RSS for task get-movies-with-imdb-rating (https://thepiratebay.org/rss/new/207): [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
2016-08-10 13:30 WARNING  inputs        get-movies-with-imdb-rating Error during input plugin rss: Unable to download the RSS for task get-movies-with-imdb-rating (https://thepiratebay.org/rss/top100/207): [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
2016-08-10 13:30 WARNING  discover      imdb_movies_search Input movie_list did not return anything

That particular part of the config looks like:

  #
  get-movies-with-imdb-rating:
  #
    template: imdbmovie
    priority: 10
    #    movie_queue: add
    list_add:
      - movie_list: imdbmovielist
    inputs:
      - rss: https://thepiratebay.org/rss/new/207
      - rss: https://thepiratebay.org/rss/top100/207
      - rss: http://extratorrent.cc/rss.xml?cid=4
      - rss: http://www.demonoid.pw/rss/1.xml

The extratorrent and demonoid feeds don't seem to generate any hits at all - but at least they are not giving errors.

For reference, the template imdbmovie: looks like this:

# Download new movies with a minimum score
imdbmovie:
#
template: movie
imdb:
min_score: 7.7
min_votes: 2000
min_year: 1950
reject_genres:
- horror
- film-noir
- musical
- sport
- music
accept_languages:
- english
- swedish
- estonian

Does anyone have any idea on how to fix it? The Pirate Bay is the best tracker after the demise of KAT, so it would be great to get this to work...

Posts: 1

Participants: 1

Read full topic

RSS Tasks : Input text did not return anything

$
0
0

@gazhay wrote:

Over the last 3 days, all my RSS feeds, when executing result in :slight_smile:

2016-08-11 15:04 WARNING configure_series rarbg Input text did not return anything
2016-08-11 15:04 INFO configure_series rarbg Did not get any series to generate series configuration

The Urls are still up and working, and will return data to a browser.

I was running an out-of-date flexget and updated it today - but the same result.

any ideas?

Posts: 12

Participants: 3

Read full topic

Flexget Web VHost

$
0
0

@soloam wrote:

This is not a question related with flexget, but I what to use it in flexget!

In Apache I'm able to configure vhosts so that when a certain url hits apache, I can redirect it to his folder and avoid using ports, a url for a service. Is there a way of doing something similar with services that are not running in apache? Like flexget!

Thank You all

Posts: 1

Participants: 1

Read full topic

Underscore in front of a task to have that task ignored, can I use the underscore elsewhere?

$
0
0

@paul_poco wrote:

tasks:
_task1: will ignore the task.

Can I use the _ say in a _series: section instead of using # on each line?

Save time removing # if I am testing different setups.

I am having problems with configure_series: and want to switch back and forth easily until it works again.

How do I use series.yml in config.yml? It used to work for me but now doesn't.

Posts: 3

Participants: 2

Read full topic

next_series_episodes "not valid here"

$
0
0

@Henrik_Sjodahl wrote:

I am getting this error after changing "emit_series" into "next_series_episodes": CRITICAL Error [/templates/Series-Discover/discover/what/0] The key next_series_episodes is not valid here. Only known plugin names are valid keys.

My config:

templates:
  Series-Discover:
    discover:
      limit: 10 
      what:
        - next_series_episodes: yes
      from:
        - rarbg:
            category: [18,41]
            sorted_by: seeders
            limit: 25
            use_tvdb: true
        - piratebay:
            category: video
tasks:
  Series-GetFollowing:
    priority: 5
    template:
      - Series-Global
      - Series-Discover
    configure_series:
      from:
        trakt_list:
          username: '{{ secrets.trakt.username }}'
          account: '{{ secrets.trakt.account }}'
          list: 'TV Following'
          type: shows
      settings:
        target: 720p hdtv+
        timeframe: 4 hours
        quality: 480p-720p webrip+
        propers: 24 hours

I don't understand why I get this error. Read the guide for the plugin a hundred times now. I hope someone have some insight on my problem. Thanks!

Posts: 5

Participants: 2

Read full topic

Viewing all 837 articles
Browse latest View live