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

CRITICAL plugin Error connecting to transmission: Not Found

$
0
0

@tripkin wrote:

I am having troubles with flexget connecting to Transmission. I can connect to the web interface, and everything seems to be ok there. Transmission is running as a system service, Flexget is running as a cron job when I get it working. The system is Debian 8.5 Jessie, Python v2.7.9, transmission-daemon v2.84, and Flexget 2.0.40

Whenever I run flexget execute, it finishes up with the following lines:
2016-06-05 22:09 VERBOSE details Summary - Accepted: 39 (Rejected: 1 Undecided: 0 Failed: 0)
2016-06-05 22:09 CRITICAL plugin Error connecting to transmission: Not Found
2016-06-05 22:09 WARNING task Aborting task (plugin: transmission)

Is anyone able to help?

My configuration and status of Transmission are as follows:
config.yml
tasks:
Task_to_do::
rss: http://*****
all_series: yes
transmission:
host: localhost
port: 8080
username: *****
password: *****

service transmission-daemon status
● transmission-daemon.service - Transmission BitTorrent Daemon
Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled)
Active: active (running) since Sun 2016-06-05 18:09:36 MDT; 5h 2min ago
Main PID: 335 (transmission-da)
Status: "Idle."
CGroup: /system.slice/transmission-daemon.service
└─335 /usr/bin/transmission-daemon -f --log-error

Jun 05 18:09:38 FQDN transmission-daemon[335]: [2016-06-05 18:09:38.423 MDT] UDP Failed to set rec...78)
Jun 05 18:09:38 FQDN transmission-daemon[335]: [2016-06-05 18:09:38.424 MDT] UDP Failed to set sen...89)

transmission settings:
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/home/torrent/download",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 10,
"idle-seeding-limit-enabled": true,
"incomplete-dir": "/home/torrent/dl_incomplete",
"incomplete-dir-enabled": true,
"lpd-enabled": true,
"max-peers-global": 200,
"message-level": 1,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 55789,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"prefetch-enabled": 1,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 10,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "*****",
"rpc-port": 8080,
"rpc-url": "/",
"rpc-username": "*****",
"rpc-whitelist": "127.0.0.1,192.168.129.*",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 1,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 10,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 2,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 4,
"utp-enabled": true,
"watch-dir": "/home/torrent/incoming",
"watch-dir-enabled": true
}

Posts: 3

Participants: 2

Read full topic


Advanced YAML trick: anchors

$
0
0

@ianstalk wrote:

The template plugin in Flexget is great, but it has its limitations; you wind up repeating yourself a lot anyway. Enter: YAML anchors! They'll let you do templating at a much more granular level. Here's an example config (NOTE: the below config relies on the fact that Flexget doesn't validate tasks/templates prefixed by an underscore):

templates:
  anchors:
    _transmission: &transmission
      enabled: yes
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.username }}'
      password: '{{ secrets.transmission.password }}'

    _trakt_credentials: &trakt-credentials
        username: '{{secrets.trakt.username}}'
        account: '{{secrets.trakt.account}}'

  series-transmission:
    transmission: 
      <<: *transmission
      ratio: 5
      path: '/Volumes/Drobo/downloads/tv/'
      
  movies-transmission:
    transmission: 
      <<: *transmission
      ratio: 5
      path: '/Volumes/Drobo/downloads/movies/'

  series-trakt-list: &series-trakt-list
    trakt_list:
      <<: *trakt-credentials
      list: 'TV Queue'
      type: shows
      strip_dates: yes

tasks:
  series-trakt-clean:
    priority: 107
    template: [series-trakt-list]
    disable: seen
    list_remove:
      - <<: *series-trakt-list

  transmission-clean:
    priority: 999
    disable: details
    no_entries_ok: yes
    clean_transmission:
      <<: *transmission
      transmission_seed_limits: yes
      delete_files: yes
      finished_for: 5 days
      directories:
        - "/Volumes/Drobo/downloads/tv/.*"
        - "/Volumes/Drobo/downloads/movies/.*"

