Flexget seems to have a problem with the naming convention on that site. It names appends 'HD 720p:' to the beginning of the show name which messes up parsing of the series name. To fix this you would have to specify a regex for name_patterns for each series, or easier, pick a feed with standard naming conventions.noumenon wrote:Having trouble getting flexget to recognize HD in my feeds. It says its undecided.
[Plugin] FlexGet - RSS Solution (Deluge 1.1 and 1.2+)
-
- 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)
Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
Great! I'm checking it out!gazpachoking wrote: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.gazpachoking wrote: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?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.
EDIT: Just commited r1140, I'm pretty confident this time it is really fixed.

Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
I can now with most certainty confirm that the label-problem is solved at last!
Great work! 


[SOLVED] Deluge RSS plugin for FlexGet (works with 1.1 and 1
Using Ubuntu 9.10 (and thus Python 2.6). I have Flexget 1.0 Beta r1153 installed using easy_install. Deluge is installed from the PPA. If I run 'flexget' or even 'flexget --cron' from bash then it downloads the torrents as I expect it too. However, I can not get it to run from con. The /var/log/syslog says that the cron command has been run, but the torrents are not added to deluge and there is no record of flexget being run in it's own log.
My crontab is as follows
The var/log/syslog (truncated)
Does anyone know what I have done wrong?
Ok, someone on the IRC for flexget fixed this form me. I needed the full path to flexget in the crontab (why doesn't their own installation guide mention anything like that?).
My crontab is as follows
Code: Select all
#Check torrent RSS feeds
0,15,30,45 * * * * flexget --cron
Code: Select all
Mar 13 02:15:01 Mayday CRON[2698]: (vectorferret) CMD (flexget --cron)
Mar 13 02:17:01 Mayday CRON[2711]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 13 02:30:01 Mayday CRON[2732]: (vectorferret) CMD (flexget --cron)
Mar 13 02:45:01 Mayday CRON[2773]: (vectorferret) CMD (flexget --cron)
Mar 13 03:00:01 Mayday CRON[3065]: (vectorferret) CMD (flexget --cron)
Mar 13 03:00:30 Mayday pulseaudio[25165]: ratelimit.c: 75 events suppressed
Mar 13 03:15:01 Mayday CRON[3250]: (vectorferret) CMD (flexget --cron)
Mar 13 03:16:06 Mayday crontab[3277]: (vectorferret) LIST (vectorferret)
Ok, someone on the IRC for flexget fixed this form me. I needed the full path to flexget in the crontab (why doesn't their own installation guide mention anything like that?).
Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
im sure you need to use full path to script/app with cron
edit: i see you did find that solution
edit: i see you did find that solution
Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
Hi, I've been attempting to get Deluge + Flexget working all day, and I've managed to get almost there.
Unfortunately I get the following error:
I've tried forcing ascii mode in the config.yml but to no avail. Is this simply due to a malformed RSS feed or could it be something else?
It also hangs after that last line and I can't get back to the terminal prompt
Thanks for any suggestions!
Unfortunately I get the following error:
Code: Select all
2010-03-27 19:10 INFO deluge EZRSS Using deluge 1.2 api
2010-03-27 19:10 INFO feed EZRSS Produced 30 entries.
2010-03-27 19:10 INFO feed EZRSS Accepted: 2 (Rejected: 0 Undecided: 28 Failed: 0)
2010-03-27 19:10 INFO download EZRSS Downloading: Supernatural 5x15 [720P - HDTV - IMMERSE]
2010-03-27 19:10 INFO download EZRSS Downloading: FlashForward 1x12 [720P - HDTV - REAL - CTU]
2010-03-27 19:10 INFO deluge EZRSS Connecting to daemon at localhost:58846..
2010-03-27 19:10 INFO deluge EZRSS Connected to daemon at localhost:58846..
2010-03-27 19:10 INFO deluge EZRSS connect failed result: [Failure instance: Traceback: <type 'exceptions.ValueError'>: unsupported format character 'S' (0x53) at index 7
/usr/lib/python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks
/usr/lib/python2.6/site-packages/deluge/ui/client.py:392:__on_login
/usr/lib/python2.6/site-packages/twisted/internet/defer.py:280:callback
/usr/lib/python2.6/site-packages/twisted/internet/defer.py:354:_startRunCallbacks
--- <exception caught here> ---
/usr/lib/python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks
/usr/lib/python2.6/site-packages/flexget/plugins/output_deluge.py:333:on_connect_success
]
2010-03-27 19:10 CRITICAL deluge EZRSS Could not connect to deluge daemon
2010-03-27 19:10 INFO feed EZRSS Aborting feed (plugin: deluge)
It also hangs after that last line and I can't get back to the terminal prompt
Thanks for any suggestions!
-
- 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)
Hmm, that's pretty weird, I'm not sure what could be causing that. It is definitely crashing in the deluge plugin though. Have you tried a different feed? If you create a ticket with debug output (flexget --debug), your config (minus any passwords etc.), and any other pertinent information, I'll try to start looking deeper into what the problem is.Dan Forever wrote:Hi, I've been attempting to get Deluge + Flexget working all day, and I've managed to get almost there.
Unfortunately I get the following error:I've tried forcing ascii mode in the config.yml but to no avail. Is this simply due to a malformed RSS feed or could it be something else?Code: Select all
2010-03-27 19:10 INFO deluge EZRSS Using deluge 1.2 api 2010-03-27 19:10 INFO feed EZRSS Produced 30 entries. 2010-03-27 19:10 INFO feed EZRSS Accepted: 2 (Rejected: 0 Undecided: 28 Failed: 0) 2010-03-27 19:10 INFO download EZRSS Downloading: Supernatural 5x15 [720P - HDTV - IMMERSE] 2010-03-27 19:10 INFO download EZRSS Downloading: FlashForward 1x12 [720P - HDTV - REAL - CTU] 2010-03-27 19:10 INFO deluge EZRSS Connecting to daemon at localhost:58846.. 2010-03-27 19:10 INFO deluge EZRSS Connected to daemon at localhost:58846.. 2010-03-27 19:10 INFO deluge EZRSS connect failed result: [Failure instance: Traceback: <type 'exceptions.ValueError'>: unsupported format character 'S' (0x53) at index 7 /usr/lib/python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks /usr/lib/python2.6/site-packages/deluge/ui/client.py:392:__on_login /usr/lib/python2.6/site-packages/twisted/internet/defer.py:280:callback /usr/lib/python2.6/site-packages/twisted/internet/defer.py:354:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.6/site-packages/twisted/internet/defer.py:371:_runCallbacks /usr/lib/python2.6/site-packages/flexget/plugins/output_deluge.py:333:on_connect_success ] 2010-03-27 19:10 CRITICAL deluge EZRSS Could not connect to deluge daemon 2010-03-27 19:10 INFO feed EZRSS Aborting feed (plugin: deluge)
It also hangs after that last line and I can't get back to the terminal prompt
Thanks for any suggestions!
Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
Is there a trick to get the deluge plugin to work with Microsoft Windows XP?
My current setup which sends torrent files to a download directory for deluge to auto download is hosed and I will need to reinstall flexget fresh again. It choked on downloading 24 and now is giving me lots of errors.
If someone other than gazpachoking has got the deluge plugin for flexget to work in the windows environment, I would like to know.
As a future enhancement, I would appreciate it if the deluge windows installer included flexget. In that way, all of the dependencies needed to use flexget with deluge would already be installed as part of the process.
My current setup which sends torrent files to a download directory for deluge to auto download is hosed and I will need to reinstall flexget fresh again. It choked on downloading 24 and now is giving me lots of errors.
If someone other than gazpachoking has got the deluge plugin for flexget to work in the windows environment, I would like to know.
As a future enhancement, I would appreciate it if the deluge windows installer included flexget. In that way, all of the dependencies needed to use flexget with deluge would already be installed as part of the process.
Re: Deluge RSS plugin for FlexGet (works with 1.1 and 1.2)
I actually figured it out, my variable substitution for the section movedone: was incorrectly formatted
It looked like
whereas now it looks like:
I think a solution to this would be to get Flexget or your plug-in (wherever is the more suitable) to fail more gracefully. Probably the easiest solution would be a try/catch block
It looked like
Code: Select all
movedone: "~/TV/%(series_name)% Season %(series_season)%/"
Code: Select all
movedone: "~/TV/%(series_name)s Season %(series_season)d/"
-
- 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)
Yeah, you're probably right, there isn't much error catching in the string replacement stuff right now.Dan Forever wrote:I actually figured it out, my variable substitution for the section movedone: was incorrectly formatted
It looked likewhereas now it looks like:Code: Select all
movedone: "~/TV/%(series_name)% Season %(series_season)%/"
I think a solution to this would be to get Flexget or your plug-in (wherever is the more suitable) to fail more gracefully. Probably the easiest solution would be a try/catch blockCode: Select all
movedone: "~/TV/%(series_name)s Season %(series_season)d/"