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

Import existing files into flexget database

$
0
0

@Chris_Thompson wrote:

I've been running Flexget for a while but I had a hard drive crash and lost my flexget config and database. Now that I'm getting it setup again, I'm curious if there's a config that can look in my existing directories and "import" or recognize those episodes as already downloaded so that it doesn't attempt to redownload any of them in the future.

Posts: 2

Participants: 2

Read full topic


Problem with recursion_depth setting in subtitle_list plugin

$
0
0

@niawag wrote:

Hi, I'm trying to upgrade my config and getting rid of the old subtitle plugin, here is the result:

subtitles_h:     
    template: no_global
    disable: [retry_failed]
    seen: local
    subtitle_list:
      list: subtitles
      allow_dir: yes #also tried without this setting, no go either
      recursion_depth: 5
    list_match:
      from:
        - subtitle_list:
            list: subtitles
    accept_all: yes
    subliminal:
      exact_match: no
      languages:
        - fr
      providers: 
        - addic7ed 
        - opensubtitles 
        - podnapisi 
        - tvsubtitles 
        - thesubdb

I followed the wiki to write it and it's not making it through the schema validation:

2016-06-27 15:01 VERBOSE  check                         Checking config file `/usr/local/flexget/env/config.yml`
2016-06-27 15:01 WARNING  check                         Config line 82 is likely missing ':' at the end
2016-06-27 15:01 WARNING  check                         Config line 86 is likely missing ':' at the end
2016-06-27 15:01 VERBOSE  check                         Pre-checked 658 configuration lines
2016-06-27 15:01 CRITICAL check                         [/tasks/subtitles_h/subtitle_list] The key `recursion_depth` is not valid here.

If I remove the "recursion_depth" setting, it's working. Is there a problem in the wiki or in the schema validation process ?

Posts: 3

Participants: 2

Read full topic

Get torrents from magnet link

Tvdb too long?

$
0
0

@taw34 wrote:

will have to hunt into the logs to make sure but i have been noticing that flexget is not getting all of my shows/episodes (it will miss a episode, but get the following one the next week). Was just wondering if you can have have too many favorites in theTVDB for flexget (currently have ~150 shows selected as favorites)

Posts: 6

Participants: 3

Read full topic

Flexget failed list

$
0
0

@effemmeffe wrote:

I just discovered the command: flexget failed list
I run it and found a bunch of failed download.
Some of them was obviously autocorrected, since I have the files on my disk, but some of them are not, since I never got those movies.
How can I correct that?

Posts: 1

Participants: 1

Read full topic

My first ever scrip

$
0
0

@jamieo wrote:

HI all, This is my first ever flexget script and I am struggling a bit with it. I want it to download my list from trakt and then old download mp4 format but It doesn't seem to like my config. Any ideas what I am doing wrong?

tasks:
  my task:
    rss: ##my rss feed##
    configure_series:
      from:
        trakt_list:
          username: ##my username ##
          list: TV
          type: shows
      settings:
        quality: 720p
    regexp:
      from: title
      reject:
        - trailer
        - screener
        - subbed
        - dubbed
        - subtitles
        - subs
        - NL
        - Subs
    content_filter:
      require:
        - '*.mp4'
      reject:
        - '*.wmv'
        - '*.r0'
        - '*.rar'
        - '*.part0'
        - '*.mkv'
        - '*.avi'
        - '*.mpg'
    download: /tmp

flex get logs when I run: flexget --test execute

2016-07-01 02:00 INFO manager Test mode, creating a copy from database ...
2016-07-01 02:00 INFO manager Test database created
2016-07-01 02:00 VERBOSE task_queue There are 2 tasks to execute. Shutdown will commence when they have completed.
2016-07-01 02:00 WARNING task global Task doesn't have any input plugins, you should add (at least) one!
2016-07-01 02:00 WARNING details global Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-07-01 02:00 WARNING task global Task does not have any filter plugins to accept entries. You need at least one to accept the entries you want.
2016-07-01 02:00 VERBOSE details global Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)
2016-07-01 02:00 INFO content_filter global Plugin is partially disabled with --test and --learn because content filename information may not be available
2016-07-01 02:00 VERBOSE trakt_list my task Retrieving shows list TV
2016-07-01 02:00 WARNING configure_series my task Input trakt_list did not return anything
2016-07-01 02:00 INFO configure_series my task Did not get any series to generate series configuration
2016-07-01 02:00 VERBOSE details my task Produced 100 entries.
2016-07-01 02:00 VERBOSE task my task REJECTED: Supershoppers S01E00 Secrets Of Online Shopping 720p HEVC x265-MeGusta by regexp plugin because regexp 'NL' matched field 'title'
2016-07-01 02:00 VERBOSE details my task Summary - Accepted: 0 (Rejected: 1 Undecided: 99 Failed: 0)
2016-07-01 02:00 WARNING task my task Task doesn't have any output plugins, you should add (at least) one!
2016-07-01 02:00 INFO manager Removed test database