Use &achrorname to define an anchor, then you can reference it with <<: *anchroname. Anything scoped below the anchor will be copied when you reference it. You can even override values defined in an anchor, though my example doesn't show anything like that. https://gist.github.com/bowsersenior/979804 is a good quick overview of anchor syntax if you want to learn more.

Posts: 2

Participants: 2

Read full topic

Question about list_add - trakt_list

$
0
0

@jonybat wrote:

I have been using this task to update my trakt series list (not collection) with the series that im watching:

It used to work just fine, but i noticed that since the list plugins update its behavior has changed. It now adds the same show to the trakt list for as many times as episodes i have. I know that even with the season and episodes stripped, im still feeding it all those episodes. The thing is, it used to work as i intended.

I recon it would make more sense to have something like this:

  update-series-list:
    priority: 41
    template:
      - disable-seen-retry
      - series-metainfo
    filesystem:
      path: '/{{secrets.folder.root}}{{secrets.folder.series}}'
      retrieve: dirs
    accept_all: yes
    if:
      - tvdb_status == 'Ended': reject
    list_add:
      - trakt_list:
          account: '{{secrets.trakt.account}}'
          list: '{{secrets.trakt.series}}'

But it doesnt work, because apparently it can not parse series names without any ep info:

2016-06-12 07:44 DEBUG parser_internal update-series-list Parsing series: Silicon Valley kwargs: {'identified_by': u'auto', 'name': None, 'allow_seasonless': False
}
2016-06-12 07:44 DEBUG parser_internal update-series-list Parsing result: roper=0,status=INVALID)> (in 1.42 ms)

Any suggestion on how to get around this?

Posts: 5

Participants: 2

Read full topic

Can't find .flexget folder (Ubuntu 14.04)

$
0
0

@LucasHMS wrote:

Hi all, Just updated flexget and had lots of issues, but managed to solve and now I have version 2.0.42. But after uninstalling, I deleted the .flexget folder on my personal folder to make sure I'd get a fresh install and now that it's updated the folder doesn't exist anymore. In this new version the folder is placed somewhere else or I have to run some commad?

PS: already checked ./config/flexget and doesn't exist either

ERROR:
2016-06-12 20:14 CRITICAL manager Failed to find configuration file config.yml
2016-06-12 20:14 INFO manager Tried to read from: /home/lucas, /home/lucas/.flexget, /home/lucas/.config/flexget
Could not instantiate manager: No configuration file found.

Posts: 8

Participants: 3

Read full topic

Setting path for the accepted files after filtering through regexp reject_excluding

$
0
0

@VLI wrote:

As the title suggests, can't seem to get it working, nor can I find documentation related to how I would like to configure it.

Test 1

templates:
  torrent:
    transmission:
      host: localhost
      port: 9091
      username: osmc
      password: osmc
    clean_transmission:
      host: localhost
      port: 9091
      username: osmc
      password: osmc
      finished_for: 336 hours

tasks:
  Movies:
    rss:
      url: xxxxx
    regexp:
      reject_excluding:
        - 'brrip'
        - '2016'
        - evo
      rest: accept
        set:
          path: ~/../../media/NAS1/completed/
    template: torrent

Test 2

templates:
  torrent:
    transmission:
      host: localhost
      port: 9091
      username: osmc
      password: osmc
    clean_transmission:
      host: localhost
      port: 9091
      username: osmc
      password: osmc
      finished_for: 336 hours

tasks:
  Movies:
    rss:
      url: xxxxx
    regexp:
      reject_excluding:
        - 'brrip'
        - '2016'
        - evo
      rest: filter
      accept:
        - *
          set:
            path: ~/../../media/NAS1/completed/
    template: torrent

Posts: 3

Participants: 2

Read full topic

1st FlexGet Script

$
0
0

@Mike_Jones wrote:

