Quantcast
Channel: configuration - Forum - FlexGet
Viewing all 716 articles
Browse latest View live

TransmissionError: Query failed with result "download directory path is not absolute"

$
0
0

@Paul_Littlefield wrote:

I am now getting this error with all tasks, and it will not add torrents to Transmission.

TransmissionError: Query failed with result "download directory path is not absolute".

Here is part of my Transmission settings.json:-

"download-dir": "/home/paully/Downloads/transmission/",

Here is part of my FlexGet config...

tv: 
  set:
    path: /home/paully/Downloads/transmission/tv

Any ideas what I have done wrong, apart from upgrade my Ubuntu Server HTPC yesterday...

:smile:

Paully

FlexGet 2.0.16
transmissionrpc (0.11)
Python 3.4
Ubuntu 14.04.4 LTS

Posts: 2

Participants: 2

Read full topic


Check My Configuration

$
0
0

@Addicted wrote:

Hi, i created a configuration for my need seeing tutorial.
But those tutorial seems old & some changes are made due to new list plugin.
Can anyone help to reconfigure for latest version of flexget i.e 2.0.16

templates:
  global: 
    transmission:
      host: localhost
      port: 1235
      username: user
      password: pass
      min_ratio: 0.002 
tasks:
  fill_movie_queue:
    priority: 4
    accept_all: yes
    seen: local
    movie_queue: add
    imdb_list:
      login: 123@abc.com
      password: pass
      list: watchlist
  movie_search_and_add:
    priority: 5
    verify_ssl_certificates: no
    movie_queue: accept
    discover:
      what:
        - emit_movie_queue: yes
      from:
        - search_rss: https://yts.ag/rss
        - kat:
            category: movies
    quality:
      - 1080p
      - 720p
    torrent_alive: yes
    regexp:
      reject:
        - (?i)[ .]webrip[ .]
        - (?i)[ .]cam[ .]
        - (?i)[ .]bdscr[ .]
        - (?i)[ .]dvdscr[ .]
        - (?i)[ .]preair[ .]
        - (?i)[ .]ppvrip[ .]
        - (?i)[ .]r5[ .]
        - (?i)[ .]tc[ .]
        - (?i)[ .]ts[ .]
        - (?i)[ .]ecc[ .]
        - (?i)[ .]avc[ .]
        - (?i)[ .]qebs[ .]
        - (?i)[ .]hdtc[ .]
        - (?i)[ .]hdcam[ .]
schedules:
  - tasks: [fill_movie_queue, movie_search_and_add]
    interval:
      days: 2
web_server:
  bind: 0.0.0.0
  port: 1234
api: yes
webui: yes

But this won't work as emit_movie_queue,movie_queue are replaced with list plugins.
But there isn't any cookbook that use those new plugins.So without any example it's really hard to create configuration with those documentation available for list plugins.

Can anyone modify this configuration with new plugins

Posts: 6

Participants: 3

Read full topic

Search Rss Problem with a site

$
0
0

@Addicted wrote:

I'm using discover plugin & getting problem with yts.ag site.

discover:
      what:
        - movie_list: MovieQueue
      from:
        - search_rss: https://yts.ag/rss/{{search_term}}/all/all/0

MovieQues is movie list imported from imdb list.
So it contains entry like "Star Wars: Episode II - Attack of the Clones (2002)"
But with "yts.ag" if i directly search with "Star Wars: Episode II - Attack of the Clones (2002)" it'll not give any result.
But if i remove year i.e (2002), it gives proper result.
So how to do something like {{search_term-year}}???

Posts: 4

Participants: 2

Read full topic

Migration from movie_queue to list

$
0
0

@dissembler wrote:

Hi,
New user, trying to get to grips with the configuration.
I'm trying to accomplish:

  1. Get a list from Trakt
  2. Get an rss feed from a tracker
  3. Download (with qBittorrent) the movies from the tracker that are on the Trakt list

I found a config that was close enough and tweaked it for my needs:

templates:

  DOWNLOAD-MOVIES:
    qbittorrent:
      path: /home/pi/media/watchables/downloads
      label: movie
      host: localhost
      port: 8080

  RSS-MOVIES:
    inputs:
      - rss: /home/pi/.config/flexget/feed.xml

tasks:

  QUEUE-MOVIES:
    priority: 2
    inputs:
    - trakt_list:
        username: #####
        account: #####
        list: test
        type: movies
    accept_all: yes
    movie_queue: add
    exists_movie:
      path: /home/pi/media/watchables/downloads/ 
      type: dirs
      allow_different_qualities: no
      lookup: imdb

  MOVIES:
    priority: 3
    movie_queue: accept
    template:
      - RSS-MOVIES
      - DOWNLOAD-MOVIES
    quality:
      - bluray

