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

How to control overwrite with move plugin?

$
0
0

@effemmeffe wrote:

Just blew half of a movie...
The torrent contain 2 avi files, CD1 and CD2.
Once finished flexget moved the CD1 on the final destination and then, as clearly described in the wiki, moved the CD2 with the same name, wiping out the fisrt half of the movie.
How can I avoid this for the future?

Posts: 9

Participants: 4

Read full topic


Unusual sort behavior, can you help?

$
0
0

@mabo1 wrote:

Hello,

I have just started using Flexget and my config.yml file is shown below.

I have used the "sorted_by: seeders" option, but what I find is the search results are not always sorted by the highest number of seeders. I have noticed a pattern in the results, only the first episode is sorted by seeders, subsequent episodes are sorted by some other method. I tested this by changing the 'begin:' episode number and then comparing the results to a manual search on the web site.

Could this be a bug?

templates:
  show-setup:
    configure_series:
      from:
        filesystem:
          - /home/mabo/tv-shows/
tasks:
  tv:
    template: [show-setup]
    discover:
      what:
        - next_series_episodes: yes
      from:
        - rarbg:
            category: 18
            sorted_by: seeders
            ranked: False
      release_estimations: ignore
    series:
      - Series Title:
          begin: S02E09
          qualities:
            - webdl|hdtv h264
          propers: no
          identified_by: ep
    reorder_quality:
      hdtv:
        above: webdl
    download: ~/Downloads/

Posts: 1

Participants: 1

Read full topic

Daemon issues

$
0
0

@castelen wrote:

Hello,

I have trouble getting Flexget daemon to work on Windows 10 properly.

I followed the install guide for python 3.5 and Flexget, created a config file and windows scheduler task.
If I start the daemon manually in cmd with "flexget daemon start" it's working fine, but when I try to start it with flexget-headless it wont start.

Flexget-headless won't start with scheduler or manually in cmd. There is no error messages in the log file or in general.

My config file should be fine, since starting the daemon with manually in cmd with "flexget daemon start" shows the daemon running and the program downloads everything as it's supposed to.

Windows scheduler settings should be fine also, since it's set up exactly like in the tutorial:

In the Task Scheduler, “Create a Task”. Use a descriptive name. Set a new trigger - “At log on” or “At startup” are good candidates. Optionally set a small delay. Configure an action - “Start a program”. Navigate to your Python scripts folder and select “flexget-headless.exe”. Add arguments: “daemon start”. Hit “OK”. Optionally run your new task, then check on it using flexget daemon status.

Does anyone know what the issue is?

Posts: 1

Participants: 1

Read full topic

Get it working on openWRT

$
0
0

@Joel_Santos_Rico wrote:

Hi,
I know this has been discussed before and that is public knowledge that given entware doesn't have a full-fledged python installation, there are some issues with Flexget. I would like to mention that I have a recent version of flexget running by commenting the relevant lines, as mentioned in Issue 1093.

Recently, python3 has been added to entware, and with it, a package named python3-lib2to3 Entware-NG issue #268). I tried to install Flexget on my router (RT-AC56U running the latest version), but flexget is still complaining that there is no lib2to3 installed. I tried to import the library, and it fails in python2 and works on python3, which kind of makes sense, as the package is named python3-lib2to3, but I think I am missing something. I must be doing something wrong. So my question is, do the additions of python3 and python3-lib2to3 to entware make any difference on flexget running or not? Has somebody managed to get it running?

It's just more a matter of curiosity and learning than a necessity, if I don't get it working it won't be a big thing, as I have an older version running.

Thanks!

Posts: 1

Participants: 1

Read full topic

Installation Issue - pip install flexget - [Errno 104] Connection reset by peer

$
0
0

@lopes wrote:

Hi,

I'm trying to install flexget on my server, but the instalation fails with the following pip output.
Any help?
NOTE: I remove every "h" from the "https://", to can post the info...

uname -a

Linux Server 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:06:37 UTC 2016 i686 i686 i686 GNU/Linux

pip -V

pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

python -V

Python 2.7.6

sudo pip install flexget

Downloading/unpacking flexget
Real name of requirement flexget is flexget
Downloading FlexGet-2.3.30-py2.py3-none-any.whl (2.6MB): 2.6MB downloaded
Downloading/unpacking pathlib>=1.0 (from flexget)
Downloading pathlib-1.0.1.tar.gz (49kB): 49kB downloaded
Running setup.py (path:/tmp/pip_build_root/pathlib/setup.py) egg_info for package pathlib

Downloading/unpacking rpyc (from flexget)
Downloading rpyc-3.3.0.tar.gz (53kB): 53kB downloaded
Running setup.py (path:/tmp/pip_build_root/rpyc/setup.py) egg_info for package rpyc

Downloading/unpacking Safe>=0.4 (from flexget)
Downloading Safe-0.4-py2-none-any.whl (56kB): 56kB downloaded
Requirement already satisfied (use --upgrade to upgrade): html5lib>=0.11 in /usr/lib/python2.7/dist-packages (from flexget)
Downloading/unpacking colorclass>=2.2.0 (from flexget)
Downloading colorclass-2.2.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/colorclass/setup.py) egg_info for package colorclass

Downloading/unpacking PyRSS2Gen (from flexget)
Downloading PyRSS2Gen-1.1.tar.gz
Running setup.py (path:/tmp/pip_build_root/PyRSS2Gen/setup.py) egg_info for package PyRSS2Gen

Downloading/unpacking python-dateutil>=2.5.2 (from flexget)
Downloading python_dateutil-2.5.3-py2.py3-none-any.whl (201kB): 201kB downloaded
Downloading/unpacking flask-cors>=2.1.2 (from flexget)
Downloading Flask_Cors-3.0.2-py2.py3-none-any.whl
Downloading/unpacking jinja2 (from flexget)
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB): 263kB downloaded
Downloading/unpacking flask-compress>=1.2.1 (from flexget)
Downloading Flask-Compress-1.3.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/flask-compress/setup.py) egg_info for package flask-compress