I am trying to create my 1st .yaml config file, but nothing is happening. This is the contents of my file, did I set this up incorrect?

tasks:
piratebay:
category: video
sort_by: leechers
series:
- Show 1
- Show 2
- Show 3
deluge: yes

Posts: 9

Participants: 3

Read full topic

Always rejects

$
0
0

@swmiller6 wrote:

I am having an issue with getting movies from trakt to download. It always rejects based on content_size either too high or too low. If I comment out the content_size option completely it then rejects based on quality.
Please take a look at my config and see if anything seems amiss..

secrets: secrets.yml

templates:
  # repetative anchor items
  anchors:
    _transmission: &transmission
      host: '{{ secrets.transmission.host }}'
      port: 9091
      username: '{{ secrets.transmission.username }}'
      password: '{{ secrets.transmission.password }}'
      path: '{{ secrets.transmission.download_path_shows }}'
      ratio: .01
    _email: &email
      active: True
      from: '{{ secrets.email.from }}'
      to: me@gmail.com
      smtp_host: '{{ secrets.email.host }}'
      smtp_port: 587
      smtp_login: true
      smtp_username: '{{ secrets.email.username }}'
      smtp_password: '{{ secrets.email.password }}'
      smtp_tls: true  
    _trakt_credentials: &trakt_credentials
      username: '{{ secrets.trakt.username }}'
      account: '{{ secrets.trakt.account }}'
  global:
    retry_failed:
      retry_time: 5 minutes # Base time in between retries
      retry_time_multiplier: 1 # Amount retry time will be multiplied by after each successive failure
      max_retries: 25 # Number of times the entry will be retried
  # transmission movie template
  transmit-movies:
    transmission:
      <<: *transmission
    email:
      <<: *email
  # movie template
  download-movie:
    discover:
      what:
        - movie_list: 'movies from trakt'
      from:
        - kat:
            category: movies
            verified: yes
        - piratebay:
            category: "highres movies"
            sort_by: seeds
      interval: 1 hours
    set:
      content_filename: "{{ imdb_name|replace('/', '_')|replace(':', ' -') }} ({{ imdb_year }}) - {{ quality }}"
# task to run
tasks:
  copy_trakt_watchlist_movies:
    priority: 1
    disable: seen
    trakt_lookup:
      <<: *trakt_credentials
    trakt_list:
      <<: *trakt_credentials
      list: watchlist
      type: movies
    accept_all: yes
    if:
      - trakt_collected: reject
    list_add:
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.movies_get }}'
  fill_movie_list:
    priority: 2
    trakt_list:
      <<: *trakt_credentials
      list: '{{ secrets.trakt_lists.movies_get }}'
      type: movies
    accept_all: yes
    list_add:
      - movie_list: 'movies from trakt'
  get_movies_720p:
    torrent_alive: yes #number of seeders needed to accept
    priority: 3
    magnets: no
    content_size:
      max: 6072
      min: 1024
      strict: no
    quality: 720p-1080p webrip-bluray
    template: [ download-movie, transmit-movies ]
  clean_trakt_movies_list:
    priority: 4
    disable:
      - seen
      - movie_queue
    trakt_lookup:
      <<: *trakt_credentials
    trakt_list:
      <<: *trakt_credentials
      list: '{{ secrets.trakt_lists.movies_get }}'
      type: movies
      strip_dates: yes
    if:
      - trakt_collected: accept
    list_remove:
      - movie_list: 'movies from trakt'
      - trakt_list:
          <<: *trakt_credentials
          list: '{{ secrets.trakt_lists.movies_get }}'

Posts: 11

Participants: 3

Read full topic

Need help with rss and 2 sites

$
0
0

@kadafi wrote:

I have a working config scraping 2 kickass torrents users, but since torcache is terribly unreliable I'd like to scrape these users websites.

I'd like to pull new torrents from these 2 sites
shaanig: http://www.shaanig.org/external.php?type=RSS2&forumids=30
mkvcage: http://www.mkvcage.com/feed/

