[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
pete_h
Member
Member
Posts: 39
Joined: Thu Dec 20, 2007 7:25 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by pete_h »

Hi, I used to use an RSS plugin in Deluge many years back, and have spent the last few years just manually adding stuff when it pops up in Google Reader.

I'm now setting up YaRSS2 to speed things up, and mostly it seems to be working fine, but I do have one question.

The feeds seem to be set up correctly, and I'm seeing all the items in the preview list in "Edit Subscription", but the torrents don't get added immediately. If I leave Deluge running for a few hours then they do get added eventually. My question is: is it by design that torrents don't get added as soon as Deluge starts up? I don't leave it running 24/7 so for me if would be preferable if all feeds are scanned and all new torrents are added as soon as Deluge starts.

Thanks,
Pete
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

When Deluge starts, it will schedule all the feeds for the intervals, doing the first run after the interval has elapsed. So if a feed is scheduled for 30 minutes, it will be run for the first time after 30 minutes. Other than that there is no intentional delay implemented in YaRSS2, so any items matching the subscriptions should be added immediately.

The only reason a matching item is intentionally not added by YaRSS2 is if the timestamp of the item is older or equal to the saved timestamp of the last matched item. This is to avoid adding torrents that have already been added.
If the server has stability problems it might not return a proper feed. In that case it will just try again on the next schedule.

If you leave Deluge running, the "Log Messages" tab in YaRSS2 should contain some useful info on what it's been doing.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
pete_h
Member
Member
Posts: 39
Joined: Thu Dec 20, 2007 7:25 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by pete_h »

Thanks for the reply, that's what I expected.

May I make a feature request - could YaRSS2 scan all feeds on startup?

Thanks,
Pete
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

pete_h wrote:Thanks for the reply, that's what I expected.

May I make a feature request - could YaRSS2 scan all feeds on startup?

Thanks,
Pete
I made it like this to avoid all the feeds being fetched each time I restarted Deluge when developing. I might add an option to have to fetch on startup.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
jorricks
Member
Member
Posts: 21
Joined: Sun Apr 14, 2013 11:33 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by jorricks »

I don't get how I can start this plugin. I installed it and now it shows in the plugin list but it does not start...

Let me just note that when I go to ~/.config/deluge/plugins the file YaRSS2-1.2.1-py2.7.egg is there.
Also besides that In the ~/.config/deluge/ folder there is a yarss2.conf file too.
Still can't get the plugin to start or let me see anything..
Last edited by jorricks on Tue Apr 16, 2013 1:11 pm, edited 1 time in total.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

jorricks wrote:I don't get how I can start this plugin. I installed it and now it shows in the plugin list but it does not start...
What do you mean it doesn't start? Do you get an entry for YaRSS2 in the preferences?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
jorricks
Member
Member
Posts: 21
Joined: Sun Apr 14, 2013 11:33 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by jorricks »

bro wrote:
jorricks wrote:I don't get how I can start this plugin. I installed it and now it shows in the plugin list but it does not start...
What do you mean it doesn't start? Do you get an entry for YaRSS2 in the preferences?
https://jorricks.nl/1.JPG
Ass shown on the image above I can't even see a description but it says it is started..
Also please see my other updated comment :)
thanks for helping in advance :)!

And my python version is 2.7.3 btw (just checked it :)!)
And my deluge version is 1.3.3 and I'm running it on raspbian - debian for raspberry pi
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

It shows the info for the webui plugin, så it's probably not properly installed on both daemon and client. You need to have the correct version of the plugin for your python versions. Is it python 2.7 on both daemon and client? Did you look at http://dev.deluge-torrent.org/wiki/Plug ... ingPlugins ?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
jorricks
Member
Member
Posts: 21
Joined: Sun Apr 14, 2013 11:33 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by jorricks »

bro wrote:It shows the info for the webui plugin, så it's probably not properly installed on both daemon and client. You need to have the correct version of the plugin for your python versions. Is it python 2.7 on both daemon and client? Did you look at http://dev.deluge-torrent.org/wiki/Plug ... ingPlugins ?
1. If I install python 2.7.4 on my pc and reinstall it will that resolve the issue?
2. do you recommend me deleting the yarrss2.conf and YaRSS2-1.2.1-py2.7.egg before continuing?
3. I read that page but thought I would have the same python version on my desktop so I installed 2.7.4(see 1 xD)
4. I have copied the egg manually into the plugins folder but it still does not seem to work.
5. I did get the information about YaRSS2 on the Web-UI but not on the client itself.
Last edited by jorricks on Tue Apr 16, 2013 7:23 pm, edited 2 times in total.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by bro »

Looks like thats a problem with the webui, but I'm not sure if that could cause problems for other plugins loaded after the webui plugin. If you have python 2.6 on either the server or client machine you have to make sure that the 2.6-egg file is used for that machine. You don't need the same python version on both machines, but you need the correct egg for the python version on each machine. Could you try to disable the webui plugin and see if yarss2 loads?
Edit: You need to restart daemon/client to reload the plugin.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Post Reply