[Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)

Suggest, post, or discuss plugins for Deluge
tzd99
New User
New User
Posts: 8
Joined: Sun Jan 04, 2009 6:23 pm

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2+)

Post by tzd99 »

No worries, glad to be able to help for a change ;)
Since I've upgraded Deluge to 1.2.3 I've been missing my plugins. I can't find them at all. Don't really know what I'm doing wrong. I'm using a headless Debian Server with only the WebUI (although i have console installed as well). Your guess sure sounds like the right one, i just wish i could figure out how to get those plugins to appear in my webUI so that i could try it out.
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2+)

Post by gazpachoking »

tzd99 wrote:No worries, glad to be able to help for a change ;)
Since I've upgraded Deluge to 1.2.3 I've been missing my plugins. I can't find them at all. Don't really know what I'm doing wrong. I'm using a headless Debian Server with only the WebUI (although i have console installed as well). Your guess sure sounds like the right one, i just wish i could figure out how to get those plugins to appear in my webUI so that i could try it out.
OK, that makes everything make sense, thanks for helping me get to the bottom of that. As for why your plugins don't show up, not sure. :-\
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2+)

Post by bcode »

Hi All,

I've been trying to get FlexGet to work on my Windows install for 8 or 9 hours now and I'm just about at wits end.

FlexGet works when I run it from the command line - both --test -v, and --cron work as expected... My issue is trying to get Windows 7 to execute the cron job. I've setup a Scheduled task for every hour, pointed it to FlexGet.exe and added the --cron argument, but when I run the task nothing gets added to Deluge. If I run flexget --cron manually, torrents are added. I've tried just about everything I can think of and still no luck.

If anyone had any help on the matter, it would be very much appreciated.

Thanks,
bcode
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2+)

Post by gazpachoking »

bcode wrote: My issue is trying to get Windows 7 to execute the cron job.
Are you sure windows is running it? If it is, it should leave a flexget.log that might indicate what is going wrong.
bcode
Member
Member
Posts: 13
Joined: Sat Jul 31, 2010 4:24 am

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2+)

Post by bcode »

I was not able to call "flexget --cron" directly using the Windows 7 Task Scheduler, as it wouldn't actually run flexget.

Instead, I had to run - cmd /c - (the '/c' closes the cmd window when the command is finished running) with flexget as an argument, like so:

Code: Select all

cmd /c "flexget --cron"
To test this out, I used

Code: Select all

cmd /k "flexget --test -v"
The '/k' leaves the cmd window open after the command has been run, so you can inspect the contents of the window and ensure flexget is being run as expected.
Perhaps this will help someone else solve their issue.
nrg

Re: [Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)

Post by nrg »

Is it possible to add a release group name that only consists of numbers to regexp?

I'd greatly appreciate any info on this.

Edit: N/m, you just need to add it in quotes.
foulou

Re: [Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)

Post by foulou »

Hi there,

I'm using the main_file_only feature, but movies often are in a folder

Torrent
|--MOVIE_FOLDER
|--|-- FILM.AVI
|--|-- FILM.NFO
|--|-- SAMPLE_FOLDER
|--|--|-- Sample.avi

So it's downloading the movie in the folder I set, but also donwload the main folder and it's content in the same place

Finished_Download_FOLDER
|--MOVIE_FOLDER
|--|-- FILM.NFO
|--|-- SAMPLE_FOLDER
|--|--|-- Sample.avi
|-- FILM.AVI

Is there a workaround to just have the movie and not the folder ?

ALSO, someone know how to do this ?

content_filename: >
{{ series_name }} - S{{ series_season }}E{{ series_episode }} - {{ ep_name }} ({{ series_id }})