The below is taken from my working config for KAT, this is giving me the "unexpected html content received" error. I've tried using the the "link" parameter described in the RSS plugin documentation without luck. If someone wouldn't mind taking a look at the above rss feeds and letting me know how I may be able to fix this it would be greatly appreciated :slight_smile:

test task:
rss:
url:
regexp:
accept:
- 720p
reject:
- Season
- 1080p
- HDTV
- x265
download: /downloads

Posts: 2

Participants: 2

Read full topic


Remove fakes - Running command ... for client

$
0
0

@volsk wrote:

I created a little script called cleantorrents to remove fakes. The goal is to remove the file and remove the episode (or complete show) from the database. The script is kicked off by:

  sort-series:
    exec:
      allow_background: yes
      on_exit:
        phase: /home/<username>/Scripts/cleantorrents

The cleantorrents script has several parts. The first part looks for fakes and outputs their location to a file:

find <location_of_videos> -size +100M -type f -exec file -N -i -- {} + | grep 'dosexec\|application' | awk -F ":" '{print $1}' | while read line; do echo $line >> /tmp/fakes; done

The second part actually deletes the files:
cat /tmp/fakes | while read line; do rm -v "$line"; done

The third part tries to remove the series from the database:
cat /tmp/fakes | awk -F "/" '{print $(NF-1)}' | while read line; do flexget series forget "$line"; done

The first two parts work fine. The third part doesn't work. The output I get is:
2016-06-17 15:31 VERBOSE ipc Running command 'series forget "<series_name>"' for client.
But the series is not removed from the database.

Any suggestion how to solve this?

Posts: 3

Participants: 3

Read full topic

Please help with simple config.yml (flexget + t411)

$
0
0

@maguilar wrote:

Hello guys !

I'm having a bit of struggle trying to set up a propre script for t411 website.
It's not working and so far, with my low knowledge I can't debug it to find out what's going on.

Can you please help me?

Here is my config.yml file :

templates:
  t411:
    plugin_priority:
      headers: 250
    headers:
      User-Agent: "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"
      Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
      Accept-Charset: "ISO-8859-1,utf-8;q=0.7,*;q=0.3"
      Accept-Language: "fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4"
      Cache-Control: "max-age=0"
      Connection: "keep-alive"
      Cookie: "uid=***; pass=***; authKey=***"
  tv-my_shows:
    template:
      - t411
    series:
      - Game Of Thrones:
          begin: S06E05
      - Orange Is The New Black:
          begin: S04E01
    transmission:
      host: localhost
      port: 9091
      username: *
      password: *
    set:
      content_filename: "{{series_name}} - {{series_id}} - {{quality}}"
      movedone: "/home/xbian/series/{{ series_name }}/{{'S%02d'|format(series_season)}}"
  tv-my_shows_anime:
    template:
      - t411
    series:
      - Dragon Ball Super:
          identified_by: ep
    transmission:
      host: localhost
      port: 9091
      username: xbian
      password: raspberry
    set:
      content_filename: "{{series_name}} - {{series_id}} - {{quality}}"
      movedone: "/home/xbian/series/{{ series_name }}/{{'S%02d'|format(series_season)}}"

tasks:
  My_TV_Shows:
    priority: 1
    template:
      - tv-my_shows
    discover:
      what:
        - emit_series: yes
      from:
        - t411:
            category: Série TV
            terms:
              - VOSTFR
              - 1080p
    priority: 2
    template:
      - tv-my_shows_anime
    discover:
      what:
        - emit_series: yes
      from:
        - t411:
            category: Animation Série
            terms:
              - VOSTFR

Posts: 5

Participants: 3

Read full topic

add_trackers: from url

Can you combine TimeFrame and ContentSize plugins?

$
0
0

@tftd wrote:

I have been playing around with FlexGet for the past few days. I noticed there is a plugin called TimeFrame which can fallback to a certain quality after some time has passed and no results were found.