This works perfectly.

I'm now trying to migrate this to list, but I'm having no joy. I know it's something simple, but I can't weed it out.

templates:

  DOWNLOAD-MOVIES:
    qbittorrent:
      path: /home/pi/media/watchables/downloads
      label: movie
      host: localhost
      port: 8080

  RSS-MOVIES:
    inputs:
      - rss: /home/pi/.config/flexget/feed.xml

tasks:

  QUEUE-MOVIES:
    priority: 1
    inputs:
    - trakt_list:
        username: #####
        account: #####
        list: test
        type: movies
    accept_all: yes
    list_add:
      - movie_list: INCOMING-MOVIES
    exists_movie:
      path: /home/pi/media/watchables/downloads/
      type: dirs
      allow_different_qualities: no
      lookup: imdb

  MOVIES:
    priority: 2
    list_accept:
      - movie_list: INCOMING-MOVIES
    template:
      - RSS-MOVIES
      - DOWNLOAD-MOVIES
    quality:
      - bluray

Output from flexget --test execute:

2016-05-12 22:56 INFO     manager                       Test mode, creating a copy from database ...
2016-05-12 22:56 INFO     manager                       Test database created
2016-05-12 22:56 VERBOSE  task_queue                    There are 1 tasks to execute. Shutdown will commence when they have completed.
2016-05-12 22:56 VERBOSE  input_cache   QUEUE-MOVIES    Restored 4 entries from db cache
2016-05-12 22:56 VERBOSE  details       QUEUE-MOVIES    Produced 4 entries.
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `The Hateful Eight (2015)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `How to Be Single (2016)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `Sideways (2004)` by accept_all plugin
2016-05-12 22:56 VERBOSE  task          QUEUE-MOVIES    ACCEPTED: `Zoolander 2 (2016)` by accept_all plugin
2016-05-12 22:56 VERBOSE  exists_movie  QUEUE-MOVIES    Scanning path /home/pi/media/watchables/downloads/ ...
2016-05-12 22:56 VERBOSE  exists_movie  QUEUE-MOVIES    No items with type dirs were found in /home/pi/media/watchables/downloads/
2016-05-12 22:56 VERBOSE  details       QUEUE-MOVIES    Summary - Accepted: 4 (Rejected: 0 Undecided: 0 Failed: 0)
2016-05-12 22:56 VERBOSE  list_add      QUEUE-MOVIES    adding accepted entries into movie_list - INCOMING-MOVIES
2016-05-12 22:56 VERBOSE  details       MOVIES          Produced 13 entries.
2016-05-12 22:56 VERBOSE  details       MOVIES          Summary - Accepted: 0 (Rejected: 0 Undecided: 13 Failed: 0)
2016-05-12 22:56 VERBOSE  list_accept   MOVIES          removing accepted entries from movie_list - INCOMING-MOVIES
2016-05-12 22:56 INFO     manager                       Removed test database

Any help would be greatly appreciated!

Posts: 5

Participants: 3

Read full topic

Merge mkv and srt before moving the final file

Grouping in configure series

$
0
0

@Addicted wrote:

We can use grouping with series plugin.
However configure_series doesn't support grouping.
May be we can add "grouping support to configure_series or add input list support to series plugin.

Ex

 configure_series:
  settings:
    set1:
      identified_by: ep
      quality: hdtv
      from_group:
        - killers
        - lol
        - asap
        - fum
        - fleet
        - tla
    set2:
      identified_by: ep
      quality: 720p
      from_group:
        - killers
        - lol
        - tla
  set1:
    from:
      trakt_list:
        username: username
        account: traktuser
        list: mytvshowshdtv
        type: shows
        strip_dates: yes
  set2:      
    from:
      trakt_list:
        username: user
        account: traktuser
        list: mytvshows720
        type: shows
        strip_dates: yes

or simply adding from to series plugin.

    series:
      settings:
        tv720p:
          identified_by: sequence
          sequence_regexp:
            - (\d+)
            - S(\d+) (\d+)
          from_group: HorribleSubs
          quality: 720p
        tvhdv:
          identified_by: sequence
          sequence_regexp:
            - (\d+)
            - S(\d+) (\d+)
          from_group: HorribleSubs
          quality: 480p
      tv720p:
        from:
          trakt_list:
            username: user
            account: traktuser
            list: mytvshows720
            type: shows
            strip_dates: yes
      tvhdv:
        from:
          trakt_list:
            username: user
            account: traktuser
            list: mytvshowshdtv
            type: shows
            strip_dates: yes