Downloading/unpacking requests<3.0,>=2.8.0 (from flexget)
Downloading requests-2.11.1-py2.py3-none-any.whl (514kB): 514kB downloaded
Downloading/unpacking flask-login>=0.3.2 (from flexget)
Downloading Flask-Login-0.3.2.tar.gz
Running setup.py (path:/tmp/pip_build_root/flask-login/setup.py) egg_info for package flask-login

Downloading/unpacking apscheduler>=3.2.0 (from flexget)
Downloading APScheduler-3.2.0-py2.py3-none-any.whl (52kB): 52kB downloaded
Downloading/unpacking future>=0.15.2 (from flexget)
Downloading future-0.15.2.tar.gz (1.6MB): 1.6MB downloaded
Running setup.py (path:/tmp/pip_build_root/future/setup.py) egg_info for package future

warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'

Downloading/unpacking jsonschema>=2.0 (from flexget)
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Downloading/unpacking SQLAlchemy<1.999,>=1.0.9 (from flexget)
Downloading SQLAlchemy-1.0.15.tar.gz (4.8MB): 4.8MB downloaded
Running setup.py (path:/tmp/pip_build_root/SQLAlchemy/setup.py) egg_info for package SQLAlchemy

warning: no files found matching '*.jpg' under directory 'doc'
warning: no files found matching '*.mako' under directory 'doc'
warning: no files found matching 'distribute_setup.py'
warning: no files found matching 'sa2to3.py'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'

Downloading/unpacking guessit<=2.0.4 (from flexget)
Downloading guessit-2.0.4.tar.gz (73kB): 73kB downloaded
Running setup.py (path:/tmp/pip_build_root/guessit/setup.py) egg_info for package guessit
Download error on ttps://pypi.python.org/simple/pytest-runner/: [Errno 104] Connection reset by peer -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on ttps://pypi.python.org/simple/: [Errno 104] Connection reset by peer -- Some packages may not be found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/guessit/setup.py", line 78, in
setup(**args)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
setupdistribution = dist = klass(attrs)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 315, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 361, in fetch_build_eggs
replace_conflicting=True,
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match
return self.obtain(req, installer)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain
return installer(requirement)
File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 428, in fetch_build_egg
return cmd.easy_install(req)
File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 658, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
Complete output from command python setup.py egg_info:
Download error on ttps://pypi.python.org/simple/pytest-runner/: [Errno 104] Connection reset by peer -- Some packages may not be found!

Couldn't find index page for 'pytest-runner' (maybe misspelled?)

Download error on ttps://pypi.python.org/simple/: [Errno 104] Connection reset by peer -- Some packages may not be found!

No local packages or working download links found for pytest-runner

Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip_build_root/guessit/setup.py", line 78, in

setup(**args)

File "/usr/lib/python2.7/distutils/core.py", line 111, in setup

_setup_distribution = dist = klass(attrs)

File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 315, in init

self.fetch_build_eggs(attrs['setup_requires'])

File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 361, in fetch_build_eggs

replace_conflicting=True,

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 851, in resolve

dist = best[req.key] = env.best_match(req, ws, installer)

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1123, in best_match

return self.obtain(req, installer)

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 1135, in obtain

return installer(requirement)

File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 428, in fetch_build_egg

return cmd.easy_install(req)

File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 658, in easy_install

raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/guessit
Storing debug log for failure in /home/username/.pip/pip.log

Posts: 8

Participants: 2

Read full topic

Torrents added to deluge from flexget often hang

$
0
0

@jon wrote:

I've noticed over the past several weeks torrents are starting to hang. As in they get added to deluge and the content rename & settings are applied, but zero connections are made (though i see peer & seed counts)

I have to add a new torrent through the UI to kick start it. (i keep a linux distro torrent file handy)

Any one seen this behavior? the torrents added through flexget are not paused. It's very perplexing.

Posts: 1

Participants: 1

Read full topic

Error in moving files task

$
0
0

@herghost wrote:

Hi, I have been trying to follow the recipe for transmission / showrss at http://flexget.com/Cookbook/Series/SeriesTransmissionshowRSS

I have worked out that find has been replaced by filesystem and I have implemented that, however when my move task task is executed it compiles all the finished downloads into one file and combines the names?

sort-files:
filesystem:
path: /home/dave/downloads/
regexp: '.*\.(avi|mkv|mp4)$'
recursive: yes
accept_all: yes
seen: local
thetvdb_lookup: yes
all_series:
parse_only: yes
series:
- Adventure Time
move:
to: /home/dave/media/TV/{{ tvdb_series_name }}
filename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}'

What have I done wrong? How to I get it to create one file for each download and place it in the correct folder?

Cheers
Dave

Posts: 3

Participants: 2

Read full topic

clean_transmission removes all finished torrents

$
0
0

@blacksmith wrote:

Hi everyone!

It seems that clean_transmission plugin is removing all finished torrents, no matter the value of 'finished_for' of 'min_ratio' settings.

Flexget is executing on a Raspberry 3 with OSMC.

My version of Flexget:

osmc@RaspberryPi3:~/.flexget$ flexget -V
2.3.32

My task in config.yml:

  clean:
    priority: 3
    clean_transmission:
      host: localhost
      port: 9091
      username: <my_user>
      password: <my_password>
      finished_for: 1 days
      #min_ratio: 0.5
      delete_files: No
      transmission_seed_limits: Yes
    disable: [details]

The log file after a successful execution:

2016-09-22 11:40 WARNING  task          clean           Task doesn't have any input plugins, you should add (at least) one!
2016-09-22 11:40 WARNING  task          clean           Task does not have any filter plugins to accept entries. You need at least one to accept the entries you  want.
2016-09-22 11:40 WARNING  task          clean           Task doesn't have any output plugins, you should add (at least) one!
2016-09-22 11:40 VERBOSE  transmission  clean           Torrent "<my_torrent1>": status: "seeding" - ratio: 0.0653 -  date added: 2016-09-22 08:39:00 - date done: 2016-09-22 09:10:45
2016-09-22 11:40 INFO     transmission  clean           Removing finished torrent `<my_torrent1>` from transmission
2016-09-22 11:40 VERBOSE  transmission  clean           Torrent "<my_torrent2>": status: "seeding" - ratio: 0.0881 -  date added: 2016-09-22 08:39:27 - date done: 2016-09-22 09:10:28
2016-09-22 11:40 INFO     transmission  clean           Removing finished torrent `<my_torrent2>` from transmission
2016-09-22 11:40 VERBOSE  transmission  clean           Torrent "<my_torrent3>": status: "seeding" - ratio: 0.0334 -  date added: 2016-09-22 09:05:50 - date done: 2016-09-22 11:05:53
2016-09-22 11:40 INFO     transmission  clean           Removing finished torrent `<my_torrent3>` from transmission
2016-09-22 11:40 VERBOSE  transmission  clean           Torrent "<my_torrent4>": status: "seeding" - ratio: 0.2115 -  date added: 2016-09-22 08:37:07 - date done: 2016-09-22 09:04:13
2016-09-22 11:40 INFO     transmission  clean           Removing finished torrent `<my_torrent4>` from transmission

Why is the plugin removing torrents finished only a minutes ago? It should wait 1 day, shouldn´t it?

Thank you very much!

Posts: 1

Participants: 1

Read full topic


Exception while loading plugin flexget.plugins.clients.deluge

$
0
0

@babaluma wrote:

Hello,

I don't know if I should open a bug report right away or start here first.
Since a couple of days I get the following issue when I try to run flexget.

$ flexget -V
2.3.33
You are on the latest release.