I was wondering if there is a way to combine this with content_size ? Lets say that I'm looking for a 720p hdtv release which is no greater than 500mb and if none is found within X hours it would fallback to another quality and content_size

Posts: 1

Participants: 1

Read full topic

trakt_collected not working: Python error

$
0
0

@rcnorth wrote:

My config file has been working great for several months now. Today I decided to added in an if trakt_collected: reject option so that it doesn't try and find files I downloaded directly.

When I saved the config file and did a verify I got a very long list of errors, with the first line being

Could not start manager: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/pytz-2016.3.dist-info/METADATA'

I commented out the trakt_collected check and everything verifies correctly.

I am currently on 2.0.12. I see that version 2.0.50 is available, but don't want to risk updating until I get the METADATA problem resolved.

Posts: 3

Participants: 2

Read full topic

Disable warning for empy task

$
0
0

@Mirgolth wrote:

Hi,

I have a simple task to feed my Flexget movie queue list from Imdb watchlist.

watchlist:    
    priority: 1 
    imdb_list:
      login: '{{ secrets.imdb.usr }}'
      password: '{{ secrets.imdb.pass }}'
      list: watchlist
    accept_all: yes
    list_add:
      - movie_list: watchlist
    list_remove:
      - imdb_list:
          login: '{{ secrets.imdb.usr }}'
          password: '{{ secrets.imdb.pass }}'
          list: watchlist
    disable:
      - seen

Then, my Imdb watchlist is always empty except a few times when I had a movie but is emptied right away after execution. My issue is my log is flooded with warnings :

2016-06-23 05:47
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-06-23 06:17
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-06-23 06:47
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-06-23 07:17
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-06-23 07:47
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.
2016-06-23 08:17
WARNING
details
watchlist
Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.

Anyways to disable this error for this task ? Or a better way to get the same goal : easyly feed flexget for clicking on Imdb ?

Posts: 7

Participants: 3

Read full topic

Only Download Missing Episodes

$
0
0

@Hans_Bronson wrote:

I created a trakt.tv account and am using my config.yml file to check my RSS feeds for episodes contained in this list. Well the issue I see at this moment is, if the rss contains the show (let's use Lost as an example) it downloads EVERY episode of Lost.

Is there a way I could set my config.yml to say only download any episodes that do not exist in

C:\Lost\

Now the caveat would be, I would download just a garbage file name such as

2008.Lost.Season01.Episode01.mp4

And my format would be

C:\Lost\Season 01\EpisodeTitle.S01E01.mp4

Hopefully all that made sense, but is there a way to use flexget to scan a folder and only download what is missing from the folder (by the end should only be "new" airings)?

From reading http://flexget.com/wiki/Cookbook/Series/trakt_manager I see that you can

...you can add the specific episode you want to start at to the My TV Shows list and it will be handled automatically.

Which is close to what I am after, but I do not want to download everything after a certain episode, I want to download anything missing from a folder.

Posts: 10

Participants: 2

Read full topic


Using content_filename with transmission causes a JSON serialization error

$
0
0

@Chris_Thompson wrote:

I'm using FlexGet 2.1.1 on Ubuntu 16.04 (amd64) and python 3.5.1.

I'm using the content_filename setting with the transmission plugin and when I do, I get an error like this:

2016-06-24 21:46 INFO transmission rss "The Nightly Show 2016 06 23 Mahershala Ali 720p HDTV x264-W4F[VR56]" torrent added to transmission
2016-06-24 21:46 CRITICAL task rss BUG: Unhandled error in plugin transmission: b'The.Nightly.Show - 2016x2016-06-23 - 720P HDTV H264.mkv' is not JSON serializable"

templates:
  #this is just a profile name
  webdl:
    #series is a plugins name
    configure_series:
      #series plugin has settings and it must be set
      settings:
        #tv is just a settings profile
        #lets take only 720p or 1080p WEB-DL files
        #and never take those which is encoded with x265 hevc codec
        quality: 720p !h265
        #set default downloads destination
        set:
          #the Downloads root path must be created
          #series_name will be created automatically
          path: /media/data/TV Shows/{{series_name}}
          main_file_only: yes
          content_filename: "{{ series_name|replace(' ','.') }} - {{ series_season }}x{{ series_id|pad(2) }} - {{ quality|upper }}{% if proper %} - PROPER{% endif %}"
        #if the 720p file has already downloaded and if 1080p came out
        #then download the best
        upgrade: yes
        tracking: no
      #lets take tv settings and define some shows we are interested
      from:
        filesystem:
          - /media/data/TV Shows/
    #we will use transmission daemon to work with magnets
    transmission:
      #how long you seed the file when it is removed from torrent client
      host: localhost
      port: 9091

Posts: 1

Participants: 1

Read full topic

Don't specify series names

$
0
0

@jmaurin wrote:

Hi!
I have flexget working fine for some years and now I need to make some changes in my config. In the past, I used to add each series name in my configuration file. Now, my feed has hability to configure (using their web interface) which series I want in my feed. So my question is: is possible to forcer flexget to get everything in my feed, but keep controling episodes from series?
For exemple: if I want to add a new serie, I just add it to my feed site and don't need to change anything in flexget. Flexget would get everything from my feed, including this new serie, and keep controling episodes from all entries (ex: don't download already downloaded episode).
Is it possible?
This is my current config:

templates:
  tv:
    email:
      active: false
      from: EMAIL@USER.COM
      to: EMAIL@USER.COM
      smtp_host: smtp.gmail.com
      smtp_port: 587
      smtp_login: true
      smtp_username: USER
      smtp_password: PWD
      smtp_tls: true

    series:
      settings:
        normal:
          exact: yes
          propers: 3 days
          identified_by: ep
          set:
            path: /dados/tv/Series/{{series_name}}/Temporada {{"%02d"|format(series_season)}}

        qualidade:
          exact: yes
          propers: 3 days
          identified_by: ep
          set:
            path: /dados/tv/Series/{{series_name}}/Temporada {{"%02d"|format(series_season)}}

      normal:
        - Bones
        - The Big Bang Theory
        - The Simpsons
        - Modern Family
        - The 100
        - The Last Ship
        - The Flash 2014
        - The Leftovers
        - Deadliest Catch
        - Mr. Robot
        - Fear The Walking Dead
        - The Last Man on Earth

      qualidade:
        - The Walking Dead
        - Arrow
        - 24

    transmission:
      enabled: yes
      host: localhost
      port: 9091
      username: XXX
      password: YYY
      ratio: 2

web_server:
  bind: 0.0.0.0
  port: 3539
api: yes
webui: yes

tasks:
  SHOWRSS:
    rss: http://showrss.info/user/XXX
    template:
      - tv
    priority: 9

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

Tks!

Posts: 2

Participants: 2

Read full topic

Linux Plex Media server Automation using Flexget and Deluge (and python)

$
0
0

@tskmst wrote:

Hello Everyone!

I would like to share some of the details of our Flexget implementation and perhaps get some feedback or advice. We (tskmst & potaote) have been up and running for about 7 months now, and are tweaking and learning as we go.

The implementation includes many bits from a cookbook that can be found at http://flexget.com/wiki/Users/anon

We use our modified version of that anon/flexget script to extract, create folders, trim filenames and copy relevant parts of completed torrents by adapting the script written in PHP to Python.

A little bit of totally unnecessary information about our server:

Dell R610 running VMware ESXi 5.5.
PERC H700 controls 6x120GB SSDs.
ServeRAID M1115 SAS/SATA RAID controller runs a Dell J23 CFS that is almost half full with 10 x 3TB drives for media and a 2 TB for torrenting.

