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

Suggest, post, or discuss plugins for Deluge
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

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

Post by k-rog »

Getting as much info as possible from different sites. I used
http://ubuntuforums.org/showthread.php?t=1433783
http://flexget.com/wiki/Cookbook
and your examples offcourse. I was able to cook up some FlexGettin.

It seems to work. Haven't put any releasegroups in there, because i'm curious if it will download one ep from the first releasegroup and then skip others. Because that would be fine. I can allways narrow it down. I do have one question. Do the incomplete folder and the movedone folder have to exist, or can flexget auto create it? Because it seems that it downloaded the episodes to the default deluge folder /var/lib/deluge. Could you give me some feedback or pointers on the config? I would be very great full!

Code: Select all

presets:
  anime:
    series:
      720p_anime:
        timeframe: 6 hours
        quality: 720p
        set:
          path: /home/rogier/Downloads/incomplete/
          movedone: "/home/rogier/Downloads/Anime/%(series_name)s/"

      720p_anime:
        - Naruto Shippuuden
        - Fairy Tail
        - Fullmetal Alchemist Brotherhood
        - Bleach

    deluge:
      user: rogier
      pass: mypass

feeds:
  Tokyotosho:
    rss: http://tokyotosho.info/rss.php?filter=1&zwnj=0
    preset: anime
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 »

k-rog wrote:Haven't put any releasegroups in there, because i'm curious if it will download one ep from the first releasegroup and then skip others.
Not quite sure what you mean here. With your current setup, flexget will try to get one version of each episode, regardless of which group released it.
k-rog wrote:Because it seems that it downloaded the episodes to the default deluge folder /var/lib/deluge. Could you give me some feedback or pointers on the config? I would be very great full!
You just have a small problem with your series configuration, you need to define the settings group under a block called settings, like so:

Code: Select all

presets:
  anime:
    series:
      settings:
        720p_anime:
          timeframe: 6 hours
          quality: 720p
          set:
            path: /home/rogier/Downloads/incomplete/
            movedone: "/home/rogier/Downloads/Anime/%(series_name)s/"

      720p_anime:
        - Naruto Shippuuden
        - Fairy Tail
        - Fullmetal Alchemist Brotherhood
        - Bleach

    deluge:
      user: rogier
      pass: mypass

feeds:
  Tokyotosho:
    rss: http://tokyotosho.info/rss.php?filter=1&zwnj=0
    preset: anime
And yes, if the folders do not exist, they will be created.
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

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

Post by k-rog »

Works like a charm!! Thx 4 the help!
tur
New User
New User
Posts: 4
Joined: Thu Aug 13, 2009 11:52 am

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

Post by tur »

Hi,
I need some help with my FlexGet configuration file.
I have this file:

Code: Select all

feeds:
  tv-shows:
    rss: http://showrss.karmorra.info/feeds/36.rss
    series:
      - House
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/House

    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - The Big Bang Theory
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/Big Bang

    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - The Simpsons
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/The Simpsons
     
    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - Family Guy
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/family guy
     
    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - Private Practice
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/Private Practice

    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - 'HD 720p: V'
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/V

    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - The New Adventures of Old Christine
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/Old christine

    rss: http://showrss.karmorra.info/rss.php?user_id=13212&hd=null&proper=null
    series:
      - Two and a Half Men
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/Two and A half men
I use showrss as the site for my rss feeds.
For some reason, I saw that a new episode of Old Christine was out and flexget didn't took it to deluge.
It happened with House as well.
any ideas whats wrong with my configuration file?
sziggle
New User
New User
Posts: 6
Joined: Wed Feb 10, 2010 6:06 pm

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

Post by sziggle »

here's mine, see if it helps any

Code: Select all

presets:
  tv:
    series:
      - lost
      - "24":
          exact: yes
      - breaking bad
      - burn notice
      - californication
      - caprica
      - dexter
      - heroes
      - house
      - lost
      - men of a certain age
      - rescue me
      - true blood
      - south park
      - v
      - united states of tara
      - treme
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/tv/%(series_name)s/Season %(series_season)d/
      
  documentaries:
    regexp:
      accept:
        - torrent
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/Documentaries/
      
  movies:
    regexp:
      accept:
        - torrent
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/movies/
      
  motogp:
    regexp:
      accept:
        - torrent
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/tv/motogp/
      
  pacific:
    regexp:
      accept:
        - torrent
    deluge:
      user: XXXXX
      pass: XXXXX
      movedone: /media/MEDIA/tv/The Pacific/

feeds:
  showrss:
    rss: http://showrss.karmorra.info/rss.php?user_id=XXXXXXXX&hd=0&proper=1
    preset: tv
    
  sziggleDocs:
    rss: http://reactorfeed.com/rss/XXXXXXXXXXXXXXXXXXXX
    preset: documentaries
    
  motoGP:
    rss: http://reactorfeed.com/rss/XXXXXXXXXXXXXXXXXXXXXXX
    preset: motogp
    
  pacific:
    rss: http://www.ezrss.it/search/index.php?show_name=the+pacific&date=&quality=hdtv&quality_exact=true&release_group=notv&mode=rss
    preset: pacific
    
  movies:
    rss: http://reactorfeed.com/rss/XXXXXXXXXXXXXXXXXXXXXXX
    preset: movies