$ flexget execute
2016-09-25 14:18 CRITICAL plugin                        Exception while loading plugin flexget.plugins.clients.deluge
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 394, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/deluge.py", line 133, in <module>
    from twisted.internet.selectreactor import SelectReactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 18, in <module>
    from twisted.internet import posixbase
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 24, in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 29, in <module>
    from twisted.internet._newtls import (
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in <module>
    from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
  File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
    from OpenSSL._util import (
  File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 4, in <module>
    binding = Binding()
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in __init__
    self._ensure_ffi_initialized()
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 113, in _ensure_ffi_initialized
    libraries=libraries,
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 80, in build_ffi
    extra_link_args=extra_link_args,
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 437, in verify
    lib = self.verifier.load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 114, in load_library
    return self._load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 225, in _load_library
    return self._vengine.load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/vengine_cpy.py", line 174, in load_library
    lst = list(map(self.ffi._get_cached_btype, lst))
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 409, in _get_cached_btype
    BType = type.get_cached_btype(self, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 61, in get_cached_btype
    BType = self.build_backend_type(ffi, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 507, in build_backend_type
    base_btype = self.build_baseinttype(ffi, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 525, in build_baseinttype
    % self._get_c_name())
CDefError: 'point_conversion_form_t' has no values explicitly defined: refusing to guess which integer type it is meant to be (unsigned/signed, int/long)
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 322, 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 457, in load_plugins
    _load_plugins_from_dirs(extra_dirs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 394, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/deluge.py", line 133, in <module>
    from twisted.internet.selectreactor import SelectReactor
  File "/usr/lib/python2.7/dist-packages/twisted/internet/selectreactor.py", line 18, in <module>
    from twisted.internet import posixbase
  File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 24, in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 29, in <module>
    from twisted.internet._newtls import (
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in <module>
    from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
  File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
    from OpenSSL._util import (
  File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 4, in <module>
    binding = Binding()
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in __init__
    self._ensure_ffi_initialized()
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 113, in _ensure_ffi_initialized
    libraries=libraries,
  File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line 80, in build_ffi
    extra_link_args=extra_link_args,
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 437, in verify
    lib = self.verifier.load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 114, in load_library
    return self._load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/verifier.py", line 225, in _load_library
    return self._vengine.load_library()
  File "/usr/local/lib/python2.7/dist-packages/cffi/vengine_cpy.py", line 174, in load_library
    lst = list(map(self.ffi._get_cached_btype, lst))
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 409, in _get_cached_btype
    BType = type.get_cached_btype(self, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 61, in get_cached_btype
    BType = self.build_backend_type(ffi, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 507, in build_backend_type
    base_btype = self.build_baseinttype(ffi, finishlist)
  File "/usr/local/lib/python2.7/dist-packages/cffi/model.py", line 525, in build_baseinttype
    % self._get_c_name())
cffi.api.CDefError: 'point_conversion_form_t' has no values explicitly defined: refusing to guess which integer type it is meant to be (unsigned/signed, int/long)

Regards

Posts: 1

Participants: 1

Read full topic

Crash report - Unhandled error in lazy lookup plugin

CRITICAL task_queue (BUG: Unhandled exception during task queue run loop)

$
0
0

@papaulm wrote:

Hello to the forum,
I'm new to flexget and I used the config file from here: https://github.com/Jonybat/flexget_config.
All seem to work fine, the check passed and when I run it manually there are no errors.

But when I let the cron or daemon do the job, I always get this error:

2016-09-30 06:10 CRITICAL task_queue BUG: Unhandled exception during task queue run loop.
2016-09-30 06:10 CRITICAL manager An unexpected crash has occurred. Writing crash report to /home/osmc/.flexget/crash_report.2016.09.30.061027223453.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.3.37

So I try every day to update flexget and as you can see I'm on 2.3.37, I think this is the latest release by now.

Here is my last crash-report:

2016-09-30 04:45 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 04:45 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 04:45 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 05:02 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 05:02 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 05:15 INFO     move          move-series     `/media/Elements/Downloads/flexget/serien/Grey's Anatomy/Grey's Anatomy - S13E02 - Catastrophe and the Cure - [720p hdtv h264].mkv` has been moved to `/media/Elements/TV Shows/Greys Anatomy/Greys Anatomy - S13E02 - Catastrophe and the Cure - [720p hdtv h264].mkv`
2016-09-30 05:15 INFO     move          move-series     Path `/media/Elements/Downloads/flexget/serien/Grey's Anatomy` has been deleted because was less than clean_source safe value.
2016-09-30 05:15 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 05:15 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 05:15 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 05:15 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 05:32 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 05:32 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 05:45 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 05:45 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 05:45 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 05:45 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 06:03 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 06:03 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 06:04 INFO     task          download-series-discover Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season
2016-09-30 06:10 INFO     task          download-series-discover Rerunning the task in case better resolution can be achieved.
2016-09-30 06:10 CRITICAL task_queue                    BUG: Unhandled exception during task queue run loop.
2016-09-30 06:10 CRITICAL manager                       An unexpected crash has occurred. Writing crash report to /home/osmc/.flexget/crash_report.2016.09.30.061027223453.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.3.37
2016-09-30 06:29 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 06:29 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 06:29 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 06:29 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 06:32 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 06:32 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 06:45 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 06:45 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 06:45 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 06:45 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 07:02 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 07:02 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 07:15 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 07:15 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 07:15 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 07:15 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 07:32 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 07:32 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 07:45 INFO     exec          move-series     Stdout: find: `/media/Elements/Downloads/flexget/serien/*': No such file or directory\n
2016-09-30 07:45 INFO     exec          move-movies     Stdout: find: `/media/Elements/Downloads/flexget/filme/*': No such file or directory\n
2016-09-30 07:45 CRITICAL task          download-subtitles Plugin `subliminal` cannot be used because dependency `subliminal` is missing.
2016-09-30 07:45 WARNING  task          download-subtitles Aborting task (plugin: subliminal)
2016-09-30 08:03 CRITICAL task          download-series-magnets Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.
2016-09-30 08:03 WARNING  task          download-series-magnets Aborting task (plugin: convert_magnet)
2016-09-30 08:04 INFO     task          download-series-discover Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season
2016-09-30 08:09 INFO     task          download-series-discover Rerunning the task in case better resolution can be achieved.
2016-09-30 08:09 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 72, in wrapper
    return func(self, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 638, in execute
    self._execute()
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 568, in _execute
    merge_dict_from_to(task_templates, hashable_config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/utils/tools.py", line 171, in merge_dict_from_to
    k, type(v).__name__, type(d2[k]).__name__))
MergeException: u"Merging key series failed, conflicting datatypes 'dict' vs. 'list'."

And my config:

secrets: secrets.yml
schedules:
  - tasks: ['populate-*', 'clean-*', 'update-*']
    schedule:
      hour: 0
  - tasks: ['purge-*', 'fill-*', '*-rss', '*-magnets']
    schedule:
      minute: 0,30
  - tasks: ['*-discover', '*-manual']
    schedule:
      hour: '*/2'
  - tasks: ['move-*', download-subtitles]
    schedule:
      minute: 15,45

templates:

##### Series config
#
  series:
    thetvdb_lookup: yes
    include: series.yml
    configure_series:
      from:
        entry_list: trakt-series
      settings:
        identified_by: ep
        timeframe: 16 hours
        target: hdtv+ 720p !10bit !h265
        quality: webrip+ 720p !10bit !h265
        propers: 16 hours
        specials: no
    content_size:
      min: 250
    content_filter:
      require:
        - '*.mkv'

##### Movies config
#
  movies-1080p:
    tmdb_lookup: yes
    movie_list: trakt-movies
    quality: 1080p webdl+ !10bit !h265
    content_size:
      min: 1000
      max: 6000

  movies-720p:
    tmdb_lookup: yes
    movie_list: trakt-movies
    quality: 720p webdl+ !10bit !h265
    content_size:
      min: 500
      max: 3000

##### Transmission config
#
  transmission-anchors:
    _transmission-settings: &transmission-settings
      host: '{{secrets.transmission.host}}'
      port: 9091
      username: '{{secrets.transmission.user}}'
      password: '{{secrets.transmission.pass}}'

##### Common rejections
#
  reject:
    regexp:
      reject:
        - (s|d)ub(s|bed|lado|titulado)?\b
        - \bdual\b
        - \b3d\b
        - \b(fr)(ench)?\b
        - \b(ita)(lian)?\b
        - \b(spa)(nish)?\b
        - \b(ger)(man)?\b
        - \bcastellano\b
        - \brus(sian)?\b
    content_filter:
      reject:
        - '*.rar'
        - '*.zip'


##### ADVANCED SETTINGS #####

##### Global config
#
  global:
    no_entries_ok: yes
    pathscrub: windows
    free_space:
      path: '/{{secrets.folder.root}}'
      space: 5000
    # Requires log_filter plugin
    log_filter:
      task:
        - marked seen
        - because quality already downloaded
        - because episode has already been downloaded
        - Task does not have any
      move:
        - left because it exceeds safety value
        - does not exists (anymore)
      urlrewriter:
        - URL rewritten to
      enzyme.mkv:
        - Reading
        - Processing
      enzyme.parsers.ebml.core:
        - ignored
        - Maximum level
      subliminal.video:
        - Scanning video
      parser_internal:
        - appears to be an episode pack
      content_size:
        - rejecting
      search_rss:
        - Error
      assume_quality:
        - ""
      utils.requests:
        - Waiting

##### Common torrents config
#
  torrents:
    torrent_alive:
      min_seeds: 3
      reject_for: 15 minutes
    magnets: no
    # Might need to disable if you are getting errors connecting to https sources
    # Can remove if you upgrade to python 2.7.9+ or install requests[security]
    #verify_ssl_certificates: no
    domain_delay:
      thepiratebay.se: 10 seconds
      thepiratebay.org: 10 seconds
      extratorrent.cc: 3 seconds
      nyaa.se: 3 seconds

##### Transmission series config
#
  transmission-series:
    transmission:
      <<: *transmission-settings
      main_file_only: yes
      include_subs: yes
      rename_like_files: yes
      content_filename: "{{tvdb_series_name|default(series_name)|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"
      path: "/{{secrets.folder.root}}{{secrets.folder.downseries}}{{tvdb_series_name|default(series_name)|pathscrub}}/"

##### Transmission movies config
#
  transmission-movies:
    transmission:
      <<: *transmission-settings
      main_file_only: yes
      include_subs: yes
      rename_like_files: yes
      content_filename: "{{tmdb_name|pathscrub}} ({{tmdb_year}}){% if quality|default(False) %} - [{{quality}}]{% endif %}"
      path: "/{{secrets.folder.root}}{{secrets.folder.downmovies}}{{movie_name|pathscrub}}"

##### Pushbullet config
#
  pushbullet:
    pushbullet:
      apikey: '{{secrets.pushbullet.api}}'
      title: "[flexget] {{task}}"
      body: "{{title}}"

##### Disable builtins for some tasks
#
  disable-seen-retry:
    disable:
      - seen
      - seen_info_hash
      - retry_failed

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

##### Guessit parsing for some series tasks and anime, not applied to all tasks because it causes issues with "name (year)" based series, like scandal
#
  series-guessit:
    parsing:
      series: guessit

##### Movies metainfo mainly for move and update tasks
#
  movies-metainfo:
    tmdb_lookup: yes
    parsing:
      movie: guessit

tasks:

##### Populates the series database with the files on the library, to avoid duplicate downloads
#
  populate-series-db:
    priority: 1
    template:
      - series-metainfo
    seen: local
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.series}}'
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    configure_series:
      from:
        filesystem:
          path: '/{{secrets.folder.root}}{{secrets.folder.series}}'
          retrieve: dirs
      settings:
        tracking: no


##### Purge the series list to allow full sync with trakt series list
#
  purge-series-list:
    priority: 2
    template:
      - disable-seen-retry
    entry_list: trakt-series
    accept_all: yes
    list_remove:
      - entry_list: trakt-series


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

##### Download episodes from manually downloaded torrents
#
  download-series-manual:
    priority: 11
    template:
      - disable-seen-retry
      - series-metainfo
      - series-guessit
      - transmission-series
      #- pushbullet
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.downseries}}'
      mask: '*.torrent'
    accept_all: yes
    exec:
      on_output:
        for_accepted: rm -f "{{location}}"

##### Download episodes from RSS feeds
#
  download-series-rss:
    priority: 12
    template:
      - series
      - reject
      - torrents
      - transmission-series
      #- pushbullet
    inputs:
      - rss: https://eztv.unblocked.live/ezrss.xml
      - rss: https://extratorrent.cc/rss.xml?cid=8&type=last
      - rss: https://www.torrentfunk.com/tv/rss.xml

##### Download episodes from RSS magnets feeds, as a fallback from the previous task
#
  download-series-magnets:
    priority: 13
    template:
      - series
      - reject
      - torrents
      - transmission-series
      #- pushbullet
    magnets: yes
    convert_magnet: yes
    inputs:
      - rss:
          url: http://showrss.info/feeds/all.rss
          all_entries: yes

##### Discover and download older episodes and pilots from recently added series
#
  download-series-discover:
    priority: 14
    template:
      - series
      - reject
      - torrents
      - transmission-series
      #- pushbullet
    discover:
      release_estimations: ignore
      interval: 15 minutes
      what:
        - next_series_episodes:
            from_start: yes
      from:
        - piratebay:
            category: highres tv

##### Remove manually downloaded movies from the movie queue and trakt list
#
  clean-movie-queue:
    priority: 22
    template:
      - disable-seen-retry
      - movies-metainfo
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.movies}}'
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    list_remove:
      - movie_list: trakt-movies
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'
          type: movies

##### Fill the movie queue with movies from trakt list
#
  fill-movie-queue:
    priority: 23
    trakt_list:
      account: '{{secrets.trakt.account}}'
      list: '{{secrets.trakt.movies}}'
      type: movies
      strip_dates: yes
    accept_all: yes
    list_add:
      - movie_list: trakt-movies

##### Download movies manually downloaded torrents
#
  download-movies-manual:
    priority: 24
    template:
      - disable-seen-retry
      - movies-metainfo
      - transmission-movies
      #- pushbullet
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'
      mask: '*.torrent'
    accept_all: yes
    exec:
      on_output:
        for_accepted: rm -f "{{location}}"
    list_remove:
      - movie_list: trakt-movies
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'
          type: movies

##### Discover and download 1080p movies
#
  download-movies-1080p-discover:
    priority: 26
    template:
      - movies-1080p
      - reject
      - torrents
      - transmission-movies
      #- pushbullet
    exists_movie:
      - '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'
      - '/{{secrets.folder.root}}{{secrets.folder.movies}}'
    discover:
      release_estimations: loose
      interval: 15 minutes
      what:
        - movie_list: trakt-movies
      from:
        - piratebay:
            category: highres movies
        - extratorrent:
            category: movies
    list_match:
      from:
        - movie_list: trakt-movies
    list_remove:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'
          type: movies

##### Discover and download 720p movies, if the movie is not recent
#
  download-movies-720p-discover:
    priority: 27
    template:
      - movies-720p
      - reject
      - torrents
      - transmission-movies
      #- pushbullet
    exists_movie:
      - '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'
      - '/{{secrets.folder.root}}{{secrets.folder.movies}}'
    discover:
      release_estimations: loose
      interval: 15 minutes
      what:
        - movie_list: trakt-movies
      from:
        - piratebay:
            category: highres movies
        - extratorrent:
            category: movies
    if:
      - tmdb_year > now.year - 1: reject
    list_match:
      from:
        - movie_list: trakt-movies
    list_remove:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'
          type: movies

##### Move series from downloads folder to respective folders, along with existing subtitles and adding the files to the subtitle queue
#
  move-series:
    priority: 31
    template:
      - disable-seen-retry
      - series-metainfo
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.downseries}}'
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    move:
      to: "/{{secrets.folder.root}}{{secrets.folder.series}}{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}}/"
      filename: "{{tvdb_series_name|escape|replace('&#39;', '')|pathscrub}} - {{tvdb_ep_id|default(series_id)}}{% if tvdb_ep_name|default(False) %} - {{tvdb_ep_name|pathscrub}}{% endif %}{% if quality|default(False) %} - [{{quality}}]{% endif %}"
      along:
        files:
          - srt
          - sub
        subdirs:
          - Subs
      clean_source: 50
    list_add:
      - subtitle_list:
          list: subtitles
          path: "{{location}}"
          remove_after: 7 days
    exec:
      on_exit:
        phase: find '/{{secrets.folder.root}}{{secrets.folder.downseries}}'* -type d -empty -delete

