Quantcast
Channel: uncategorized - Forum - FlexGet
Viewing all 376 articles
Browse latest View live

configure_series two paths

$
0
0

@ironlion27 wrote:

Trying to get the downloads from two different trakt lists to go to two different paths using the configure_series via templates. I think only the second instance of configure_series is being stored as only those shows are shown in flexget series list.

templates:
  tvarchive:
    configure_series:
      from:
        trakt_list:
          username: [REDACTED]
         #account:
          list: [REDACTED]
          type: shows
    rtorrent:
      uri: /media/[REDACTED]/rtorrent/.socket
      path: /media/[REDACTED]/rtorrent/data/crypt/TV/{{series_name}}
  tv:
    series_premiere: yes
    configure_series:
      from:
        trakt_list:
          username: [REDACTED]
         #account:
          list: [REDACTED]
          type: shows
    rtorrent:
      uri: /media/[REDACTED]/rtorrent/.socket
      path: /media/[REDACTED]/rtorrent/data/TV/{{series_name}}

Posts: 2

Participants: 2

Read full topic


Email notification stopped working about three days ago

$
0
0

@alirz1 wrote:

So my flexget config has been untouched for at least three months and working fine. About three days ago i stopped receiving email about torrents being accepted for download.

Error is: 2017-05-05 15:31 WARNING notify showsrss_torrent Error while sending notification to email: [Errno 111] Connection refused

My email config looks like:

templates:
  global:
    notify:
      task:
        via:
           - email:
               from: Flexget.Task.added@xxxxxxxx
               to: xxxxxxx
               smtp_host: xxxxxxxxx
               smtp_username: xxxxxxxx
               smtp_password: xxxxxxx
#            smtp_tls: yes
#       smtp_ssl:
#            active: true
#            verify_ssl_certificates: no

Posts: 3

Participants: 2

Read full topic

Custom search plugin not found

$
0
0

@Arvid_Jakobsson wrote:

I've created a custom search plugin by copying an existing (https://github.com/Flexget/Flexget/blob/7dada44447b2e0dcecefce137e0da0fe67ad2b6f/flexget/plugins/sites/piratebay.py) into ~/.flexget/plugins. However, when I run flexget plugins, my plugin is not there. What could be the reason?

Posts: 3

Participants: 3

Read full topic

Does the all_series plugin capitalize the names of the series?

$
0
0

@ktaragorn wrote:

I used to use the series plugin to download my shows and explicitly specified my show name as "Fresh Off the Boat". This series name is used to rename the file and the name of the file is later used to move it to the show folder of the same name.

I recently started using all_series to download instead of having to specify the shows manually (I use showrss to control the list of shows) and the series name suddenly became "Fresh Off The Boat" which created 2 show folders and temporarily drove kodi mad.. Is there a reason it does this? I use tvdb look up in both cases, and I verified that the tvdb name for the show is Fresh Off the Boat, without the capitalized T. Is the solution to this to use tvdb_series_name? Or does tvdb feed the series name to series_name when it is used?

Posts: 3

Participants: 2

Read full topic

Not configuring series correctly

$
0
0

@gazhay wrote:

I lost my setup recently - had to restore from a backup, but my config was for much older version of flexget so started again.

I thought I had successfully configured to use next-episode as a series list and an rss feed in monitor feed of discover.
I also use some search plugins, and, have series to give some shows alternate names.

However today I can verify my rss contains shows that are on my next-episode watchlist, but flexget doesn't even see them.

I'm not sure if Flexget is not correctly getting a list of shows (the ics file has 269 non-unique shows, Flexget reports 27 shows)

Everytime I run with debug mode, it seems to show rss coming from the cache, I've tried --no-cache, but it doesn't seem to load a new rss feed.

To cap it all off "exists-series" isn't working at all.
Search series keeps downloading versions I already have on disk.