tur
New User
New User
Posts: 4
Joined: Thu Aug 13, 2009 11:52 am

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

Post by tur »

szuggle
Thank you very much!
I don't know exactly what was wrong with my config file but yours did the trick!
I adjusted it to my series and it works great.
Thanks.
k-rog
Member
Member
Posts: 18
Joined: Sat Apr 17, 2010 2:51 pm

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

Post by k-rog »

Is it possible to use the reject command in the series plugin? I download anime (see my config a few posts up) and sometimes it downloads a RAW episode. I'd like to filter the word RAW out of it.
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 »

k-rog wrote:Is it possible to use the reject command in the series plugin? I download anime (see my config a few posts up) and sometimes it downloads a RAW episode. I'd like to filter the word RAW out of it.
Yes, you can use the regexp plugin at the same time as series, that would go something like this.

Code: Select all

series:
  - Show1
regexp:
  reject:
    - RAW
tur wrote:I don't know exactly what was wrong with my config file but yours did the trick!
You were configuring the same plugin multiple times per feed, which is not allowed. I think you wanted something like this:

Code: Select all

feeds:
  tv-shows:
    rss: http://showrss.karmorra.info/feeds/36.rss
    series:
      - House
      - The Big Bang Theory
      - The Simpsons
      - Family Guy
      - Private Practice
      - The New Adventures of Old Christine
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/%(series_name)s/
The %(series_name)s will be replaced with the name of your series, if you want to override it or manually specify it for each show you can do this:

Code: Select all

feeds:
  tv-shows:
    rss: http://showrss.karmorra.info/feeds/36.rss
    series:
      - House
      - The Big Bang Theory
      - The Simpsons
      - Family Guy
      - Private Practice
      - The New Adventures of Old Christine:
          set:
            movedone: /storage/medai/TVshows/Old Christine
    deluge:
      path: /home/ormetal/Downloads/torrent
      movedone: /storage/media/TVshows/%(series_name)s/
infinityvoid

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

Post by infinityvoid »

I feel like I'm having a dumb blond moment and could use any suggestions anyones willing to give.

What I'm having a problem with is the "movedone" function, what its doing at this point is creating the directory for the series and the season but not moving the file into the directory it creates. As an example, if I download 'greatshow - s01e04.mkv' it will make the directory '/mnt/tv/greatshow/season 1' but doesn't bother to move the newly downloaded file into that directory and instead leaves it in my .incoming directory instead.

Attached is a copy of my config.yml and I even changed my /mnt/tv files to 777 to ensure its not a write permission issue.

Code: Select all

presets:

  tv:
    series:
      settings:
        720p:
          timeframe: 12 hours
          quality: 720p

      720p:
        - Caprica
        - Castle
        - Chuck
        - CSI:
            exact: yes
        - Dexter
        - Dirty Jobs
        - Doctor Who
        - Fifth Gear
        - FlashForward
        - Fringe
        - Glee
        - Happy Town
        - Hells Kitchen
        - Hung
        - Law and Order SVU:
            exact: yes
        - Lost
        - Man vs. Wild
        - Mythbusters
        - Paradox
        - South Park
        - Stargate Universe
        - The Big Bang Theory
        - The Pacific
        - The Mentalist
        - Top Chef
        - Top Gear
        - Torchwood
        - True Blood
        - V
        - White Collar

feeds:
  tvtorrentz.org:
    rss: http://tvtorrentz.org/rssdd.xml
    preset: tv

    cookies: ~/.flexget/cookies.sqlite
    deluge:
      user: *****
      pass: *****
      movedone: /mnt/tv/%(series_name)s/Season %(series_season)d/
      label: flexget
Thanks in advance, I sure this is going to be something silly... sigh.
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 »

infinityvoid wrote: What I'm having a problem with is the "movedone" function, what its doing at this point is creating the directory for the series and the season but not moving the file into the directory it creates. As an example, if I download 'greatshow - s01e04.mkv' it will make the directory '/mnt/tv/greatshow/season 1' but doesn't bother to move the newly downloaded file into that directory and instead leaves it in my .incoming directory instead.
Hmm, what version of FlexGet and Deluge? Can you check the options tab in Deluge for a torrent that FlexGet added, (before it finishes downloading,) and see what, if anything, the move completed option is set to? Also, if you could post a debug log of a FlexGet run that adds a torrent that would help (maybe in a new ticket.)

EDIT: Also, what user are you running FlexGet and Deluge as? If they are different, maybe Deluge (which does the actual moving) doesn't have write access to the folders FlexGet creates.
Post Reply