S{{ series_season }}E{{ series_episode }} ==> I want series_season to be on 2 digits (add 0 before season number if it's 0 to 9) and series_episode to be on 2 or 3 digits (adding the 0 before ep number too) ??????

i've tried this

content_filename: >
{{ series_name }} - S{{ '%02d'|format(series_season) }}E{{ '%03d'|format(series_episode) }} - {{ ep_name }} ({{ series_id }})

but i'm getting errors :/


thanks for the help


Here is my config.yml

Code: Select all

presets:
 global:
   email:
     from: *****
     to:
       - *****
       - *****
     smtp_host: *****
     smtp_port: *****
   urlrewrite:
     www.frenchtorrentdb.com:
       regexp: 'http://www.frenchtorrentdb.com/\?section=DOWNLOAD&id=(?P<id>\d+)'
       format: 'http://www2.frenchtorrentdb.com/?section=DOWNLOAD&id=\g<id>'
     www.play-the.net:
       regexp: 'http://www.play-the.net/\?section=INFOS&id=(?P<id>\d+)'
       format: 'https://www.play-the.net/?section=DOWNLOAD&id=\g<id>'
   deluge:
     queuetotop: yes
     user: *****
     pass: *****
   torrent_alive: yes
 zik:
   content_filter:
     require:
       - '*.mp3'
   regexp:
     accept:
       - 36 Crazyfist
       - Accept
       - Adramelch
       - After Forever
       - Alkemyst
       - Almah
       - Altaria
       - Amberian Dawn
       - Amorphis
       - Amoral
       - Andre Matos
       - Angra
       - Ankhara
       - Anubis Gate
       - Arkania
       - At Vance
       - Atreyu
       - Avalanch
       - Avantasia
       - Avian
       - Axenstar
       - Axxis
       - Ayreon
       - Barilari
       - Bassinvaders
       - Battlelore
       - Beautiful Sin
       - Blind Guardian
       - Bullet for my valentine
       - Cardiant
       - Celesty
       - Conception
       - Crescent Shield
       - Cuatro Gatos
       - Darksun
       - Demons And Wizards
       - Dionysus
       - Disturbed
       - Dragonforce
       - Dream Theater
       - Ebony Ark
       - Eden
       - Edgar Allan Po
       - Edguy
       - Elvenking
       - Enchanter
       - Ensiferum
       - Epica
       - Evergrey
       - Evernight
       - Evil Masquerade
       - Fahrenheit
       - F5
       - Foo Fighters
       - Fairyland
       - Fatima Hill
       - Firewind
       - Fortaleza
       - Freedom Call
       - Furia Animal
       - Gamma-Ray
       - Gates of Valhalla
       - Godiva
       - GodSmack
       - Grave Digger
       - Gwyllion
       - HammerFall
       - Hangar
       - Hammerforce
       - Heaven and Hell
       - Heavenly
       - Helicon
       - Helloween
       - HIM
       - H.I.M
       - Holy Hell
       - Iced Earth
       - Ill Nino
       - Ill Niño
       - In Flames
       - Insania
       - Iron Maiden
       - Iron Savior
       - Juicio De Dios
       - Kamelot
       - Keep of Kalessin
       - Kittie
       - Kiuas
       - Korn
       - Kotipelto
       - Lacuna Coil
       - Leave's Eyes
       - Legenda Aurea
       - Lucas Turilli
       - Manowar
       - Masterplan
       - Mastodon
       - Megadeth
       - Mob Rules
       - Mudvayne
       - Mystic Prophecy
       - Nightwish
       - Nocturnal Rites
       - Nocturnia
       - Olympos Mons
       - Ozzy Osbourne
       - P.O.D
       - Pantera
       - Pleymo
       - Powerwolf
       - Primal Fear
       - Queensryche
       - Rage
       - Rebellion
       - Renacer
       - Redemption
       - Revolution Renaissance
       - Rhapsody Of Fire
       - Rhapsody
       - Ride The Sky
       - Royal Hunt
       - Sabaton
       - Sanctuary
       - Saratoga
       - Sex Machineguns
       - Silent Force
       - Sirenia
       - Smashing Pumpkins
       - Sonata Arctica
       - Soulcage
       - Sphinx
       - Spineshank
       - Storm rider
       - Stormwarrior
       - Stratovarius
       - Symphony X
       - The Poodles
       - Therion
       - Threshold
       - Thunderstone
       - Timeless Miracle
       - Twilightning
       - Vanden Plas
       - Vision Divine
       - Warcry
       - Wintersun
       - Wizard
       - Zenobia
       - Zonata
       - Alice in Chains
       - Within Temptation
   content_filter:
     require:
       - '*.mp3'
   set:
     path: /home/seb/media/Downloads/Torrent/Downloading/
     movedone: "/home/seb/media/Downloads/Torrent/Downloaded/0o__MUSIQUE__o0/"
     label: Zik
 tv:
   content_filter:
     require:
       - '*.avi'
       - '*.mkv'
   import_series:
     from:
       inputs:
         - trakt_list:
             username: foulou
             api_key: *****
             series: watchlist
         - trakt_list:
             username: *****
             api_key: *****
             series: all
     settings:
       quality: HDTV
   series:
     settings:
       HDTV:
         propers: yes
         qualities:
           - hdtv
           - dvdrip
           - bdrip
   thetvdb_lookup: yes
   set:
     path: /home/seb/media/Downloads/Torrent/Downloading/
     movedone: "/home/seb/media/Downloads/Torrent/Downloaded/0o__TV__o0/{{ series_name }}/S{{ series_season }}"
     label: TV
     main_file_only: yes
     content_filename: >
       {{ series_name }} - {{ series_id }}
       {% if ep_name|default(False) %}- {{ ep_name }} {% endif %}-
       {% if proper_count %}- proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}
   trakt_acquired:
     username: *****
     password: *****
     api_key: *****
     type: series
   exists_series:
     - /home/seb/media/Downloads/Torrent/Downloaded/0o__TV__o0
     - /home/seb/media/Series
     - /home/seb/media/Downloads/Torrent/Downloading
 animes:
   series:
     settings:
       480p:
         quality: 480p
       360p:
         quality: 360p
     480p:
       - Naruto Shippuuden
       - Fairy Tail
       - Bleach
     360p:
       - One Piece
   thetvdb_lookup: yes
   set:
     path: /home/seb/media/Downloads/Torrent/Downloading/
     movedone: "/home/seb/media/Animes/{{ series_name }}/S{{ series_season }}"
     label: Animes
     main_file_only: yes
     content_filename: >
       {{ series_name }} - S{{ series_season }}E{{ series_episode }} - {{ ep_name }} ({{ series_id }})
   trakt_acquired:
     username: *****
     password: *****
     api_key: *****
     type: series
   exists_series:
     - /home/seb/media/Animes
     - /home/seb/media/Downloads/Torrent/Downloading
 movies:
   imdb:
     min_year: 2010
     reject_genres:
       - News
       - Documentary
       - Horror
   quality:
     max: 720p
     min: dvdrip
   content_size:
     max: 1000
     min: 650
   seen_movies: loose
   imdb_lookup: yes
   set:
     label: Movies
     main_file_only: yes
     path: /home/seb/media/Downloads/Torrent/Downloading
     movedone: "/home/seb/media/Downloads/Torrent/Downloaded/0o__FILMS__o0/"
     content_filename: >
       {{ imdb_name }} ({{ imdb_year }})
   trakt_acquired:
     username: *****
     password: *****
     api_key: *****
     type: movies