Posts: 2

Participants: 2

Read full topic

Linux CRON different filesystem encoding

$
0
0

@Paul_Littlefield wrote:

Hi Folks,

I am getting this WARNING now on an hourly cron job...

Your cron environment has different filesystem encoding (UTF-8) compared to your terminal environment (utf-8)

I cannot see what's wrong.

Here is the only locale installed...

$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8
LC_ALL=en_GB.UTF-8

Here is my Linux console environment...

$ env |egrep 'LC|LANG'
LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8

At the top of my crontab is this...

LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
@hourly /usr/local/bin/flexget --cron execute

Anyone have any idea as to why it's complaining?

Thanks,

Paully

Posts: 6

Participants: 2

Read full topic

Season recognised as episode

$
0
0

@Addicted wrote:

2016-05-16 21:13 VERBOSE  task          Horrible        REJECTED: `[HorribleSubs] Terra Formars S2 - 06 [720p].mkv` by series plugin because episode `2` is before begin value of `6`
2016-05-16 21:13 VERBOSE  task          Horrible        REJECTED: `[HorribleSubs] Terra Formars S2 - 07 [480p].mkv` by series plugin because episode `2` is before begin value of `6`
2016-05-16 21:13 VERBOSE  task          Horrible        REJECTED: `[HorribleSubs] Terra Formars S2 - 06 [480p].mkv` by series plugin because episode `2` is before begin value of `6`

Related config

series:
  settings:
    anime720p:
      identified_by: sequence
      sequence_regexp:
        - (\d+)
        - S(\d+) (\d+)
      from_group: HorribleSubs
      quality: 720p
  anime720p:
    - Terra Formars:
        begin: 06

So how to configure properly to recognise that anime season & episode separately

Posts: 5

Participants: 3

Read full topic


After installing Subliminal, Flexget stopped to work

$
0
0

@lucas wrote:

After a:
sudo pip install --upgrade https://github.com/Diaoul/subliminal/archive/develop.zip

when I try to flexget execute --tasks download

I get:

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.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests>=2.8.0,<3.0

What's happening?

Posts: 1

Participants: 1

Read full topic

Magnet Link 2016 Support

$
0
0

@sinner wrote:

Hey all,

i searched for magnet links support in flexget looking at the terminal output I'm seeing a lot of magnet links being rejected. I have the transmission plugin configured but doesn't seem to work.

? - does flexget support magnet links if so any configuration docs? any suggested plugins?

Posts: 3

Participants: 2

Read full topic

Wildcard usage in task

$
0
0

@niawag wrote:

Hi, I'm using flexget with a pretty bad internet connection and I decided to use wget/curl to fetch the rss that flexget will use. My inputs config look something like that :

    inputs:
      - rss: file:///localdir/rss1.xml
      - rss: file:///localdir/rss2.xml
      - rss: file:///localdir/rss3.xml
      - rss: file:///localdir/rss4.xml
      - rss: file:///localdir/rss5.xml
      - rss: file:///localdir/rss6.xml
      - ...

Is it possible to use wildcard in the config file? This way I could use:

         inputs:
          - rss: file:///localdir/rss*.xml

or, even:

        inputs:
          - rss: file:///localdir/*.xml

Thanks a lot for your help, if anyone wants to know how I'm using wget and cURL I'd gladly provide my 2 cents.

Posts: 3

Participants: 2

Read full topic

IMDB/TMDB lookup and the if plugin

$
0
0

@fuufuu wrote:

Since the IMDB_lookup fails ~1/2 of the time im trying to get some redundancy by using TMDB and IMDB.
Im using the if plugin to check whenever imdb_score OR tmdb_rating is above a certian value, hoping it catches the movie if one of the lookup fails.
Using my current config it catches movies catched before, i guess because of the "accept" in "if".
Replacing it with "score < min_rating: reject" downloads nothing.
What is your take on improving imdb/tmdb lookup?

My config:

tasks:
    movies_1080p:
        parsing:
          movie: guessit
          series: guessit
        inputs:
           - rss: https://domain.org/rss.php
           - rss: https://domain.org/rss.php

        imdb_lookup: yes
        tmdb_lookup: yes

        quality: 1080p bluray
        proper_movies: yes
        seen: local
        if:
          - has_field('imdb_score') and imdb_score < 7.5: accept
          - has_field('tmdb_rating') and tmdb_rating < 7: accept

        deluge:
          path: /home/xxx/Downloads/tmp/
          movedone: /home/xxx/Downloads/Movies/{{movie_year}}/
          label: movies

