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

Noob question.. custom rss entry

$
0
0

@Deny_Winarto wrote:

Ok so i made a custom scraper for subscene for my own language..
The output is an up to date rss page containing a list of:
movie name (year), imdb id, quality

How can i use this as input for flexget?
I can't find similar case in the cookbook.. or i'm probably missing it..

The idea is, everytime a new sub for any movies/episodes appear (that's for my language),
have flexget process it as entry and download it using various torrent search plugins,
but it must be filtered with exist_movie and quality plugins

I'm just starting to learn flexget and really could use some hints..
I also plan to download+ unzip the sub and rename it to match the movie name..
but i'll work on auto downloading first..

thanks before

Posts: 7

Participants: 2

Read full topic


Login to IMDB failed. Check your credentials - Again

$
0
0

@soloam wrote:

Hello, is it just me or the login to IMDB is not working? I checked the debug file and it tries to make a request to a url that does not exist (https://www.imdb.com/ap/signin....)

If you have made the login previously you will not see this error because the credentials are cached, you need a fresh database or a new login to IMDB.

Can any one confirm this?

Thank You

Posts: 1

Participants: 1

Read full topic

BUG: Unhandled error in plugin discover: lazy_series_lookup() takes exactly 3 arguments (2 given)

$
0
0

@sethhikari wrote:

Having trouble with running --discover-now
I recently told a series to forget an episode to download right before I had this issue.

2016-11-03 04:53 CRITICAL task search series BUG: Unhandled error in plugin discover: lazy_series_lookup() takes exactly 3 arguments (2 given)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flexget/task.py", line 477, in __run_plugin
return method(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 290, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/lib/python2.7/site-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/lib/python2.7/site-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/flexget/plugins/sites/rarbg.py", line 144, in search
plugin.get_plugin_by_name('thetvdb_lookup').instance.lazy_series_lookup(entry)
TypeError: lazy_series_lookup() takes exactly 3 arguments (2 given)

Posts: 2

Participants: 2

Read full topic

Clean install MacOS 10.12 encountering this error

$
0
0

@seydelserver wrote:

Just clean installed my computer with 10.12.
Ensured everything was up to date.
Followed step by step instructions on how to install Flexget for OS X.

  • Attempted to run flexget check - or anything and receive the following alert.

flexget check
Traceback (most recent call last):
File "/usr/local/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3081, in _call_aside
f(*args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 660, in _build_master
return cls._build_from_requirements(__requires__)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 673, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 851, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (six 1.4.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python), Requirement.parse('six>=1.5'), set(['python-dateutil']))

Posts: 2

Participants: 2

Read full topic

Custom search terms

$
0
0

@EsOsO wrote:

Hi guys, is there a way to add custom terms to discovery plugin, like:

{{title}} ita

I'm from Italy and just searching for movie title it doesn't find anything in my language.
Or to find a specific releaser.

Thx in advance

Posts: 5

Participants: 2

Read full topic

Error messages after update to 2.5.X

$
0
0

@SethDeBlade wrote:

Hi there,

please delete this post. I could fix the problem by uninstalling and reinstalling flexget using pip

Best regards
Seth

Posts: 1

Participants: 1

Read full topic

Set download path for subtitle in the same directory as movie?

$
0
0

@Deny_Winarto wrote:

Assuming i have an rss that generates both movie title and subtitle download address,
how do i set the download path for the sub = movie path?

 tasks
   watchlist:
     rss : 
       url: blablabla.php
         link:
          - movie title
          - subtitle_download_address
   
   movie_download
     set:
       path: D:\moviepath

   subtitle_download
     set:
      path: D:\moviepath\movie_title

So basically, unzip and save the sub in the same folder as the movie folder...
I hope you get the idea..

thanks

Posts: 2

Participants: 2

Read full topic

Database reset not working for seen

$
0
0

@Deny_Winarto wrote:

I just upgraded to latest version, but i cant seem to clean seen list

log :

C:\Users\denyw>flexget database reset --sure
The FlexGet database has been reset.

C:\Users\denyw>flexget --test execute
2016-11-08 12:31 INFO     manager                       Test mode, creating a copy from database ...
2016-11-08 12:31 INFO     manager                       Test database created
2016-11-08 12:32 VERBOSE  task_queue                    There are 3 tasks to execute. Shutdown will commence when they have completed.
2016-11-08 12:32 VERBOSE  details       subscene_movie_watch_list Produced 1 entries.
2016-11-08 12:32 WARNING  nfo_lookup    subscene_movie_watch_list Entry Parasyte part 2 (2015) didn't come from the filesystem plugin
2016-11-08 12:32 VERBOSE  task          subscene_movie_watch_list ACCEPTED: `Parasyte part 2 (2015)` by accept_all plugin
2016-11-08 12:32 VERBOSE  details       subscene_movie_watch_list Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2016-11-08 12:32 VERBOSE  list_add      subscene_movie_watch_list adding accepted entries into movie_list - subscene_movie
2016-11-08 12:32 VERBOSE  details       subscene_movie_sub Produced 1 entries.
2016-11-08 12:32 VERBOSE  task          subscene_movie_sub REJECTED: `Parasyte part 2 (2015)` by seen plugin because entry with title `Parasyte part 2 (2015)` is already marked seen in the task subscene_movie_watch_list at 2016-11-08 12:32

How do i clean seen list? Googled but i cant find anything

Posts: 4

Participants: 2

Read full topic


Synology - Running Flexget as admin or other user

$
0
0

@Cinder wrote:

I had to reinstall Synology DSM on my NAS and reinstalled Flexget while I was at it.
So I installed opkg, python and pip-3 according to the instructions while logged in as root.
Flexget was installed in /opt/bin/ and the config file is in ~/.flexget.

The problem comes now as I've previously been able to run flexget as the admin user, but now when I try to run flexget as admin I only get "command not found" or if I specify the path to run as /opt/bin/flexget I get "Permission: Denied". So how do I make sure that my admin user, or any other non-root user, can run Flexget? Is this only a permissions issue, or do I need to install Flexget in a specific way/path (can any user other than root access ~/?) to be able to run it as another user?

I have simple batch scripts that launch PuTTY to start/stop/reload the daemon as required, these have worked when run as admin before, so my goal would be to get that functionality back.

All help much appreciated

Posts: 1

Participants: 1

Read full topic

Synology installation guide - missing steps?

$
0
0

@Cinder wrote:

I'm trying to install Flexget and Transmission using the Synology guide on here, but it's not working as advertised.
I've gotten as far as the section on "Configuring Transmission" here: http://flexget.com/InstallWizard/SynologyNAS/Upstart
but the commands "start transmission-daemon" and "stop transmission-daemon" don't work when executed as the downloader user. I have also tried going into /opt/bin/ and running the transmission-daemon binary, but it gives me "-sh: tranmission-daemon: command not found" when run as downloader, as root it seems to execute and creates the config files for the root user, but I want to run it as the downloader user.

How am I supposed to run transmission-daemon as downloader for the first time to get the config files set up?

This also causes the same problem with the flexget script which I cant get running on boot as a service.
How do I set up and run the Upstart scripts? The guide is incomplete :frowning:

I'm running on DSM 6 if there are any significant changes between versions regarding this.

Posts: 1

Participants: 1

Read full topic

How to re-download for double seeding?

$
0
0

@mytelegrambot wrote:

2016-11-15 23:57 VERBOSE task tvshows REJECTED: [TV] Supergirl - S02E06 [161114] - /Drama/720p/H.264.AVC/HDTV-DIMENSION by series plugin because quality already downloaded

2016-11-17 00:55 VERBOSE task tvshows REJECTED: [TV] Drama - E01 [161116] - /Drama/720p/H.264.AVC/HDTV-DIMENSION by series plugin because episode has already been downloaded

other tracker and other task but can't re-download.

How to re-download for double seeding?

Posts: 2

Participants: 2

Read full topic

Strange discover parse error?

$
0
0

@danageis wrote:

I have the following error now when task is using discover with piratebay:

2016-11-16 10:05 ERROR discover dl_q Error searching with piratebay: Tried to set title to <span class="__cf_email__" data-cfemail="e7b38f82c9a382978695938283c9d5d7d7d1c9a58b9295869ec9d6d7dfd797c9a3b3b4caafa3caafb5c9abb7a4aac99fd5d1d3caa0959e8aa7a5b3a9a2b3">[email protected]</span>

I'm not sure what this is, or if it even has anything to do with flexget specifically. Anyone have any ideas?

Posts: 1

Participants: 1

Read full topic

CRITICAL plugin queue_from_imdb Login to IMDB failed. Check your credentials

Config not working please help

$
0
0

@clay wrote:

Hey folks I recently reinstalled flexget and replaced config.yml with my backup but now I am getting there error
[/tasks/sort-files/copy] The key filename is not valid here.
Was wondering if anyone could see what I am doing wrong here?

schedules:
# Run every task once an hour
- tasks: '*'
interval:
hours: 1

templates:
tv-series:
series:
group1:
- 2 Broke Girls
- American Dad!
- Arrow
- Beauty and the Beast (2012)
- Bitten
- Blindspot
- Continuum
- Criminal Minds
- DC's Legends of Tomorrow
- Family Guy
- Game of Thrones
- Gotham
- Grimm
- Hell's Kitchen (US)
- How to Get Away with Murder
- Jessica Jones
- Lucifer
- Marvel's Agent Carter
- Marvel's Agents of S.H.I.E.L.D
- Marvel's Daredevil
- MasterChef (US)
- MasterChef Junior
- Minority Report
- New Girl
- Once Upon a Time
- Person of Interest
- Quantico
- Reign
- Saving Hope
- Star Wars Rebels
- Supergirl
- The Big Bang Theory
- The Expanse
- The Flash (2014)
- The Mindy Project
- The Musketeers
- The Shannara Chronicles
- The Vampire Diaries
- The X Files
- Westworld

tasks:
download-rss:
rss: http://showrss.info/user/13669.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
all_series: yes
transmission:
host: localhost
port: 9091
username: transmission
password: transmission

sort-files:
filesystem:
path: /media/data/transmission/completed/
regexp: '.*.(avi|mkv|mp4)$'
recursive: yes
seen: local
template: tv-series
series:
settings:
group1:
parse_only: yes
regexp:
reject:
- sample
require_field: series_name
accept_all: yes
thetvdb_lookup: yes
copy:
# this is where the series will be put
to: '/media/data/media/series/{{ tvdb_series_name }}/'
# save the file as 'Series Name - SxxEyy - Episode Name.ext'
filename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}'

Posts: 2

Participants: 1

Read full topic

Can't install Flexget Qnap

$
0
0

@Shinobitf wrote:

Hi,

Can anyone assist me to install Flexget on my QNAP TS-412 please. I had it running but needed to reinstall my qnap.

I have installed python2.7/setuptools/pip.
But I can't seem to install flexget.
pip install flexget gives the following error:
Downloading/unpacking flexget
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement flexget
Cleaning up...
No distributions at all found for flexget
Storing debug log for failure in /root/.pip/pip.log

easy_install command is not found.

Any suggestions?

Thanks in advance

Posts: 1

Participants: 1

Read full topic


Can't upgrade flexget on OpenWrt 12.09 (SQLAlchemy error)

$
0
0

@fajung wrote:

I'm trying to upgrade flexget on a openwrt 12.09 routrer and when I do the pip install flexget or force.I upgraded the setuptools and pip but the get the error with SQLAlchemy

root@OpenWrt:/mnt/usb# pip install --upgrade --force-reinstall flexget
Collecting flexget
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Using cached FlexGet-2.6.1-py2.py3-none-any.whl
Collecting guessit<=2.0.4 (from flexget)
  Using cached guessit-2.0.4.tar.gz
Collecting flask>=0.7 (from flexget)
  Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting jinja2 (from flexget)
  Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
    100% |################################| 266kB 118kB/s 
Collecting flask-login>=0.4.0 (from flexget)
  Using cached Flask_Login-0.4.0-py2.py3-none-any.whl
Collecting beautifulsoup4>=4.5 (from flexget)
  Using cached beautifulsoup4-4.5.1-py2-none-any.whl
Collecting colorclass>=2.2.0 (from flexget)
  Using cached colorclass-2.2.0.tar.gz
Collecting path.py>=8.1.1 (from flexget)
  Downloading path.py-9.0-py2.py3-none-any.whl
Collecting flask-restful>=0.3.3 (from flexget)
  Using cached Flask_RESTful-0.3.5-py2.py3-none-any.whl
Collecting jsonschema>=2.0 (from flexget)
  Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting flask-compress>=1.2.1 (from flexget)
  Using cached Flask-Compress-1.3.2.tar.gz
Collecting requests<3.0,>=2.8.0 (from flexget)
  Using cached requests-2.12.1-py2.py3-none-any.whl
Collecting flask-cors>=2.1.2 (from flexget)
  Using cached Flask_Cors-3.0.2-py2.py3-none-any.whl
Collecting flask-restplus==0.8.6 (from flexget)
  Using cached flask_restplus-0.8.6-py2.py3-none-any.whl
Collecting SQLAlchemy<1.999,>=1.0.9 (from flexget)
  Using cached SQLAlchemy-1.1.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-m_P31y/SQLAlchemy/setup.py", line 118, in <module>
        re.S).match(v_file.read()).group(1)
    AttributeError: 'NoneType' object has no attribute 'group'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-m_P31y/SQLAlchemy/

Posts: 1

Participants: 1

Read full topic

Unhandled error in plugin configure_series [Solved]

$
0
0

@Amishman wrote:

This is the error message I get when I run Flexget:

BUG: Unhandled error in plugin configure_series: 'Extensions' object has no attribute 'get_extension_for_class'

It then creates a crash log and tells me to check my version. I have script that automatically updated to the newest version if there is one. I am running version 2.6.1.

Here is the link to the crash.log. https://dl.dropboxusercontent.com/u/22294357/crash_report.2016.11.19.072411281000.log

My config.yml
https://dl.dropboxusercontent.com/u/22294357/Config.yml

It passes check.

secrets: secrets.yml


schedules:
  - tasks: '*'
    interval:
      minutes: 30



templates:


  common_tv_rss:
    inputs:
      - rss: http://showrss.info/user/98577.rss?magnets=true&namespaces=true&name=null&quality=null&re=null
      - rss: http://extratorrent.cc/rss.xml?type=popular&cid=8
      - rss: https://www.limetorrents.cc/rss/20/
      - rss: https://www.torlock.com/television/rss.xml
      - rss: http://www.torrentbit.net/rss.xml?cat_id=7
      - rss: https://www.torrentfunk.com/tv/rss.xml


  notify_tv:
    pushbullet:
      apikey: '{{ secrets.notify.apikey }}'
      title: "{{series_name}} {{series_id}}"
      body: "Download started"


  tv_shows:
    configure_series:
      from:
        trakt_list:
          account: '{{ secrets.trakt.usr }}'
          list: 720p_list
          type: shows
          strip_dates: yes
      settings:
        quality: hdtv+ 720p
        propers: yes
        tracking: backfill
        upgrade: yes
    content_filter:
      require:
        - '*.avi'
        - '*.mkv'
        - '*.mp4'
      reject:
        - '*.exe'
      strict: no
    regexp:
      reject:
        - spanish
        - italian
        - german
        - french
        - dutch
        - hindi
        - Español
        - x265
    discover:
      what:
        - trakt_list:
            account: '{{ secrets.trakt.usr }}'
            list: 720p_list
            type: shows
            strip_dates: yes
      from:
        - rarbg:
            category: [18, 41]
            min_seeders: 1
        - piratebay:
            category: highres tv
        - 1337x: yes
        - extratorrent:
            category: tv
        - limetorrents:
            category: tv
    torrent_alive: yes
    magnets: yes
    download: G:\Torrents to Download


tasks:

  shows:
    template:
      - tv_shows
      - common_tv_rss
      - notify_tv

How can I fix this?

Posts: 3

Participants: 2

Read full topic

Console error "argument 1 must be string, not unicode"

$
0
0

@re1entless wrote:

Hi,

I am sure I have configured something wrong and this is not actually a bug but would really appreciate some help.

When I run any flexget command other than flexget --test execute and flexget -V I get the following output:

There is a FlexGet process already running for this config, sending execution there.
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 309, in start
    client.handle_cli(self.args)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/netref.py", line 196, in __call__
    return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/netref.py", line 71, in syncreq
    return conn.sync_request(handler, oid, *args)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 438, in sync_request
    self.serve(0.1)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 390, in serve
    self._dispatch(data)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 362, in _dispatch
    self._dispatch_exception(seq, args)
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/protocol.py", line 331, in _dispatch_exception
    instantiate_oldstyle_exceptions = self._config["instantiate_oldstyle_exceptions"])
  File "/usr/local/lib/python2.7/dist-packages/rpyc/core/vinegar.py", line 143, in load
    _generic_exceptions_cache[fullname] = type(fullname, (GenericException,), fakemodule)
