Hi
There is no good reason I can think of why TorrentAddedEvent would not be emited. If Deluge successfully adds a torrent a TorrentAddedEvent should be emited no matter how it was added, as it's the same function that adds the torrent.
[Plugin] YaRSS2 - RSS plugin with GTKUI support
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
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.
[Plugin] YaRSS2 - Regex Find Replace in RSS
Thanks a lot for your great plugin. 
I would like to make a request for allowing regex find/replace in the RSS xml before it is scanned by the subscription. It looks to me that you have suggested in other posts that one could use Yahoo Pipes to achieve the same, but Yahoo requires an account to create a pipe, and new accounts require a mobile phone number
, so it is not a route I would like to take.
Adding this functionality will make it possible to use RSS feeds from sites such as torrentz.eu, which do not link directly to a torrent file, but which could easily be edited to do so.
If there are other ways already available to accomplish this functionality, please advise and I will give it a try.
Thanks in advance.
Ignobilis
Durban, South Africa

I would like to make a request for allowing regex find/replace in the RSS xml before it is scanned by the subscription. It looks to me that you have suggested in other posts that one could use Yahoo Pipes to achieve the same, but Yahoo requires an account to create a pipe, and new accounts require a mobile phone number

Adding this functionality will make it possible to use RSS feeds from sites such as torrentz.eu, which do not link directly to a torrent file, but which could easily be edited to do so.
If there are other ways already available to accomplish this functionality, please advise and I will give it a try.
Thanks in advance.
Ignobilis
Durban, South Africa
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
I just switched to deluge and I am almost happy 
I am trying to add yarss as a rss feedhandler to deluge. While the rssfeed from eztv works fine, the rss-feed from showrss.info seems not to work, maybe because of the use of magnets?
The search pattern matches, the log says, that a magnet ist beinig added,
but nothing happens, the file does not get downloaded. Any ideas?

I am trying to add yarss as a rss feedhandler to deluge. While the rssfeed from eztv works fine, the rss-feed from showrss.info seems not to work, maybe because of the use of magnets?
The search pattern matches, the log says, that a magnet ist beinig added,
Code: Select all
log:
[INFO ] 12:43:11 logger:63 YaRSS2.rssfeed_handling:310: Fetching subscription 'The Good Wife'.
[INFO ] 12:43:11 logger:63 YaRSS2.rssfeed_handling:109: Fetching RSS Feed: 'showrss' with Cookie: '{}'.
[INFO ] 12:43:13 logger:63 YaRSS2.rssfeed_handling:330: 14 items in feed, 1 matches the filter.
[INFO ] 12:43:13 logger:63 YaRSS2.torrent_handling:83: Fetching magnet: 'magnet:?xt=urn:btih:2DEB714D60FB02BA745EB126C592A47C2058375D&dn=The+Good+Wife+S05E13+HDTV+x264+LOL&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'tr=http://fr33dom.h33t.com:3310/announce'
Code: Select all
log:
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)
Re: [Plugin] YaRSS2 - Regex Find Replace in RSS
HiIgnobilis wrote:Thanks a lot for your great plugin.
I would like to make a request for allowing regex find/replace in the RSS xml before it is scanned by the subscription. It looks to me that you have suggested in other posts that one could use Yahoo Pipes to achieve the same, but Yahoo requires an account to create a pipe, and new accounts require a mobile phone number, so it is not a route I would like to take.
Adding this functionality will make it possible to use RSS feeds from sites such as torrentz.eu, which do not link directly to a torrent file, but which could easily be edited to do so.
If there are other ways already available to accomplish this functionality, please advise and I will give it a try.
Thanks in advance.
Ignobilis
Durban, South Africa
I never used the Yahoo Pipes, but a user suggested that solution which is better than nothing, but I agree, it would be better to have an integrated solution.
I'm not sure how easy it would be to implement a solution for torrentz.eu though, as it links to multiple different torrent sites which have different formats on their pages. How did you envision a solution to this?
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.
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
HiMona wrote:Code: Select all
log: 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)
Unless I'm mistaken you're using Deluge 1.3.3. Deluge 1.3.4 contains a fix for this issue you're seeing.
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.
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
Thanks for the quick response.
Right now, if I could change this:
to this:
it would make several dozen torrents available to me using RSS, which I currently have to fetch manually. A very simple regex find/replace would do it nicely.
I understand that this solution might have to be edited from time to time, but I have no problem with that, because that's the nature of torrents anyway.
Right now, if I could change this:
Code: Select all
<link>http://torrentz.eu/e6ec907195d033e097da6b24ac8aae1116219d85</link>
Code: Select all
<link>http://torcache.net/torrent/e6ec907195d033e097da6b24ac8aae1116219d85.torrent</link>
I understand that this solution might have to be edited from time to time, but I have no problem with that, because that's the nature of torrents anyway.
-
- Member
- Posts: 20
- Joined: Wed Mar 05, 2014 9:07 pm
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
I finally figured out how to get this thing working, but that's through no fault of the plugin, but rather of my own incompetence. Thanks for your hard work bro.
Is there a way to add a label from within a subscription? I've got a setup where I essentially have 3 types of downloads that are copied to different locations for sorting after the torrent is completed while I continue to seed. I'd like to use this plugin while adding a label to any new torrents from a subscription. Would this be possible?
EDIT: If this isn't possible, is there any way to have an option to download the .torrent to a specific folder to let AutoAdd take care of the labelling?
Is there a way to add a label from within a subscription? I've got a setup where I essentially have 3 types of downloads that are copied to different locations for sorting after the torrent is completed while I continue to seed. I'd like to use this plugin while adding a label to any new torrents from a subscription. Would this be possible?
EDIT: If this isn't possible, is there any way to have an option to download the .torrent to a specific folder to let AutoAdd take care of the labelling?
Last edited by captainnapalm on Wed Mar 19, 2014 2:43 am, edited 1 time in total.
-
- Member
- Posts: 20
- Joined: Wed Mar 05, 2014 9:07 pm
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
I'm also having troubles with the email notifications. I'm trying to use gmail but I believe gmail requires "TSL" for secure authentication but I don't see that as an option in the plugin.
EDIT: Found the post a page back about changing to port 587 instead of 465. I'll try that out.
EDIT: Found the post a page back about changing to port 587 instead of 465. I'll try that out.
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
Hicaptainnapalm wrote:I finally figured out how to get this thing working, but that's through no fault of the plugin, but rather of my own incompetence. Thanks for your hard work bro.
Is there a way to add a label from within a subscription? I've got a setup where I essentially have 3 types of downloads that are copied to different locations for sorting after the torrent is completed while I continue to seed. I'd like to use this plugin while adding a label to any new torrents from a subscription. Would this be possible?
EDIT: If this isn't possible, is there any way to have an option to download the .torrent to a specific folder to let AutoAdd take care of the labelling?
There is no way to set up a label at the moment. You'd have to look around in the AutoAdd options if it has such an option.
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.
Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
587 should work with gmail. I've added a section to the wiki about email and gmail settings.captainnapalm wrote:I'm also having troubles with the email notifications. I'm trying to use gmail but I believe gmail requires "TSL" for secure authentication but I don't see that as an option in the plugin.
EDIT: Found the post a page back about changing to port 587 instead of 465. I'll try that out.
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.