Posts: 10

Participants: 3

Read full topic

Plugins/urlrewrite

Tvdb and specials

$
0
0

@jonybat wrote:

Hi

I noticed recently that thetvdb is not retrieving the proper special episode ids. It seems to be assuming 0 as 1, in both season and episode fields.

On to the examples:

  move-series:
    disable:
      - seen
      - retry_failed
    metainfo_series: yes
    thetvdb_lookup: yes
    mock:
      - { title: 'Mr Robot S00E01', location: '/tmp/Mr Robot S00E01.mkv'}
    accept_all: yes
    move:
      to: "/tmp/{{tvdb_series_name|escape|replace(''', '')|pathscrub}}/"
      filename: "{{tvdb_series_name|escape|replace(''', '')|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"

flexget -L debug -c test-specials.yml --test execute --dump
http://pastebin.com/TjXCWUE3

Changing from S00E01 to S01E00 for example, gives a similar result, translating to S01E01

Im quite sure that this used to work. Just not sure if it is a bug or some behavior that changed.

Posts: 4

Participants: 2

Read full topic


HTTP error 502 received in cronjob on rss-feed update

$
0
0

@PeterCloet wrote:

Hi,

I configured Flexget to check my personal rss-feed on showrss on a daily basis using a cronjob. This was working fine until a couple of days ago.

Since a couple of days I have been receiving the following error in the flexget.log:
"http error 502 received from http://showrss.info/.user/xxxxx.rss".

When I run the job manually (~/flexget/bin/flexget execute) everything works normal and Flexget is able to read the rss-feed.

Any idea what is happening here and how to fix this?

Peter

Posts: 8

Participants: 2

Read full topic

Unexpected html content received from cinemageddon (CG) tracker

$
0
0

@zombienoise wrote:

Hi all, I'm trying to configure flexget to work with cinemageddon, but I repeatedly get the same error when executing it. I am using a seedbox via SSH. Pasted below:

[astraeus ~] ~/flexget/bin/flexget execute
2016-07-11 21:22 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-07-11 21:22 CRITICAL urlrewriter   cinemageddon    Unknown url-rewriter urlrewrite_redirect
2016-07-11 21:22 VERBOSE  backlog       cinemageddon    Added 1 entries from backlog
2016-07-11 21:22 VERBOSE  details       cinemageddon    Produced 11 entries.
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195491`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195490`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195489`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195488`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195487`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195486`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195485`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195484`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195483`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195482`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Field `TorrentId` is now `195481`
2016-07-11 21:22 VERBOSE  manipulate    cinemageddon    Modified 11 entries.
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Turbo & Tacho [Germany] [2013/TVRIP/DiVX] (Comedy)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195490&name=Turbo%20%26%20Tacho%20%5BGermany%5D%20%5B2013%2FTVRIP%2FDiVX%5D%20%28Comedy%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `In The Shadow Of Kilimanjaro [1986/DVDRIP/XViD] (Horror)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195489&name=In%20The%20Shadow%20Of%20Kilimanjaro%20%5B1986%2FDVDRIP%2FXViD%5D%20%28Horror%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Invasion of the Neptune Men [Japan] [1961/DVDRIP/x264] (Sci-Fi)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195488&name=Invasion%20of%20the%20Neptune%20Men%20%5BJapan%5D%20%5B1961%2FDVDRIP%2Fx264%5D%20%28Sci-Fi%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `The Life Zone [2011/DVDRIP/x264] (Thriller)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195487&name=The%20Life%20Zone%20%5B2011%2FDVDRIP%2Fx264%5D%20%28Thriller%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Death Promise [Widescreen ENG/RiffTrax Fandub] [1977/DVDRIP/DVD-R] (Martial Arts)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195486&name=Death%20Promise%20%5BWidescreen%20ENG%2FRiffTrax%20Fandub%5D%20%5B1977%2FDVDRIP%2FDVD-R%5D%20%28Martial%20Arts%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Robot vs Aztec Mummy [Mexico] [1958/DVDRIP/DVD-R] (Sci-Fi)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195485&name=Robot%20vs%20Aztec%20Mummy%20%5BMexico%5D%20%5B1958%2FDVDRIP%2FDVD-R%5D%20%28Sci-Fi%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `An Innocent Love [1982/DVDRIP/DVD-R] (Drama)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195484&name=An%20Innocent%20Love%20%5B1982%2FDVDRIP%2FDVD-R%5D%20%28Drama%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `South Seas Adventure [1958/BDRIP-720p/x264] (Adventure)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195483&name=South%20Seas%20Adventure%20%5B1958%2FBDRIP-720p%2Fx264%5D%20%28Adventure%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `I Hate Women aka Framed for Murder [1934/Other/Other] (Thriller)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195482&name=I%20Hate%20Women%20aka%20Framed%20for%20Murder%20%5B1934%2FOther%2FOther%5D%20%28Thriller%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Big Bad John [1990/DVDRIP/DVD-R] (Action)` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://cinemageddon.net/download.php?id=195481&name=Big%20Bad%20John%20%5B1990%2FDVDRIP%2FDVD-R%5D%20%28Action%29.torrent` - maybe a login page?)
2016-07-11 21:22 VERBOSE  task          cinemageddon    REJECTED: `Woman and the Hunter [UK] [1957/TVRIP/XViD] (Drama)` by seen plugin because entry with title `Woman and the Hunter [UK] [1957/TVRIP/XViD] (Drama)` is already marked seen in the task cinemageddon at 2016-07-11 21:05
2016-07-11 21:22 VERBOSE  details       cinemageddon    Summary - Accepted: 0 (Rejected: 11 Undecided: 0 Failed: 0)
[astraeus ~]

and here's my config.yml (cookies removed):

tasks:
# Cinemageddon
  cinemageddon:
    disable_urlrewriters: [urlrewrite_redirect]
    headers:
        Cookie: "uid=;pass="
        User-Agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.60 Safari/537.36"
    rss:
      url: http://cinemageddon.net/rss.xml
      # Force ASCII because the feed is not encoded properly.
      ascii: yes
    regexp:
      from: title
      reject:
        - .+\(XXX\)
        - .+\(OST\)
    accept_all: yes
    manipulate:
      # Create TorrentId field by extracting the id from the URL.
      - TorrentId:
          from: url
          extract: 'http://cinemageddon\.net/details\.php\?id=(\d+).*'
    #exec: echo >> "/media/6b1a/home/coop/private/rtorrent/watch/[source=cg][id=%(TorrentId)s][title=none]"
    rtorrent:
        uri: /media/6b1a/home/coop/private/rtorrent/.socket

How can I fix this? I can't find anything about cinemageddon in the forums or elsewhere.

Posts: 3

Participants: 2

Read full topic

[SOLVED] Flexget can't see Transmissionrpc is installed

$
0
0

@Joel_Santos_Rico wrote:

Hi,

I am trying to instal lflexget on a raspberry pi 2 running OSMC. I installed transmissionrpc, but flexget seems to be unable to see it, as it complains when I run a --test execute:

osmc@osmc-Grumbole:~$ flexget/bin/flexget --test execute
2016-07-13 15:54 INFO     manager                       Test mode, creating a copy from database ...
2016-07-13 15:54 INFO     manager                       Test database created
2016-07-13 15:54 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-07-13 15:54 CRITICAL transmission  Test tast       Transmissionrpc module version 0.11 or higher required.
2016-07-13 15:54 WARNING  task          Test tast       Aborting task (plugin: transmission)
2016-07-13 15:54 INFO     manager                       Removed test database

I tried uninstalling it and reinstall it both through pip and easy_install, and the results are the same. I upgraded the packages after installing, but pip told me that I was already at the latest version. pip list shows the right version (0.11).

