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

Suggest, post, or discuss plugins for Deluge
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:Thanks for all the support guys, turns out is was a stupid user error. :roll:

I was using an rss that was for nbz files and not torrents. :oops:

After moving to the correct feeds low and behold all my problems cleared up. :lol:

Sorry for the grief and thanks for the understanding. Cheers.
Glad you got it working. I suppose I should try to detect and report this problem better; I'll look into it.
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 »

EDIT: solved -- see next post down.

hi all. i'm having an auth problem that i can't figure out. anyone have an idea?

os = ubuntu 9.10
deluge = v 1.2
flexget = 1.0 r 1108

both deluged and flexget are running on the same box, as the same user (user: deluge, pw deluge). the home directory for the deluge user is in /var/lib/deluge.

here is the test flexget config.yml i am using:

Code: Select all

feeds:
  tvfeed:
    rss: http://showrss.karmorra.info/rss.php?user_id=3857&hd=0&proper=null
    series:
      - lost
    deluge:
      movedone: /media/MEDIA/tv/%(series_name)s/Season %(series_season)d/
here is the deluge auth file (located at /var/lib/deluge/auth):

Code: Select all

localclient:557af42a1ca8afffeaa1b172ed2ca5ae213c8616:10
deluge:deluge:10
i have tried it with and without the second line and i get the same error either way. i also tried creating another auth file at /var/lib/deluge/.config/deluge/auth and putting the deluge credentials in there, but that also didn't work.

here is the flexget command and the result:

Code: Select all