feeds:
 FTDB_TV:
   regexp:
     reject:
       - FASTSUB
   headers:
     Cookie: "WebsiteID=*****"
   form:
     url: http://www2.frenchtorrentdb.com
     username: *****
     password: *****
   rss: http://www2.frenchtorrentdb.com/*****
   preset: tv
 FTDB_DVDRIP:
   regexp:
     reject:
       - VOSTFR
       - V O S T F R
       - V O S T FR
       - Sub FR
   headers:
     Cookie: "WebsiteID=*****"
   form:
     url: http://www2.frenchtorrentdb.com
     username: *****
     password: *****
   rss: http://www2.frenchtorrentdb.com/*****
   preset: movies
 NyaaTorrents:
   rss: http://www.nyaa.eu/?page=rss&cats=1_37&term=horriblesubs&filter=2
   preset: animes
 PTN_TV:
   regexp:
     reject:
       - FASTSUB
       - FRENCH
   headers:
     Cookie: "WebsiteID=*****"
   form:
     url: https://www.play-the.net/
     username: *****
     password: *****
     userfield: user
     passfield: pass
   rss: https://www.play-the.net/*****
   preset: tv
 PTN_DVDRIP:
   regexp:
     reject:
       - VOSTFR
       - V O S T F R
       - V O S T FR
       - Sub FR
   headers:
     Cookie: "WebsiteID=*****"
   form:
     url: https://www.play-the.net/
     username: *****
     password: *****
     userfield: user
     passfield: pass
   rss: https://www.play-the.net/*****
   preset: movies
 KAT_ROCK:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/rock/?rss=1
   preset: zik
 KAT_HEAVY_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/heavy-metal/?rss=1
   preset: zik
 KAT_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/metal/?rss=1
   preset: zik
 KAT_PROGRESSIVE_ROCK:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/progressive-rock/?rss=1
   preset: zik
 KAT_POWER_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/power-metal/?rss=1
   preset: zik
 KAT_MELODIC_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/melodic-metal/?rss=1
   preset: zik
 KAT_PROGRESSIVE_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/progressive-metal/?rss=1
   preset: zik
 KAT_SYMPHONIC_METAL:
   email:
     active: False
   rss: http://www.kat.ph/music/tag/symphonic-metal/?rss=1
   preset: zik
 MONOVA_ROCK:
   email:
     active: False
   rss: http://www.monova.org/rss.php?type=cat&id=54
   preset: zik
 MONOVA_METAL:
   email:
     active: False
   rss: http://www.monova.org/rss.php?type=cat&id=52
   preset: zik
 METAL.IPLAY:
   email:
     active: False
   rss: http://metal.iplay.ro/rss.php?feed=dl&cat=63,74,41,75,53,2,52&passkey=******
   preset: zik
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: [Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)