Posts: 1

Participants: 1

Read full topic

Why is my series config not working?

$
0
0

@activ wrote:

Hi all,

I am trying to put together a working config for series, but something seems to be wrong and I'm not sure what.
I am using thetvdb favorites as input and trakt for lookup, a newznab site for nzb's and sabnzbd to download.
The log shows:
search usenet Searching for TVshow S01E01 (but with a show name) which doesn't return anything I guess, there are no further log messages.
If I paste the same thing in the website of the newznab provider the episode is found without problem.

My config looks like this:

  series search usenet:
    domain_delay:
      api.nzbgeek.info: 3 seconds
    priority: 14
    thetvdb_lookup: yes
    trakt_lookup: yes
    seen: local
    accept_all: yes    
    template:
      - pushbullet-template       
      - sabnzbd-series-template
    configure_series:
      settings:
        identified_by: ep
        timeframe: 16 hours
        target: 1080p
        quality: 720p-1080p
      from:
        thetvdb_favorites:
          username: XXXXX
          account_id: XXXXXXXX       
    discover:
      what:
        - emit_series:
            from_start: yes
            backfill: yes
      from:
        - newznab:
            website: "https://api.nzbgeek.info/"
            apikey: "XXXXXXXX"
            category: tv
    interval: 1 hour
    exists_series:
      - /mnt/user/Series/

Anyone got any ideas?

Posts: 4

Participants: 3

Read full topic

Pretty simple automating config file for TV Shows download

$
0
0

@vindeamim wrote:

Hi all,

I spent some time yesterday trying to figure out how to config my Flexget, but I'm still having problems with the config file.

What I want to do:
- Use Trakt list to set which TV shows I'm watching
- Auto download all episodes that were not downloaded yet using Transmission

What I accomplished until now:
- Fetching the latest episodes for all series I watch (using the ShowRSS)
- Rejecting if the episode was already downloaded
- Add to Transmission

My config.yml now:

tasks:
  get_series:
    rss: '{{ secrets.rss.show_rss }}'
    all_series: yes
    exists_series: '{{ secrets.paths.series }}'
    verify_ssl_certificates: no
    transmission:
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.user }}'
      password: '{{ secrets.transmission.password }}'
      path: '{{ secrets.path.series }}'
      addpaused: no
    clean_transmission:
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.user }}'
      password: '{{ secrets.transmission.password }}'
      finished_for: 30 minutes

This config is working: I was able to download the last episode of one of my series, but I still have some missing episodes that I would like to download using flexget.

I mean, if I added a new TV show to my Trakt list, I would like Flexget to download all episodes of that TV Show (or, if some of them already exist in my TV Show folder, only the missing ones).

Posts: 4

Participants: 2

Read full topic

Help migrate from movie_queue to movie_list

$
0
0

@cpjolicoeur wrote:

I just recently updated to flexget 2.0.34 from 1.2.201 (yes, I had never upgraded from my first install a long time ago.

I now get warnings that movie_queue plugin is deprecated and to use movie_list instead. I read the docs on the list structure and movie lists but I'm still pretty uncertain about how to port my current config to use movie_list instead. Here is a link to my current (simple) configuration:

A simple TV show downloader, a movie queue builder and then a movie queue download task.

If anyone can guide me on the changes need to change this basic config to use movie_list instead of movie_queue I'd appreciate it.

Posts: 2

Participants: 2

Read full topic


Config File and Deluge

$
0
0

@robo731 wrote:

I've been looking around the wiki and I've also taken a look at some example config files, but I can't get it to work. Here's the format I have it written in:

Posts: 1

Participants: 1

Read full topic

Won't remove from transmission

$
0
0

@lloydie11 wrote:

Hello,

Anyone advise me why my completed torrents are not being removed under my clean_tors task.

2016-05-02 11:26 WARNING task clean_tors Task doesn't have any input plugins, you should add (at least) one!
2016-05-02 11:26 WARNING details clean_tors Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-05-02 11:26 VERBOSE details clean_tors Summary - Accepted: 0 (Rejected: 0 Undecided: 0 Failed: 0)
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "The Revenant (2015).mkv": status: "stopped" - ratio: 0.0113 - date added: 2016-05-01 00:53:29 - date done: 2016-05-01 01:09:14
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "Triple.9.2016.1080p.WEB-DL.AAC2.0.H264-FGT": status: "stopped" - ratio: 0.1736 - date added: 2016-05-01 00:53:29 - date done: 2016-05-01 01:14:20
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "Alvin.And.The.Chipmunks.The.Road.Chip.2015.1080p.BRRip.x264.AAC-ETRG": status: "stopped" - ratio: 0.0361 - date added: 2016-05-01 00:53:29 - date done: 2016-05-01 01:05:31
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "Babys.Day.Out.1994.1080p.WEB-DL.H264.AC3.5.1.BADASSMEDIA": status: "stopped" - ratio: 0.1331 - date added: 2016-05-01 00:53:29 - date done: 2016-05-01 01:43:41
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "I.Am.Wrath.2016.720p.WEB-DL.DD5.1.H.264-PLAYNOW[VR56]": status: "stopped" - ratio: 0.0713 - date added: 2016-05-01 00:55:18 - date done: 2016-05-01 01:29:01
2016-05-02 11:26 VERBOSE transmission clean_tors Torrent "Office.Space.1999.720.BRRip.x264-x0r": status: "stopped" - ratio: 0.5911 - date added: 2016-05-01 00:55:18 - date done: 2016-05-01 05:13:24

Here's the task:

clean_tors:
clean_transmission:
host: localhost
port: 9091
username: user
password: 'secret'
min_ratio: 0.0

Thanks

Posts: 2

Participants: 2

Read full topic

Trakt Remove List

$
0
0

@lloydie11 wrote:

Hello,

On ACCEPTED match passed to transmission, i want to remove the entry from a Trakt list and add to another one, so have added that to my download-movie template, but it doesn't seem tobe working.

Any ideas?

  download-movie:
    discover:
      what:
        - movie_list: trakt
      from:
        - kat:
            category: movies
        - piratebay:
            category: movies
            sort_by: seeds
#      interval: 30 minutes
    trakt_remove:
       username: lloydie11
       list: MCM
    trakt_add:
       username: lloydie11
       list: MCMNotEncrypted
    imdb_lookup: yes
    set:
      skip_files:
        - '*.nfo'
        - '*.sfv'
        - '*[sS]ample*'
        - '*[sS][aA][mM][pP][Ll][eE]'
        - '*.txt'
        - '*.jpg'
      main_file_only: yes
      content_filename: "{{ imdb_name|replace('/', '_')|replace(':', ' -') }} ({{ imdb_year }})"

Thanks

Posts: 2

Participants: 2

Read full topic

Download dir setting

$
0
0

@effemmeffe wrote:

I have this two taks, one is to download movies from a trakt list and one is to download torrents from a watchdir.

  download-movies-manual-task:
    priority: 15
    template:
      - disable-seen-retry-template
      - movies-metainfo-template
      - transmission-global-template
      - transmission-movies-template
    filesystem:
      path: '/{{secrets.folder.watchmovies}}'
      mask: '*.torrent'
    parsing:
      movie: guessit
    accept_all: yes
    exec:
      on_output:
        for_accepted: rm -f "{{location}}"
    list_remove:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'

  download-movies-1080p-task:
    priority: 16
    interval: 2 hour
    template:
      - movies-1080p-template
      - regex-template
      - torrents-template
      - transmission-global-template
      - transmission-movies-template
    exists_movie:
      - '/{{secrets.folder.downmovies}}'
      - '/{{secrets.folder.movies}}'
    discover:
      release_estimations: ignore
      interval: 15 minutes
      what:
        - trakt_list:
            account: '{{secrets.trakt.account}}'
            list: '{{secrets.trakt.movies}}'
            type: movies
            strip_dates: yes
      from:
        - torrentz: good
        - search_rss: https://kickass.unblocked.la/usearch/{{search_term}}/?rss=1
    list_queue:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.movies}}'
          type: movies
          strip_dates: yes

Both tasks send torrents to transmission, but the problem is that the entries from download-movies-1080p-task create downloads in the folder {{secrets.folder.downmovies}} that on my system is ~/Downloads/incomplete but entries from the task download-movies-manual-task go to the folder ~/Downloads/torrents that is the download-dir in transmission settings.
How can I define the destination folder via flexget?

Posts: 3

Participants: 2

Read full topic

Delete files in source directory if seen in destination directory

$
0
0

@fdaa wrote:

I’m using Flexget to download tv-series from my seedbox to a source directory, unrar them if necessary and then move them to a destination directory. I would like to do a clean up after a successful move but can’t figure out how. Is it possible to delete any files in my source directory that is discovered by exists_series plugin in my destination directory? Any tips / ideas are welcome.

Posts: 1

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live