##### Move movies from downloads folder to the movies folder, along with possible subtitles and adding the files to the subtitle queue
#
  move-movies:
    priority: 33
    template:
      - disable-seen-retry
      - movies-metainfo
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'
      recursive: yes
      retrieve: files
      regexp: '.*\.(avi|mkv|mp4)$'
    accept_all: yes
    regexp:
      reject:
        - \btrailer\b
        - \bsample\b
    move:
      to: '/{{secrets.folder.root}}{{secrets.folder.movies}}'
      filename: "{{tmdb_name|pathscrub}} ({{tmdb_year}}){% if quality|default(False) %} - [{{quality}}]{% endif %}"
      along:
        files:
          - srt
          - sub
        subdirs:
          - Subs
      clean_source: 100
    list_add:
      - subtitle_list:
          list: subtitles
          path: "{{location}}"
          remove_after: 7 days
    exec:
      on_exit:
        phase: find '/{{secrets.folder.root}}{{secrets.folder.downmovies}}'* -type d -empty -delete

##### Download subtitles for the previously queued files
#
  download-subtitles:
    priority: 35
    template:
      - disable-seen-retry
    subtitle_list:
      list: subtitles
    list_match:
      from:
        - subtitle_list:
            list: subtitles
    subliminal:
      exact_match: yes
      languages:
        - eng