sudo -H -u deluge flexget --initdb
2010-02-12 11:45 INFO     deluge        tvfeed          Using deluge 1.2 api
2010-02-12 11:45 INFO     feed          tvfeed          Produced 35 entries.
2010-02-12 11:45 INFO     feed          tvfeed          Accepted: 3 (Rejected: 0 Undecided: 32 Failed: 0)
2010-02-12 11:45 INFO     deluge        tvfeed          Downloading: Lost S06E00 HDTV XviD-NoTV
2010-02-12 11:45 INFO     deluge        tvfeed          Downloading: Lost S06E01-E02 HDTV XviD-2HD
2010-02-12 11:45 INFO     deluge        tvfeed          Downloading: Lost S06E03 HDTV XviD-2HD
2010-02-12 11:45 INFO     deluge        tvfeed          Connecting to daemon at localhost:58846..
2010-02-12 11:45 INFO     deluge        tvfeed          Connected to daemon at localhost:58846..
2010-02-12 11:45 ERROR    deluge        tvfeed          RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: daemon.login(, )
--------------------------------------------------------------------------------
  File "/usr/lib/pymodules/python2.6/deluge/core/rpcserver.py", line 245, in dispatch
    ret = component.get("AuthManager").authorize(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/deluge/core/authmanager.py", line 87, in authorize
    raise BadLoginError("Username does not exist")

BadLoginError: Username does not exist
--------------------------------------------------------------------------------
2010-02-12 11:45 INFO     deluge        tvfeed          connect failed result: [Failure instance: Traceback (failure with no frames): <class 'deluge.ui.client.DelugeRPCError'>: <deluge.ui.client.DelugeRPCError object at 0x2b07490>
]
2010-02-12 11:45 INFO     deluge        tvfeed          Connection lost to daemon at localhost:58846 reason: Connection was closed cleanly.
2010-02-12 11:45 CRITICAL deluge        tvfeed          Could not connect to deluge daemon
2010-02-12 11:45 INFO     feed          tvfeed          Aborting feed (plugin: deluge)
Last edited by sziggle on Fri Feb 12, 2010 8:38 pm, edited 1 time in total.
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 »

i fixed my auth issue by adding the user and pass options to the flexget config.yml. i thought i had understood that this is not necessary if deluge and flexget are on the same box as the same user, but i apparently misunderstood that.

here is the working config.yml:

Code: Select all

feeds:
  tvfeed:
    rss: http://showrss.karmorra.info/rss.php?user_id=3857&hd=0&proper=null
    series:
      - lost
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/tv/%(series_name)s/Season %(series_season)d/
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 »

sziggle wrote:i fixed my auth issue by adding the user and pass options to the flexget config.yml. i thought i had understood that this is not necessary if deluge and flexget are on the same box as the same user, but i apparently misunderstood that.

here is the working config.yml:

Code: Select all

feeds:
  tvfeed:
    rss: http://showrss.karmorra.info/rss.php?user_id=3857&hd=0&proper=null
    series:
      - lost
    deluge:
      user: deluge
      pass: deluge
      movedone: /media/MEDIA/tv/%(series_name)s/Season %(series_season)d/
Yeah, username and password are not required if flexget and deluge are running on the same box as the same user, and your deluge config is in the default location (~/.config/deluge/), otherwise Flexget does not know where to find your auth file.
Zinom
Member
Member
Posts: 23
Joined: Tue Jan 12, 2010 6:50 pm

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

Post by Zinom »

Zinom wrote:
gazpachoking wrote:I'm not sure what could be going on, I have a couple things I can try, but if I can't reproduce the problem it's really hard to figure out what is causing it or if my potential solution fixed anything. I'll put an update here if I do anything I think will help you. EDIT: I think I am reproducing this problem, let me play around for a bit, see what I can do. EDIT2: Try r1109, I think I fixed it.
You're amazing! I'll test it for a while and see what happens. I'll be back with my report later!
Bad news... It's still some torrents not getting a label. It's not many but some.. The errors came when I was running flexget via cron so I cannot give you any error-code. I'm gonna keep trying to reconstruct the error, but for now I'm as lost as before.

Btw, it's still the same thing I said a few posts back. When the error occurs it only occur on one feed at the time. So for example if a torrent misses the label all the other torrents missing a label from that "flexget-session" is from the same feed.
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 »

Zinom wrote: Bad news... It's still some torrents not getting a label. It's not many but some.. The errors came when I was running flexget via cron so I cannot give you any error-code. I'm gonna keep trying to reconstruct the error, but for now I'm as lost as before.

Btw, it's still the same thing I said a few posts back. When the error occurs it only occur on one feed at the time. So for example if a torrent misses the label all the other torrents missing a label from that "flexget-session" is from the same feed.
Hmm, this is tough to track down. If you get any other pertinent info, let me know. Otherwise, I'll keep looking into it, see if it happens to me. Are you still getting the warning about the label being already created?
elson
New User
New User
Posts: 6
Joined: Thu Dec 31, 2009 3:05 pm

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

Post by elson »

Hi,

I have just upgraded to svn 1133 and Flexget is now reporting duplicate plugin errors.

Code: Select all

2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin demonoid. A plugin with the name demonoid is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin piratebay. A plugin with the name piratebay is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin newtorrents. A plugin with the name newtorrents is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin google_cse. A plugin with the name google_cse is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin redskunk. A plugin with the name redskunk is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin newzleach. A plugin with the name newzleach is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin nyaatorrents. A plugin with the name nyaatorrents is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin btchat. A plugin with the name btchat is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin isohunt. A plugin with the name isohunt is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin stmusic. A plugin with the name stmusic is already registered
2010-02-21 15:58 CRITICAL plugin                        Error while registering plugin btjunkie. A plugin with the name btjunkie is already registered
The bleeding edge news page over on the Flexget site mentions deleting all .pyc files from flexget/plugins/, but I had no .pyc files in that directory of the checked out svn project. So, I tried removing the .pyc files from /usr/local/lib/python2.6/dist-packages/FlexGet-1.0_svn-py2.6.egg/flexget/plugins/ and rebuilding, but that didn't help either.

Flexget still seems to execute OK after these warnings, but it would be nice to eliminate them.

Thanks in advance for any and all help.

Steve
daneel
New User
New User
Posts: 3
Joined: Sat Jan 09, 2010 3:08 pm

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

Post by daneel »

Hi elson,

I had the same error with 1119.
Unfortunately I can't give you a solution.
Maybe you could try to downgrade to 1120.
noumenon

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

Post by noumenon »

Having trouble getting flexget to recognize HD in my feeds. It says its undecided. here is what 'flexget -v' prints out:

Code: Select all

[~/.flexget] > flexget -v
2010-02-21 16:32 INFO     deluge        tv-shows        Using deluge 1.2 api
2010-02-21 16:32 INFO     backlog       tv-shows        Added 1 entries from backlog
2010-02-21 16:32 INFO     feed          tv-shows        Produced 41 entries.
+ filter   seen         Rejected Lost S06E04 HDTV XviD-P0W4
+ filter   seen         Rejected 30 Rock S04E13 HDTV XviD-LOL
+ filter   seen         Rejected Parks and Recreation S02E16 HDTV XviD-LOL
+ filter   seen         Rejected Community S01E16 HDTV XviD-LOL
+ filter   seen         Rejected Modern Family S01E15 My Funky Valentine PROPER HDTV XviD-FQM
+ filter   seen         Rejected Lost S06E03 HDTV XviD-2HD
+ filter   seen         Rejected Caprica S01E03 The Reins of a Waterfall HDTV XviD-FQM
+ filter   seen         Rejected 30 Rock S04E12 HDTV XviD-LOL
+ filter   seen         Rejected Parks and Recreation S02E15 HDTV XviD-LOL
+ filter   seen         Rejected Community S01E15 HDTV XviD-2HD
+ filter   seen         Rejected Modern Family S01E14 Moon Landing HDTV XviD-FQM
+ filter   seen         Rejected Lost S06E01-E02 HDTV XviD-2HD
+ filter   seen         Rejected Lost S06E00 HDTV XviD-NoTV
+ filter   seen         Rejected Caprica S01E02 Rebirth HDTV XviD-FQM
+ filter   seen         Rejected Caprica S01E01 Pilot HDTV XviD-FQM
+ filter   seen         Rejected 30 Rock S04E11 HDTV XviD-2HD
+ filter   seen         Rejected Parks and Recreation S02E14 Leslies House HDTV XviD-FQM
+ filter   seen         Rejected Community S01E14 HDTV XviD-2HD
+ filter   seen         Rejected Modern Family S01E13 HDTV XviD-P0W4
+ filter   seen         Rejected Parks and Recreation S02E13 HDTV XviD-LOL
+ filter   seen         Rejected 30 Rock S04E10 HDTV XviD-LOL
+ filter   seen         Rejected 30 Rock S04E09 HDTV XviD-LOL
+ filter   seen         Rejected Community S01E13 HDTV XviD-LOL
+ filter   seen         Rejected Modern Family S01E12 HDTV XviD-2HD
+ filter   seen         Rejected Modern Family S01E11 HDTV XviD-P0W4
+ filter   seen         Rejected Its Always Sunny in Philadelphia S05E12 The Gang Reignites the Rivalry WS PDTV XviD-FQM
+ filter   seen         Rejected 30 Rock S04E08 HDTV XviD-2HD
+ filter   seen         Rejected Parks and Recreation S02E12 HDTV XviD-2HD
+ filter   seen         Rejected Community S01E12 HDTV XviD-2HD
+ filter   seen         Rejected Modern Family S01E10 HDTV XviD-2HD
+ filter   series       Rejected Caprica S01E04 HDTV XviD-NoTV (timeframe is waiting)
+ filter   series       Rejected Caprica S01E04 HDTV XviD-NoTV (timeframe is waiting)
+ filter   series       Rejected Lost S06E01 HDTV XviD-P0W4 (already downloaded)
2010-02-21 16:32 INFO     feed          tv-shows        Accepted: 0 (Rejected: 33 Undecided: 8 Failed: 0)
+ undecided              HD 720p: Caprica S01E04 720p HDTV x264-SiTV
+ undecided              HD 720p: Lost S06E04 720p HDTV X264-DIMENSION
+ undecided              HD 720p: Lost S06E03 720p HDTV X264-DIMENSION
+ undecided              HD 720p: Caprica S01E03 720p HDTV x264-SiTV
+ undecided              HD 720p: Lost S06E01-E02 PROPER 720p HDTV x264-2HD
+ undecided              HD 720p: Lost S06E00 The Final Chapter 720p HDTV x264-2HD
+ undecided              HD 720p: Caprica S01E02 720p HDTV x264-SiTV
+ undecided              HD 720p: Caprica S01E01 720p HDTV x264-ORENJi
and here is my config.yml file:

Code: Select all

feeds:
  tv-shows:
    rss: http://showrss.karmorra.info/rss.php?user_id=27890&hd=2&proper=1
    series:
      settings:
        720p:
          timeframe: 8 hours
          quality: 720p
          set:
            path: /media/Argus_Array/Video/Video Downloads/
            movedone: "/media/Argus_Array/Video/TV Shows/%(series_name)s/"
            label: tv
            ratio: 0.1
        normal:
          set:
            path: /media/Argus_Array/Video/Video Downloads/
            movedone: "/media/Argus_Array/Video/TV Shows/%(series_name)s/"
            label: tv
            ratio: 0.1

      720p:
        - Caprica
        - Lost
        - Mad Men

      normal:
        - 30 Rock
        - Community
        - It's Always Sunny In Philadelphia              
        - Modern Family                                    
        - Parks and Recreation                           
                                                         
    deluge: yes

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 »

gazpachoking wrote:
Zinom wrote: Bad news... It's still some torrents not getting a label. It's not many but some.. The errors came when I was running flexget via cron so I cannot give you any error-code. I'm gonna keep trying to reconstruct the error, but for now I'm as lost as before.

Btw, it's still the same thing I said a few posts back. When the error occurs it only occur on one feed at the time. So for example if a torrent misses the label all the other torrents missing a label from that "flexget-session" is from the same feed.
Hmm, this is tough to track down. If you get any other pertinent info, let me know. Otherwise, I'll keep looking into it, see if it happens to me. Are you still getting the warning about the label being already created?
OK, I think I found out what is causing this. I need some more time to figure out what the proper solution is, I was trying to make things easier with inlinecallbacks, but it doesn't quite work how I was planning.

EDIT: Just commited r1140, I'm pretty confident this time it is really fixed.
Last edited by gazpachoking on Tue Feb 23, 2010 1:24 am, edited 1 time in total.
Post Reply