TypeError: type() argument 1 must be string, not unicode

I have tried reinstalling Flexget and cannot find any information online about this issue. I'm using Python 2.7.9, pip2 and Flexget 2.6.1.

Thank you very much for your help.

Posts: 2

Participants: 2

Read full topic

[BUG/ISSUE] - SQLSTATE Too many connections

$
0
0

@Jerome_GUY wrote:

Hi guys,

So running flexget (up to date) doe T411 on a Ubuntu x64 16.04 and sometimes i get an error.

2016-11-22 16:00 INFO task My_TV_Shows Plugin next_series_episodes has requested task to be ran again after execution has completed. Reason: Look for next season
2016-11-22 16:00 ERROR t411_api My_TV_Shows 1040 - SQLSTATE[HY000] [1040] Too many connections
2016-11-22 16:00 CRITICAL task My_TV_Shows BUG: Unhandled error in plugin discover:
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/input/discover.py", line 290, in on_task_input
return self.execute_searches(config, entries, task)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/discover.py", line 155, in execute_searches
search_results = search.search(task=task, entry=entry, config=plugin_config)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 118, in wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/sites/t411.py", line 99, in search
search_result = proxy.search(query)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 662, in search
client_query = self.friendly_query_to_client_query(query)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 480, in wrapper
self.synchronize_database()
File "/usr/local/lib/python2.7/dist-packages/flexget/utils/database.py", line 34, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 541, in synchronize_database
category_tree = self.rest_client.retrieve_category_tree()
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/internal/api_t411.py", line 169, in wrapper
assert self.is_authenticated()
AssertionError

Deal is I run the the same config on two computers (same OS and settings) and on one no errors and on the second one got plenty of errors (almost each time)

The flexget is started from root's cron hourly using:
flexget -c /path/to/config.yml execute
Also tried:
flexget -c /path/to/config.yml --cron execute

Posts: 2

Participants: 1

Read full topic

[Help] How to disable discover db-cache? (--no-cache)

$
0
0

@Andy2244 wrote:

Hi,

i want to re-download/discover episodes or just quickly test configs, yet i'm not able to disable the discover/next_episode_ db-cache? This means after a episode was discovered i cant get a valid result again, since its skipped from db-cache.
I tried disable: seen and also disable: builtins , but with no luck. The only way i found is to backup the database after initial creation and restore it after a discover run?

It seems there was a old cmd argument --no-cache, but its not available anymore, so is there a new equivalent to maybe completely disable the db-cache?

thx
Andy

Posts: 1

Participants: 1

Read full topic

Viewing all 837 articles
Browse latest View live