I've seen a relater post in the forum (Flexget complains about “transmissionrpc 0.11” requirement even though its there), but the problem there was that the OP was trying to install transmissionrpc in a different machine than the one running flexget by mistake, so it doesn't apply to my case. I tried to open a python shell, and I was able to "import transmissionrpc", so it's not a path issue. RPC is enabled in the transmission config file, the username and password are correct, and the LAN has been included to the IP whitelist. I can connect to the webserver with the same credentials (I don't know if that matters). My config file is as follows.

> tasks:
>   Test tast:
>     rss: http://showrss.info/user/somersslink
>     all_series: yes
>     transmission:
>       host: localhost
>       port: 9091
>       username: rightusername
>       password: correctpassword
>       addpaused: no

Any clues? has it happened to you, guys?

Posts: 5

Participants: 3

Read full topic

AttributeError: 'NoneType' object has no attribute 'items' (daemon broken?)

$
0
0

@jgrn307 wrote:

I upgraded to the latest and greatest flexget on MacOS X 10.11.3:
sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/flexget -V
2.1.10
You are on the latest release.

But the daemon is now not starting with the following error. It was working great before I did a:
sudo pip install --upgrade setuptools
sudo pip install --upgrade flexget

Any ideas?

sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/flexget daemon start
2016-07-13 19:04 WARNING config_schema movie_queue plugin is deprecated. Please switch to using movie_list
2016-07-13 19:04 WARNING config_schema movie_queue plugin is deprecated. Please switch to using movie_list
2016-07-13 19:04 WARNING config_schema movie_queue plugin is deprecated. Please switch to using movie_list
2016-07-13 19:04 INFO scheduler Starting scheduler
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/flexget", line 11, in
sys.exit(main())
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/manager.py", line 311, in start
self.handle_cli()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/manager.py", line 335, in handle_cli
self.daemon_command(command_options)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/manager.py", line 401, in daemon_command
fire_event('manager.daemon.started', self)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/event.py", line 106, in fire_event
result = event(*args, **kwargs)
File "/opt/local/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 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/daemon/irc.py", line 651, in irc_start
irc_update_config(manager)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/flexget/plugins/daemon/irc.py", line 665, in irc_update_config
new_config_hash = hashlib.md5(str(sorted(list(config.items()))).encode('utf-8')).hexdigest()
AttributeError: 'NoneType' object has no attribute 'items'

Posts: 3

Participants: 2

Read full topic

Table already exists

$
0
0

@Symbiot78 wrote:

hi

after upgrading flexget I am seeing the following issue:

2016-07-14 20:41 CRITICAL plugin Exception while loading plugin flexget.plugins.output.send_telegram
2016-07-14 20:41 ERROR plugin Table 'telegram_chat_ids' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/send_telegram.py", line 42, in <module>
class ChatIdEntry(ChatIdsBase):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
_MapperConfig.setup_mapping(cls, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
self._setup_table()
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 395, in _setup_table
**table_kw)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 421, in __new__
"existing Table object." % key)
InvalidRequestError: Table 'telegram_chat_ids' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 9, in <module>
load_entry_point('FlexGet==2.1.11', 'console_scripts', 'flexget')()
File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 310, in start
self.initialize()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 182, in initialize
plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 431, in load_plugins
_load_plugins_from_dirs(extra_dirs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/send_telegram.py", line 42, in <module>
class ChatIdEntry(ChatIdsBase):
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/api.py", line 55, in __init__
_as_declarative(cls, classname, cls.__dict__)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 88, in _as_declarative
_MapperConfig.setup_mapping(cls, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 103, in setup_mapping
cfg_cls(cls_, classname, dict_)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 131, in __init__
self._setup_table()
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/ext/declarative/base.py", line 395, in _setup_table
**table_kw)
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 421, in __new__
"existing Table object." % key)
sqlalchemy.exc.InvalidRequestError: Table 'telegram_chat_ids' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.

any ideas?

Posts: 2

Participants: 1

Read full topic

ERROR plugin 'module' object has no attribute '_base'

$
0
0

@numa1985 wrote:

Ho,

Since my last upgrade, flexget is not starting anymore wit this error message.
Any help ?

Thx