Post by gazpachoking »

foulou wrote:
Is there a workaround to just have the movie and not the folder ?
Not the best solution, but if you use content_filename, it will be at the root of the torrent. You could do {{movie_name}} ({{movie_year}}) - {{quality}} or something of that nature.
foulou wrote: S{{ series_season }}E{{ series_episode }} ==> I want series_season to be on 2 digits (add 0 before season number if it's 0 to 9) and series_episode to be on 2 or 3 digits (adding the 0 before ep number too) ??????

i've tried this

content_filename: >
{{ series_name }} - S{{ '%02d'|format(series_season) }}E{{ '%03d'|format(series_episode) }} - {{ ep_name }} ({{ series_id }})

but i'm getting errors :/
That seems to work fine for me, what sort of problems are you having?

flexget.com is a much more appropriate place to get support, if you open a help ticket there it is more likely to get prompt attention.
nighthawk13
Member
Member
Posts: 11
Joined: Tue Mar 20, 2012 1:57 pm

Trying to use Flexget -- need help

Post by nighthawk13 »

I've been using Flexget perfectly for my tv shows for quite some time. I'm now trying to set it up so that it will automatically download shows within my IMDb watchlist. For example, if I add American Pie to my watchlist it would automatically be downloaded (even though it is old).

I can get the movie_queue populated by the imdb watchlist but now I need to figure out how to to to a torrent site and download the movies that are in my move-queue.

Can anyone help me with this please?
Mint Linux 13
Deluge 1.3.6
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Trying to use Flexget -- need help

Post by gazpachoking »

The discover plugin was made for this purpose. It is an input plugin that can search different sites.
Post Reply