##### Clean finished torrents from transmission
#
  clean-transmission:
    priority: 37
    disable: details
    clean_transmission:
      <<: *transmission-settings
      finished_for: 1 hour

##### Update trakt series list from local series folders, excluding the ones that already ended
#
  update-series-list:
    priority: 41
    template:
      - disable-seen-retry
      - series-metainfo
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.series}}'
      retrieve: dirs
    manipulate:
      - title:
          replace:
            regexp: '$'
            format: ' S01E01'
    accept_all: yes
    if:
      - tvdb_status == 'Ended': reject
    list_add:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.series}}'
          type: shows

##### Clean the series that already ended from trakt series list
#
  clean-series-list:
    priority: 43
    delay: 8 day
    template:
      - disable-seen-retry
      - series-metainfo
      #- pushbullet
    trakt_list:
      account: '{{secrets.trakt.account}}'
      list: '{{secrets.trakt.series}}'
      type: shows
    if:
      - tvdb_status == 'Ended': accept
    list_remove:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.series}}'
          type: shows

please help me, at this point I can't get any further and don't know how to solve this problem.

Thank you!
Adrian

Posts: 4

Participants: 2

Read full topic

Flexget is asking for pysqlite but im using Python3 on my QNAP NAS

$
0
0

@Joey_Laverde wrote:

2016-10-01 15:04 VERBOSE manager Creating new database /root/.flexget/db-config.sqlite - DO NOT INTERUPT ...
FATAL: Unable to use SQLite. Are you running Python 2.5 - 2.7 ?
Python should normally have SQLite support built in.
If you're running correct version of Python then it is not equipped with SQLite.
You can try installing pysqlite. If you have compiled python yourself, recompile it with SQLite support.

this is the error i get whenever i try to run flexget on my nas. I am using python3.5 and I can run sqlite3 in the python enviroment and get version numbers but flexget wont run and I cant install pysqlite since python3 has it built in.

Any help would be appreciated.

Posts: 1

Participants: 1

Read full topic

Errors after upgrading to version 2.3.39 (from 1.2.422)

$
0
0

@DaRieck wrote:

I've just upgraded my flexget from version 1.2.422 to 2.3.39. Since than I'm not able to run any flexget command any more (except flexget -V).

I'm using git to download flexget and I'm working in a virtualenv for the moment to get this version up and running. Once it is working I'll overwrite it with my current running-version.

I execute the following command:

flexget -L debug check -c /home/xbian/flexget_dev/.config/config.yml

And I'm getting the following output:

2016-10-02 10:02 DEBUG manager Config file /home/xbian/flexget_dev/.config/config.yml selected
2016-10-02 10:02 DEBUG manager sys.defaultencoding: ascii
2016-10-02 10:02 DEBUG manager sys.getfilesystemencoding: UTF-8
2016-10-02 10:02 DEBUG manager os.path.supports_unicode_filenames: False
2016-10-02 10:02 DEBUG plugin Trying to load plugins from: [u'/home/xbian/flexget_dev/.config/plugins', '/home/xbian/flexget_dev/Flexget/flexget/plugins']
2016-10-02 10:02 DEBUG safe Reading from cache file /tmp/safe-0.4.words.cache
2016-10-02 10:03 DEBUG deluge ConfigManager started..
2016-10-02 10:03 CRITICAL plugin Exception while loading plugin flexget.plugins.input.next_series_episodes
Traceback (most recent call last):
File "/home/xbian/flexget_dev/Flexget/flexget/plugin.py", line 395, in loadplugins_from_dirs
import(module_name)
File "/home/xbian/flexget_dev/Flexget/flexget/plugins/input/next_series_episodes.py", line 13
<<<<<<< HEAD:flexget/plugins/input/emit_series.py
^
SyntaxError: invalid syntax
2016-10-02 10:03 DEBUG manager Removed /home/xbian/flexget_dev/.config/.config-lock
Traceback (most recent call last):
File "/home/xbian/flexget_dev/Flexget/bin/flexget", line 9, in
load_entry_point('FlexGet==2.3.39', 'console_scripts', 'flexget')()
File "/home/xbian/flexget_dev/Flexget/flexget/__init__.py", line 42, in main
manager.start()
File "/home/xbian/flexget_dev/Flexget/flexget/manager.py", line 313, in start
self.initialize()
File "/home/xbian/flexget_dev/Flexget/flexget/manager.py", line 185, in initialize
plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
File "/home/xbian/flexget_dev/Flexget/flexget/plugin.py", line 457, in load_plugins
loadplugins_from_dirs(extra_dirs)
File "/home/xbian/flexget_dev/Flexget/flexget/plugin.py", line 395, in loadplugins_from_dirs
import(module_name)
File "/home/xbian/flexget_dev/Flexget/flexget/plugins/input/next_series_episodes.py", line 13
<<<<<<< HEAD:flexget/plugins/input/emit_series.py
^
SyntaxError: invalid syntax

Not sure why it is still searching for emit_series.py since this does not exist anymore.

Any help would be appreciated.

Kr,

DaRieck

Posts: 2

Participants: 1

Read full topic

Look for duplicated episodes and delete them

$
0
0

@marine88 wrote:

Hi there im seeing that i have some episodes duplçicated on my library i want to delete them all if possible delete the one with worst quality will be great i know that movies was one task call duplicates is there any thing to tv shows?

Posts: 6

Participants: 3

Read full topic

Series_premiere with identified_by: sequence


How to not move to NONE if IMDB lookup fails

$
0
0

@john_es wrote:

I get a movie that fails imdb lookup... and what happens is that it gets movied to None - None. I want to not move/delete it if IMDB lookup fails.

What can I do?

2016-09-19 09:01 INFO     download      YIFY task       Downloading: Naruto.The.Movie.Shippuden.2007.1080p.BluRay.H264.AAC-RARBG
2016-09-19 09:01 INFO     transmission  YIFY task       "Naruto.The.Movie.Shippuden.2007.1080p.BluRay.H264.AAC-RARBG" torrent added to transmission
2016-09-20 09:16 WARNING  imdb_lookup   sort-movies     IMDB lookup failed for Naruto.The.Movie.Shippuden.2007.1080p.BluRay.H264.AAC-RARBG
2016-09-20 09:16 INFO     move          sort-movies     `/data/Naruto.The.Movie.Shippuden.2007.1080p.BluRay.H264.AAC-RARBG/Naruto.The.Movie.Shippuden.2007.1080p.BluRay.H264.AAC-RARBG.mp4` has been moved to `/data/Done/None (None)/None (None).mp4`

Config

  sort-movies:
    filesystem:
      path: /data/
      regexp: '.*\.(mkv|mp4|avi)$'
      recursive: yes
    template: movies
    #require_field: imdb_name
    accept_all: yes
    disable: seen
    move:
      to: "/data/Done/{{imdb_name|replace(':', '.')}} ({{imdb_year}})/"

Posts: 6

Participants: 2

Read full topic

Unable to download new shows - Title `show name` looks like series `show name` but cannot find a(n) `ep` style identifier

$
0
0

@ckrston wrote:

I have bunch of new shows selected on trakt tv but unable to download them due to the following reason:

Title Designated Survivor looks like series Designated Survivor but cannot find a(n) ep style identifier.

The config is below, I've been searching for solution to this but unable to find it so if hopefully someone can help.
P.S. This is only for new shows that's not yet been downloaded, all the old shows with newer episode that's coming out works just fine.

configure_series:
  settings:
    qualities:
      - hdtv
      - 720p
    propers: no
    identified_by: 
  from:
    trakt_list:
      username: xxxxxx
      list: watchlist
      type: shows
      strip_dates: yes
exists_series:
  - /home/media/drive2/TV Shows
set:
  movedone: "/home/media/drive2/TV\ Shows/%(series_name)s/Season %(series_season)s/"
regexp:
  reject:
    - msd
    - afg
manipulate:
  - title:
      replace:
        regexp: '^HD 720p: '
        format: ''
inputs:
  - rss: http://showrss.info/feeds/all.rss

Posts: 1

Participants: 1

Read full topic

BUG: Unhandled error in plugin discover: Multiple rows were found for one_or_none()

$
0
0

@opicron wrote:

From one day on the other my flexget series download stopped working.

This is the task log:

2016-10-04 18:16 VERBOSE  input_cache   get-shows       Restored 26 entries from db cache
2016-10-04 18:16 VERBOSE  discover      get-shows       Discovering 24 titles ...
2016-10-04 18:16 INFO     discover      get-shows       Ignoring interval because of --discover-now
2016-10-04 18:16 INFO     task          get-shows       Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season
2016-10-04 18:16 CRITICAL task          get-shows       BUG: Unhandled error in plugin discover: Multiple rows were found for one_or_none()
Traceback (most recent call last):
  File "d:\code\python\lib\site-packages\flexget\task.py", line 477, in __run_plugin
    return method(*args, **kwargs)
  File "d:\code\python\lib\site-packages\flexget\event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "d:\code\python\lib\site-packages\flexget\plugins\input\discover.py", line 289, in on_task_input
    entries = self.estimated(entries, estimation_mode)
  File "d:\code\python\lib\site-packages\flexget\plugins\input\discover.py", line 201, in estimated
    est_date = estimator.estimate(entry)
  File "d:\code\python\lib\site-packages\flexget\plugins\estimators\est_released.py", line 28, in estimate
    estimate = estimator(entry)
  File "d:\code\python\lib\site-packages\flexget\plugins\estimators\est_release_series_tvmaze.py", line 53, in estimate
    episode = lookup(**kwargs)
  File "d:\code\python\lib\site-packages\flexget\utils\database.py", line 34, in wrapper
    return func(*args, **kwargs)
  File "d:\code\python\lib\site-packages\flexget\plugins\internal\api_tvmaze.py", line 452, in episode_lookup
    TVMazeEpisodes.series_id == series.tvmaze_id)
  File "d:\code\python\lib\site-packages\sqlalchemy\orm\query.py", line 2698, in one_or_none
    "Multiple rows were found for one_or_none()")