flexget -L verbose daemon start -d
2016-07-15 07:54 CRITICAL plugin Exception while loading plugin flexget.plugins.services.pogcal_acquired
2016-07-15 07:54 ERROR plugin 'module' object has no attribute '_base'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/services/pogcal_acquired.py", line 13, in <module>
from flexget.utils.soup import get_soup
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/soup.py", line 4, in <module>
from bs4 import BeautifulSoup
File "/usr/local/lib/python2.7/dist-packages/bs4/__init__.py", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/usr/local/lib/python2.7/dist-packages/bs4/builder/__init__.py", line 314, in <module>
from . import _html5lib
File "/usr/local/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 70, in <module>
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
manager.start()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 310, in start
self.initialize()
File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 182, in initialize
plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 431, in load_plugins
_load_plugins_from_dirs(extra_dirs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 387, in _load_plugins_from_dirs
__import__(module_name)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/services/pogcal_acquired.py", line 13, in <module>
from flexget.utils.soup import get_soup
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/soup.py", line 4, in <module>
from bs4 import BeautifulSoup
File "/usr/local/lib/python2.7/dist-packages/bs4/__init__.py", line 30, in <module>
from .builder import builder_registry, ParserRejectedMarkup
File "/usr/local/lib/python2.7/dist-packages/bs4/builder/__init__.py", line 314, in <module>
from . import _html5lib
File "/usr/local/lib/python2.7/dist-packages/bs4/builder/_html5lib.py", line 70, in <module>
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: 'module' object has no attribute '_base'

Posts: 2

Participants: 2

Read full topic

What database table stores the "rejected" reason for each entry?

$
0
0

@thisguy wrote:

I'm trying to figure out where the rejected reason is stored in the database for each entry. I'd like to get the last assessment and descriptive reason for each entry (accepted/rejected/ignored/etc reason).

2013-01-15 00:32 VERBOSE task jobNameHere REJECTED: SomeShow#1 entry by series plugin because quality already downloaded
2013-01-15 00:32 VERBOSE task jobNameHere REJECTED: SomeShow#2 entry - x264 / 720p by series plugin because quality already downloaded
2013-01-15 00:32 VERBOSE series jobNameHere Ignored Some Other Show entry. Does not meet quality requirement 480p.

I wanted to script some external alerting when certain things happen causing entries to be rejected, but I can't seem to find the rejected reason anywhere in the database. I'd rather not parse the log files, as a quick sqlite query would be the most appropriate.

Is there any database diagram or description of what's stored in each of the sqlite tables?

Here's the SQL I managed to build so far. It works fairly well, but only gives me details if/when an entry is accepted, so I'm not get the last run rejection information.

SELECT s.id AS series_id,
s.NAME,
se.identifier,
se.season,
number AS episode,
quality,
downloaded,
er.title,
first_seen,
h.url,
h.time AS acceptedTime,
h.details
FROM series s
LEFT OUTER JOIN series_episodes se
ON s.id = se.series_id
LEFT OUTER JOIN episode_releases er
ON er.episode_id = se.id
LEFT OUTER JOIN history h
ON h.title = er.title
WHERE s.id = 11
ORDER BY se.identifier DESC

Posts: 4

Participants: 3

Read full topic


RSS urlrewrite problem

$
0
0

@MarcosRamirez wrote:

Hi,

Is my first post, and i hope i don't break any rulle :slight_smile:

Then i want to say i don't found a way to see (debug) the rewrited url, that's will helps to debug the problem by myself, if is a simple regexp mistake, or similar. as you can see here:

$ flexget execute --debug --verbose -L debug
2016-07-15 21:19 INFO     performance                   Enabling plugin and SQLAlchemy performance debugging
2016-07-15 21:19 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-07-15 21:19 VERBOSE  backlog       DivxTotalRSS    Added 1 entries from backlog
2016-07-15 21:19 VERBOSE  details       DivxTotalRSS    Produced 31 entries.
2016-07-15 21:19 VERBOSE  task          DivxTotalRSS    REJECTED: `Stranger Things 1x01` by retry_failed plugin because waiting before retrying entry which has failed in the past. (failure reason: Unexpected html content received from `http://www.divxtotal.com/series/torrent/55032/stranger-things-1x01/` - maybe a login page?)

Well, let's me explain the problem:

My problem is with a local RSS site, the RSS points to an html file, containing the torrent download link (like almost all sites, i guess), and i get the "login page" error

I tryed to rewrite to correct torrent path, in this way:

tasks:
    DivxTotalRSS:
       urlrewrite:
         DivxTotalRSS:
           regexp: 'http://www.divxtotal.com/series/torrent/(?P<id>\d+)/(?P<title>.*)'
           format: 'http://www.divxtotal.com/download.php\?id=\g<id>'
       rss: http://www.divxtotal.com/rss.php
       template: TV
       verify_ssl_certificates: no

But seems like something's wrong... because i keep getting the same error.

Any one can bring me some tip? :slight_smile:

Posts: 1

Participants: 1

Read full topic

Flexget strange error with Downton Abbey

$
0
0

@Mindegy_Tok wrote:

Hello

Ran into this error, and I can't fix it, can you help me?

2016-07-16 21:15 ERROR set Ncore_HU Could not set content_filename for Downton.Abbey.S04.READ.NFO.Christmas.Special.720p.Bluray.x264.HUN-nIk [Sorozat (HUN HD)]: (UndefinedError) 'tvdb_ep_name' is undefined

2016-07-16 21:15 CRITICAL task Ncore_HU BUG: Unhandled error in plugin transmission: Trying to render non string template, got None

2016-07-16 21:15 CRITICAL manager Ncore_HU An unexpected crash has occurred. Writing crash report to /volume1/@appstore/flexget/var/crash_report.2016.07.16.211513190870.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.13

2016-07-16 21:15 WARNING task Ncore_HU Aborting task (plugin: transmission)

.

Crash report:

2016-07-16 21:15 ERROR set Ncore_HU Could not set content_filename for Downton.Abbey.S04.READ.NFO.Christmas.Special.720p.Bluray.x264.HUN-nIk [Sorozat (HUN HD)]: (UndefinedError) 'tvdb_ep_name' is undefined

2016-07-16 21:15 CRITICAL task Ncore_HU BUG: Unhandled error in plugin transmission: Trying to render non string template, got None
Traceback (most recent call last):
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/task.py", line 443, in _runplugin
return method(*args, **kwargs)
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/event.py", line 23, in call
return self.func(*args, **kwargs)
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/plugin_transmission.py", line 300, in on_task_output
self.add_to_transmission(self.client, task, config)
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/plugin_transmission.py", line 389, in add_to_transmission
options = self.maketorrent_options_dict(config, entry)
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/plugins/plugin_transmission.py", line 371, in maketorrent_options_dict
post['content_filename'] = entry.render(opt_dic['content_filename'])
File "/usr/local/flexget/env/lib/python2.7/site-packages/flexget/entry.py", line 287, in render
raise ValueError('Trying to render non string template, got %s' % repr(template))
ValueError: Trying to render non string template, got None

Posts: 9

Participants: 3

Read full topic

IMDB min_score & min_votes always reports 0

$
0
0

@tomh wrote:

Logs report that the IMDB score is always 0 and votes are always 0 with the following config:

movies:
   imdb:
     min_votes: 5000
     min_score: 6.5
     min_year: 2014
     accept_languages:
        - english

Logs:

2016-07-18 02:16 INFO imdb movies Didn't accept [Movie] because of rule(s) min_score (0.0 < 6.5), min_votes (0 < 5000)

Any help please?

Posts: 1

Participants: 1

Read full topic

trakt_watched rejecting everything

$
0
0

@jgrn307 wrote:

Folks:

I have a sync task below that is supposed to just grab all movies from my "movies" list on trakt, and reject any that were watched. However, the below task is rejecting EVERYTHING in the list.

2016-07-18 17:02 VERBOSE task get_movieshd_trakt REJECTED: 'Somemovie (2000)by seen plugin because entry with titleSomemovie (2000)` is already marked seen in the task get_movieshd_trakt at 2016-07-18 15:19

I'll note that I originally filled this list up with movies, then did a purge before a ran it, so is it possible the purge isn't fully clearing the status of the movies?

get_movieshd_trakt:
priority: 30
trakt_list:
username: ###
account: ###
type: movies
list: movies
accept_all: yes
trakt_lookup:
account: ###
username: ###
if:
- trakt_watched: reject
list_add:
- movie_list: movieshd

Posts: 2

Participants: 1

Read full topic

Can't understand why some episodes are rejected

Viewing all 837 articles
Browse latest View live