templates:
  tv:
    set:
      ratio: 2
      path: /mnt/TV/{{ series_name }}
      content_filename: "{{ series_name }} - {{ series_id }} {% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name }} {% endif %} - {{ quality|upper }} {% if proper_count %} - proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}"
    exists_series:
      path: '/mnt/TV/{{series_name}}'
      allow_different_qualities: better
    thetvdb_lookup: yes

    torrent_cache: yes
    torrent_alive: yes
    transmission:
      host: server
      port: 9091

    configure_series:
      settings:
        quality: <=1080p !h265
        target: 720p
        timeframe: 3 hours
        identified_by: ep
      from:
        text:
          url: http://next-episode.net/calendar.ics?u=
          entry:
            title: ^SUMMARY:(.*) - s[0-9](0-9)*e[0-9](0-9)*.*$
            url: ^SUMMARY:(.*) - s[0-9](0-9)*e[0-9](0-9)*.*$

tasks:
  monitor feed:
    rss: http://showrss.info/user/
    template: tv
    series:
      shows:
        - "Jimmy Kimmel Live !":
           identified_by: date
           alternate_name: "Jimmy Kimmel

  search series:
    template: tv
    discover:
      what:
        - next_series_episodes:
            from_start: yes
      from:
        - 1337x: yes
        - extratorrent:
            category: tv
        - piratebay:
            category: video
            sort_by: date
      interval: 1 hour  # Search for expected episodes again every hour

web_server:
  bind: 0.0.0.0
  port: 3539
  web_ui: yes

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

Posts: 3

Participants: 1

Read full topic

Need help with develop plugin

$
0
0

@evgsd wrote:

Hi guys.
I'm writing a plugin for the tracker.
I make method 'on_task_input' and parse feed

 def on_task_input(self, task, config):
        parse feed...
        ...
        for item in feed.entries:
            entry = Entry()
            entry['url'] = item.link
            entry['title'] = item.title
            entry['series_name_rus'] = name_rus
            entry['series_name_eng'] = name_eng
            entries.append(entry)

        return entries

But when i test this plugin in logs i see

2017-05-18 11:14 DEBUG    backlog       Kinozal         0 entries purged from backlog
2017-05-18 11:14 VERBOSE  details       Kinozal         Produced 50 entries.
.....
2017-05-18 11:14 DEBUG    parser_internal Kinozal         Parsing series: `Элементарно (5 сезон: 1-23 серии из 24) / Elementary / 2016 / ПМ  (LostFilm) / WEB-DL (1080p)` kwargs: {'name': 'Elementary', 'identified_by': 'auto', 'alternate_names': [], 'name_regexps': [], 'strict_name': False, 'allow_groups': [], 'date_yearfirst': None, 'date_dayfirst': None, 'special_ids': [], 'prefer_specials': None, 'assume_special': None, 'ep_regexps': [], 'date_regexps': [], 'sequence_regexps': [], 'id_regexps': []}
2017-05-18 11:14 DEBUG    parser_internal Kinozal         Parsing result: <SeriesParser(data=Элементарно (5 сезон: 1-23 серии из 24) / Elementary / 2016 / ПМ  (LostFilm) / WEB-DL (1080p),name=Elementary,id=None,season=None,season_pack=None,episode=None,quality=None,proper=0,status=INVALID)> (in 0.1509999999997902 ms)
2017-05-18 11:14 DEBUG    urlrewriter   Kinozal         Checking 0 entries
2017-05-18 11:14 VERBOSE  details       Kinozal         Summary - Accepted: 0 (Rejected: 0 Undecided: 50 Failed: 0)

Config file:

tasks:
  Kinozal:
    kinozal:
      username: 'login'
      password: 'password'
    template:
      - tvshows
    series:
      1080p:
        - 'Elementary'

What am I doing wrong?
Where can I read more about plug-in development?
Thanks.

Posts: 7

Participants: 2

Read full topic

Jinja expression for if plugin that checks if a field is defined, and then value if present

$
0
0

@tubedogg wrote:

Back when if used Python, I was able to use this as an if expression:

trakt_networks and 'hallmark' in trakt_networks

This worked great. Upon the switch to pure Jinja expressions, it throws log errors about iterating with None when trakt_networks isn't in the entry. I tried changing it to this:

trakt_networks is defined and 'hallmark' in trakt_networks`

But that throws the same errors when trakt_networks isn't present.

What should my Jinja expression be so that I don't get log errors?

Posts: 9

Participants: 3

Read full topic

all_entries: no clarification

$
0
0

@turb0chrg wrote:

Hey all.

What are the pros and cons of using all_entries:no as documented on Plugins/rss?

A pro are performance gains, but what are the cons? My output plugin is just to deluge.

Thanks!

Posts: 2

Participants: 2

Read full topic


Decompress to sub folder named after folder in which RAR-file resides

$
0
0

@kingsx wrote:

Hello,

I'm pretty new to flexget and I'm trying to get all the functions I have had with other solutions, such as unrar to sub folder named after rar-file parent folder.

Problem is I can't understand how to write so that it reads the folder structure and creates the sub folder. This is my current script that runs decompress.

tasks:
  extract-packed:
    accept_all: yes
    filesystem:
      path: '/NAS-Storage/Download/finished/Movies'
      recursive: yes
      regexp: '.*\.(rar|r0+[01](/01)|zip)$'
    decompress:
      to: '/NAS-Storage/Download/unpacked/Movies'
      keep_dirs: no
      delete_archive:  no

Posts: 4

Participants: 2

Read full topic

Error getting latest version number from download.flexget.com

$
0
0

@danageis wrote:

I am getting the following error on the second line when running 'flexget -V'.

Error getting latest version number from download.flexget.com

Not really a huge deal, but I have a flexget updater script that parses this line so I know what version it upgraded to. Just wondering if others are having this issue or if it's just me.

Posts: 4

Participants: 4

Read full topic

Jinja2 Truncate

$
0
0

@gkovacsp wrote:

Theoretically jinja supports the |truncate function, but it does not seem to work in the following setup:

{{ tvdb_ep_air_date|truncate(10, True, '') }}

It always outputs
2017-06-13 00:00:00
instead of
2017-06-13

If I test it at http://jinja2test.tk/, then it will truncate it correctly.

Any ideas?
Thanks!

Posts: 3

Participants: 2

Read full topic

I'm going crazy, can't get decompress to work?

$
0
0

@Calby1 wrote:

Hi,
I have tried but I can't get decompress to work.
I just want to unrar the newly downloaded stuff to one specific directory but I can't get decompression to work either way.

Can someone post there script / code so I can take a look?

Posts: 1

Participants: 1

Read full topic

Libtorrent still missing after install (inside virtualenv)

$
0
0

@ZileXa wrote:

I have installed libtorrent normally and also inside virtualenv, still Flexget gives an error and aborts convert_magnet plugin:

2017-06-23 09:30 CRITICAL task          download-series-rss Plugin `convert_magnet` cannot be used because dependency `libtorrent` is missing.

I am using OSMC which is based on Debian. I installed libtorrent two ways:
osmc@RPi:~$ sudo apt-get install python-libtorrent

and also:
osmc@RPi:~$ source ~/flexget/bin/activate
(flexget) osmc@RPi:~$ sudo apt-get install python-libtorrent

But it said libtorrent was already installed.

Still I get this error. What am I doing wrong? I really need convert_magnet.

Posts: 3

Participants: 2

Read full topic

kodi_library plugin idea

$
0
0

@ZileXa wrote:

The kodi_library plugin currently allows you to trigger a full library update each time a file has been moved. Kodi will scan all folders within its video library. This is a bit overkill to trigger every time for each file.
There is a different JSON call possible that will only scan 1 item or filder to the library. I used to use this sh script, triggered by Transmission:

/usr/bin/wget --header='Content-Type:application/json' --post-data='{"jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "osmc", "params": {"directory":"'"$TR_TORRENT_DIR"'/"}}' "http://localhost:8080/jsonrpc"

The "user" value didn't really matter. The "directory" does, in this example it is a Transmission parameter.

Would it be an idea to have the kodi_library plugin support such a JSON call in the future?

Posts: 2

Participants: 2

Read full topic

Any plugin for movies based on year like "min year" and "max year"

$
0
0

@HolyHacker wrote:

Hi,

I am trying to setup flexget to download movies that's released between 2015 and 2017.
Is there a way i can do this?

Posts: 2

Participants: 2

Read full topic


trakt_list not working for me

$
0
0

@schnyders wrote:

I've tried to configure my series list with trakt, but didn't get it working. Down the config and current log. Perhaps someone can put me in the right direction whats wrong with me config.

Thanks for help

Config

        configure_series:
            from:
                trakt_list:
                    username: username
                    account: username
                    list: Watchlist
                    type: shows

Log

2017-07-10 15:17
VERBOSE
trakt_list
serienjunkies
Retrieving `shows` list `Watchlist`
2017-07-10 15:17
DEBUG
utils.requests
serienjunkies
Fetching URL https://api.trakt.tv/users/username/lists/watchlist/items with args () and kwargs {'allow_redirects': True, u'timeout': 30}
2017-07-10 15:17
WARNING
configure_series
serienjunkies
Error during input plugin trakt_list: Could not retrieve list from trakt (405 Client Error: Method Not Allowed for url: https://api.trakt.tv/users/username/lists/watchlist/items)

Posts: 6

Participants: 2

Read full topic

Download based on a Keyword from the title of the release

$
0
0

@HolyHacker wrote:

Hi all,

I would like to download movies/TV series based on the release group name.
The title of these movies/TV episodes have the name of the release group, for eg:- MegaSkull is the release group of the title here

Some Movie 2016 1080p BluRay DD5.1 x264-MegaSkull

What plugin/prefix should i use?

Posts: 2

Participants: 1

Read full topic

re_replace not including backreferences in replaced string

$
0
0

@tubedogg wrote:

I have the following included in a notification template:

{{entry.title|re_replace('(.*?)\s\-\sS(\d{2,4})E(\d{2,3})\s\[.*','\1 - s\2e\3')}}

Example title:

Arrow - S05E17 [ 2017 ] [ MKV | H.264 | WEBRip | 720p | FastTorrent ] [ Uploader: Anonymous ]  [ Arrow.S05E17.Kapiushon.720p.AMZN.WEBRip.DD5.1.x264 ]

{{entry.title}}, without any filters on it, returns the full title. Once I apply the above filter, the result is the following string every time:

 - se

(i.e. the replacement string without the backreferences.)

I know the regex is correct for multiple reasons. For one, I tested it in an online Python regex checker. For two, if I remove .* at the end of the regex, the resulting title is this:

 - se 2017 ] [ MKV | H.264 | WEBRip | 720p | FastTorrent ] [ Uploader: Anonymous ]  [ Arrow.S05E17.Kapiushon.720p.AMZN.WEBRip.DD5.1.x264-CasStudio ]

Meaning, it is correctly matching Arrow - S05E17 [ and trying to replace it with the replacement string. But the backreferences in the replacement string aren't replaced.

I thought maybe it had something to do with the whole template thing, so I tried using set to create a field called fixed_title from the title:

    set:
      fixed_title: '{{title|re_replace("(.*?)\s\-\sS(\d{2,4})E(\d{2,3})\s\[.*","\1 - s\2e\3")}}'

and then call {{show_title}} in the template. That resulted in the same thing as above.

What am I doing wrong?

Posts: 6

Participants: 3

Read full topic

FlexGet - anyway to filter by time/date?

$
0
0

@jonesb63 wrote:

Is there anyway to add filter for files that are less than 5 minutes old?

tasks:
  test task:
    rss: rssfeed
    accept_all: yes
    download: ~/downloads/watch/deluge/
    only_new: yes

My current file

Posts: 4

Participants: 2

Read full topic

How to download series with different series id with same quality

$
0
0

@najmudin94 wrote:

i got REJECTED by series plugin because quality already downloaded
first id was 01 1080p
i want redownload 01v2 1080p
please help me

Posts: 2

Participants: 2

Read full topic

Viewing all 376 articles
Browse latest View live