MultipleResultsFound: Multiple rows were found for one_or_none()

This is my configuration:

templates:

  # 
  # Show template
  # 
  tv:
    configure_series:
      settings:
        # Configure all the series options to your taste
        identified_by: ep
        #tracking: backfill
        #upgrade: yes #download higher quality once available
        timeframe: 4 hours
        target: hdtv-bluray <=720p
        quality: <=720p hdtv|webdl|webrip
        #path: d:\_flexget\_torrentTest\
        path: d:\_Transmission\_Autoleech\
        # {{series_name}}/Season {{series_season}}/  # This will sort your downloads if you are using one of the output plugins which supports it
      from: 
        #entry_list: trakt shows
        trakt_list:
          username: '{{ secrets.trakt.usr }}' 
          account: '{{ secrets.trakt.usr }}'
          list: following
          type: shows

#
# Tasks
#
#
     
tasks:


  # This task will look for episodes you have added to your `My TV Shows` list at trakt.
  # 
  # 
  sync-trakt:
    priority: 7 
    #seen: global
    next_trakt_episodes:
      username: '{{ secrets.trakt.usr }}' 
      account: '{{ secrets.trakt.usr }}'
      context: watched
      list: Following  
      position: next    
    accept_all: yes
    #disable: seen    
    set_series_begin: yes
    #list_add:
    #  - entry_list: trakt shows

  # this will start an series from episode in Following
  # It will set the `begin` series option for that show, then remove the episode and re-add it to your `My TV Shows` list as a show.
  # 
  # 
  sync-episode:
    priority: 6
    #seen: local #disable seen so all episodes from following list are accepted
    disable: seen
    accept_all: yes
    trakt_list:
      username: '{{ secrets.trakt.usr }}' 
      account: '{{ secrets.trakt.usr }}'
      list: Following
      type: episodes #finally! working   
    set_series_begin: yes  # set beginning episode
    list_remove: #remove episode from following
      - trakt_list:
          username: '{{ secrets.trakt.usr }}' 
          account: '{{ secrets.trakt.usr }}'
          list: Following
          #type: episodes # not required!
    list_add:
      - trakt_list:
          username: '{{ secrets.trakt.usr }}' 
          account: '{{ secrets.trakt.usr }}'
          list: Following
          type: shows

  # This task is what will actually download your shows.
  # See http://flexget.com/wiki/Cookbook/Series/Search for a more detailed explanation of how this search based task works, as well as an example of how to use your `tv` template on an rss based task alongside.
  get-shows:
    #retry_failed:
    #  retry_time: 1 seconds
    #  retry_time_multiplier: 1
    #  max_retries: 100
    #headers:
    #  Cookie: "tluid=148915; tlpass=2745744dae5480371773d4ced45c97ff0e760431"
    priority: 10
    # If this is your only task getting shows, you can just include the configure_series plugin here instead of using the template.
    template: tv
    discover:
      what:
        - next_series_episodes: yes
        #- next_series_episodes: 
        #    backfill: yes
        #    from_start: yes
      from:
        # Pick a search plugin(s) http://flexget.com/wiki/Searches
        - torrentleech: 
            rss_key: '{{ secrets.torrentleech.rss }}'
            username: '{{ secrets.torrentleech.usr }}'
            password: '{{ secrets.torrentleech.pass }}'
            category: [26]
    # Also add an appropriate output plugin here (perhaps `transmission` or `deluge` if you are using those clients.) http://flexget.com/wiki/Plugins#Output
    regexp:
      reject:
        - spanish
    pushover:
      userkey: []
      apikey: []
      title: "FlexGet"
      message: "{{ series_name }} S{{  '%02d'|format(series_season) }}E{{ '%02d'|format(series_episode) }} ({{ quality|upper }})"
    download: yes
    #list_remove:
    #  - trakt_list:
    #      username: '{{ secrets.trakt.usr }}' 
    #      account: '{{ secrets.trakt.usr }}'
    #      list: Following
    #      type: episodes

Posts: 3

Participants: 2

Read full topic

Unhandled error in plugin transmission

$
0
0

@unhinged_rhino wrote:

Hi, I'm trying to get my flexget to work but I'm getting this error when it is supposed to pass links to transmission:

2016-10-07 00:05 CRITICAL task          showrss         BUG: Unhandled error in plugin transmission: global name 'TransmissionError' is not defined
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 477, 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/clients/transmission.py", line 295, in on_task_output
    self.client = self.create_rpc_client(config)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/clients/transmission.py", line 76, in create_rpc_client
    except TransmissionError as e:
NameError: global name 'TransmissionError' is not defined

Tried reinstalling both flexget and transmissionrpc but it didn't change anything. Your help will be greatly appreciated. Thanks!

Posts: 6

Participants: 3

Read full topic

ssl23_get_server_hello

$
0
0

@jemxpat wrote:

System is Gentoo with latest updates. Flexget 2.3.42 installed via pip, not the Gentoo package. Using OpenSSL 1.0.2j 26 Sep 2016

I have a persistent error connecting to https sites, error messages like this:

Unable to download the RSS for task PBay (http://thepiratebay.org/rss/new/205): ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')],)",)

I have tried everything I can find via searches for the error terms.

pip install requests[security] seems to have worked for many, but no luck for me.

Any thoughts on where I should look for a solution?

-jem

Posts: 1

Participants: 1

Read full topic

Viewing all 837 articles
Browse latest View live