Page 38 of 78

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

Posted: Sun May 11, 2014 9:46 am
by luksak
The "Move completed" options doesn't work for me. Even if I have a destination set that works with the AutoAdd plugin, it doesn't set the "Move completed" option on the fetched torrents. What could be wrong? I am using the latest stable of both Deluge and YaRSS2.

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

Posted: Tue May 13, 2014 1:35 pm
by bro
luksak wrote:The "Move completed" options doesn't work for me. Even if I have a destination set that works with the AutoAdd plugin, it doesn't set the "Move completed" option on the fetched torrents. What could be wrong? I am using the latest stable of both Deluge and YaRSS2.
I have no idea what could cause this. What is the path you enter in the "moved completed" field?

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

Posted: Wed May 14, 2014 5:38 pm
by novamil
Hi, Thank you bro for everything.

I have some trouble with a raspberry pi with raspbian on it.
i installed deluge as a deamon (deluged) and run deluge on my windows to control it. i added YaRSS2 for python 2.7 and configure it with RSS feed and abonnements.
in the log i can see this when i run the abonnement :

Code: Select all

(2014-05-14T17:40:23): Manually running Subscription 'ALL'
(2014-05-14T17:40:23): Update handler executed on RSS Feed 'show rss (showrss.info)' (Update interval 30 min)
(2014-05-14T17:40:23): Fetching subscription 'ALL'.
(2014-05-14T17:40:23): Fetching RSS Feed: 'show rss' with Cookie: '{}'.
(2014-05-14T17:40:26): 26 items in feed, 26 matches the filter.
(2014-05-14T17:40:26): Adding magnet: 'magnet:?xt=urn:btih:A9755D12D525B3AF277A896267665C71534B67E8&dn=Marvels+Agents+of+S+H+I+E+L+D+S01E22+HDTV+x264+KILLERS&tr=udp://tracker.openbittorrent.com:80&tr=udp://tracker.publicbt.com:80&tr=udp://tracker.istole.it:80&tr=http://tracker.istole.it&tr=http://fr33dom.h33t.com:3310/announce'
but no torrent is ever added to deluge.
when i copy the magnet link to add it as URL manualy it work fine.

i can't figure out whats wrong :X

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

Posted: Thu May 15, 2014 11:09 am
by luksak
bro wrote: I have no idea what could cause this. What is the path you enter in the "moved completed" field?
It is set to "/mnt/user/Media/Torrent/Movies"

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

Posted: Thu May 15, 2014 3:51 pm
by bro
luksak wrote:
bro wrote: I have no idea what could cause this. What is the path you enter in the "moved completed" field?
It is set to "/mnt/user/Media/Torrent/Movies"
So if you add the torrent manually (with Deluge Add torrent dialog) and set the "move completed" field it will show the correct "move completed" value in the Option tab (bottom in main window), but when YaRSS2 adds the same torrent, the "move completed" value in the Option tab is not correct?

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

Posted: Thu May 15, 2014 3:53 pm
by bro
novamil wrote: but no torrent is ever added to deluge.
when i copy the magnet link to add it as URL manualy it work fine.
Do torrents work? Only magnets fail?

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

Posted: Thu May 15, 2014 10:35 pm
by novamil
bro wrote: Do torrents work? Only magnets fail?
When i use deluge with remote client on windows everything works fine.
Just with YaRSS2 and RSS feed with magnet, he catch the show, find the magnet link, but nothing happens after that.

Edit :
I found some errors in the terminal where i launch deluged :

Code: Select all

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 368, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "build/bdist.linux-x86_64/egg/yarss2/rssfeed_scheduler.py", line 166, in add_torrents_callback
    add_torrent_func(save_subscription_func, matching_torrents, config)
  File "build/bdist.linux-x86_64/egg/yarss2/torrent_handling.py", line 168, in add_torrents
    torrent_download = self.add_torrent(torrent_match)
  File "build/bdist.linux-x86_64/egg/yarss2/torrent_handling.py", line 143, in add_torrent
    download.torrent_id = component.get("TorrentManager").add(options=options, magnet=download.url)
  File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 450, in add
    handle = lt.add_magnet_uri(self.session, magnet, add_torrent_params)
Boost.Python.ArgumentError: Python argument types in
    libtorrent.add_magnet_uri(session, unicode, dict)
did not match C++ signature:
    add_magnet_uri(libtorrent::session {lvalue}, std::string, boost::python::dict)
pi@raspberrypi ~ $ python --version
Python 2.7.3

ill try to switch to python 2.6 from 2.7 maybe

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

Posted: Wed May 21, 2014 10:16 am
by bro
@novamil
Yeah, that is actually fixed in the git repo: https://bitbucket.org/bendikro/deluge-y ... ?at=master

Using a newer version of Deluge (than 1.3.3) should also resolve the issue.

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

Posted: Thu Jul 03, 2014 4:16 am
by Clawhammer
bro wrote:
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.
Hi, I have searched through this thread a bit and found this post from a while back.

I was wondering if you had a chance to take a look at this? I would like to fetch my subscriptions on startup, and I do not need the tracker to update every 5 minutes.

This plugin is great, thank you for making something that suited my needs so perfectly.

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

Posted: Sun Jul 06, 2014 12:52 am
by endoverend
So my tracker just added an option to automatically add bookmarked torrents to the RSS feed. However, this doesn't work well with YaRSS2. It refuses to add my torrents because the timestamp is before the timestamp of the last torrent I added. This is normal, because some torrents are published before others. Is there any way around this besides resetting the timestamp every time I download something? Thanks.