Running within the VMware environment are the Ubuntu Virtual Machines that run the media server and run the torrents. We use Ubuntu 14.04 for both the PLEX server and the download/terminal machine. The Plex Server, in addition to Plex also runs PlexPy and handles some downloading and matching of subtitles. The Terminal Server runs Flexget and Deluge w/ the python script.

How It Works

The user defines what will be downloaded by configuring customized watchlists on Trakt.tv for each category of content they wish to filter their downloads into. For example, we have Television, Documentary (series), Cartoons and we plan to add/complete the movies part soon enough too.

Each time the script is executed, it reads the RSS feeds provided by the various trackers, and if a match is made to an item in one of the watchlists, the script prompts deluge to download it while applying the correct label.

The deluge execute plugin is then automatically triggered by deluge upon torrent completion. It executes a python script that handles the file and folder needs at the destination while not altering the seed file so deluge can continue to seed uninterrupted.

This process also places the file on a separate drive, somewhat reducing competition for hardware resources when it comes time to stream the media or seed the source files. This separation also allowing us to treat torrent drives as disposable since their lifespan suffers from the intensive torrenting.

The execute.py script handles the extraction of the torrent contents according to the instructions assigned to its label. The torrent name information is parsed for the appropriate information such as title, episode and series, release, and quality before a check is performed to see if the destination folder or file exists, and if not creates any needed folders finally placing the file.

Just to give a little better perspective on the script, below are some log output examples of the deluge execute.py:

Examples: execute.py on Torrent Complete /deluge

Movie:

Media ID:a28cedcb255b3285dd65aca5f5597406bd72247c
Media Name:Bedtime.Stories.2008.720p.BluRay.x264-x0r
Media Path:/media/Maelstrom/Torrents/Completed
Media Label: movie
Media Destination Path:/media/Dmedia/DMovies
Media File Destination Target:/media/Dmedia/DMovies/Bedtime Stories 2008 720p/Bedtime.Stories.2008.720p.mkv

TV Show:

Media ID:4a0c78c67a0f79f36309df46dd8448a718eba74f
Media Name:Game.of.Thrones.S06E02.720p.HDTV.x264-FLEET
Media Path:/media/Maelstrom/Torrents/Completed
Media Label: tv
Series Library Path: /media/Dmedia/DTV
Media Extraction Destination:/media/Dmedia/DTV/Game of Thrones/Season 06
Media item Re-Named to:Game.of.Thrones.S06E02.720p.mkv

Documentary:

Media ID:7f9f5ffba8b32c6d3b58267be4a29b7a3ff3d1e8
Media Name:The.Circus.S01E12.720p.HDTV.x264-BATV
Media Path:/media/Maelstrom/Torrents/Completed
Media Label:documentary
Series Library Path:/media/Dmedia/DDocumentaries
Media ExtractionDestination: /media/Dmedia/DDocumentaries/The Circus/Season 01
Media item Re-Namedto: The.Circus.S01E12.720p.mkv

execute.py script

You are all welcome to use and modify as you please. Ideally we would like to receive feedback and continuously improve the script/config and share it to the community as we go.

config.yml example

I will not go into too much detail on the specifics. However if we do get enough requests, we will work on a small guide, and try to answer your questions the best we can.

Posts: 16

Participants: 3

Read full topic

'trakt_name' is undefined

Get List Of Missing Shows

$
0
0

@Hans_Bronson wrote:

--> Follow up question from my initial question here http://discuss.flexget.com/t/only-download-missing-episodes/2448/9

My

config.yml

is all set and passes checks, now when I run

flexget series check

I get a message informing me that there are missing episodes. Is there a way to have this command show me the missing episodes? This is the output from terminal

linux@linuxtest:~$ flexget series list
----------------------------------------------
Name                 Latest Age Downloaded
----------------------------------------------
----------------------------------------------
>= new episode
Use 'flexget series show NAME' to get detailed information
linux@linuxtest:~$

Posts: 129

Participants: 4

Read full topic

Viewing all 716 articles
Browse latest View live