FlexRSS plugin

Suggest, post, or discuss plugins for Deluge
avlex
New User
New User
Posts: 4
Joined: Mon Apr 14, 2008 7:16 am

Re: FlexRSS plugin

Post by avlex »

I just noticed something:
Whether I copy the feeds name for matching and testing directly from the website (via Xmouse c/p), or use the create filter method, wherever the copied text contains a "." or "_", there is another hidden character added after or in case of the "_" in front of it. Here is the example I noticed it on (it might not be in said feed anymore when you read this):

Generic filters, pointing to "http://tokyotosho.com/rss.php?filter=1", that should match this filename (not manually entered, but by selecting the entry of the file in the Feeds tab): [BakaWolf-m.​3.​3.​w] Special A 02 (H.​264) [EA52D0A3].​mkv
1.) A filter with all hidden characters removed:
"\[BakaWolf-m\.3\.3\.w\]\ Special\ A\ .*\ \(H\.264\)"
This filter shows that it does not match the entry (because of the hidden characters) and needless to say, it does not work.
2.) A filter with the hidden characters escaped:
"\[BakaWolf-m\.\​3\.\​3\.\​w]\ Special\ A\ 02\ \(H\.\​264\)" (with any luck those characters are still present in the post, since they seem to be while im writing it)
By adding a "\" behind this expression I get the Broken expression error on stdout (using gnome-terminal to view it) and surprisingly while nothing shows in the FlexRSS dialog, there is a " " character (whichever hidden one it is) added behind the "\" after the masked ".", making the expression look like this: "\[BakaWolf-m\.\ 3\.\ 3\.\ w]\ Special\ A\ 02\ \(H\.\ 264\)". Surprisingly, escaped or not, this does not work either, whether it is because of the spaces in the filename of this particular example (because the plugin shows problems handling those in other situations as well) or the special characters, I cant say.

I hope this helps someone debug the plugin and solve the problem somehow.

Edit: I just found out that this filter works in this particular case: ".*BakaWolf.*Special\ A.*\(H.*264\)". Even with "[]" it still works, so the "." and "_" seem to be the only ones causing problems for me and can be replaced with ".*". Though I have to say, this is not exactly the way I would like it to work, because it still leaves too many posibilities open sometimes.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: FlexRSS plugin

Post by johnnyg »

what exactly are you trying to filter?
if you're just trying to filter bakawolf, then the filter "bakawolf" should work fine.
the "." in a pattern means it can be any character ".*" means you can have any character any amount of times (including not at all).
making your pattern as simple as posssible should ensure that it matches (but obviously not too simple otherwise it could match when it shouldn't).
avlex
New User
New User
Posts: 4
Joined: Mon Apr 14, 2008 7:16 am

Re: FlexRSS plugin

Post by avlex »

johnnyg wrote:what exactly are you trying to filter?
if you're just trying to filter bakawolf, then the filter "bakawolf" should work fine.
the "." in a pattern means it can be any character ".*" means you can have any character any amount of times (including not at all).
making your pattern as simple as posssible should ensure that it matches (but obviously not too simple otherwise it could match when it shouldn't).
Its anime, problem is, that there are different groups of people (for example BakaWolf) that release the same series with different subtitles and even from the same group there is a H.264 and a Xvid version of that particular series. Anyways, dont worry about it, I know my way around regexps, I just wanted to report my findings, since this seems to be a problem. After I simplified the filter a little, it is working fine, though because of the problem with those hidden characters, I still have to replace "." and "_" with ".*", since nothing else seems to work (including leaving and masking the character). A fix for this problem would be nice though, since this solution doesnt rule out some of the files I dont want in other cases.
dajomas

Re: FlexRSS plugin

Post by dajomas »

Hello,

I am a new user of Deluge (running on Fedora 8). One of the reasons I am using Deluge is the FlexRSS plugin. However, I find it a bit strange that I have to add the link rewriting in the filters section and not in the feeds section.

I'm not sure if this has been mentioned before (15 pages is quite a lot to go through) but is this something that could be considered in a next version?

Thanx.

Greetinx
Johan
antdgar
Member
Member
Posts: 15
Joined: Sat May 24, 2008 12:31 pm

Re: FlexRSS plugin

Post by antdgar »

This is incredibly confusing for mere mortals to understand... I've read the python documentation on regular expressions but still do not understand how to do what I want and which is simple to do in Utorrent:

I want a a regular expression that will match everything in the feed, how can I do that? In utorrent I just use the * wildcard by itself.
My other RE that I want:
Also, I want to match everything with "scene 2008" in utorrent it's so simple as *scene**2008*.

I'm not dealing with TV shows.

Can someone please guide me on how to set up these feeds using deluge. I have a 100mbit line and only deluge works well at these high speeds :) utorrent chokes.

Thank you.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: FlexRSS plugin

Post by johnnyg »

antdgar wrote:I want a a regular expression that will match everything in the feed, how can I do that? In utorrent I just use the * wildcard by itself.

Code: Select all

.*
will match absolutely everything (. matches any character and * specifies to match it 0 or more times)
antdgar wrote: My other RE that I want:
Also, I want to match everything with "scene 2008" in utorrent it's so simple as *scene**2008*.
the pattern

Code: Select all

scene 2008
will explicitly match any torrent with "scene 2008" in the title.
you could also use

Code: Select all

scene.2008
which will match any title containing scene followed by any character follower by 2008
antdgar
Member
Member
Posts: 15
Joined: Sat May 24, 2008 12:31 pm

Re: FlexRSS plugin

Post by antdgar »

thank you v. much
benv

Re: FlexRSS plugin

Post by benv »

I've been running into a problem where a torrent gets added by FlexRSS, but does not actually start. It goes immediately to "Checking @ 0%" and the torrent does not download. The plugin seems to be working fine otherwise, perhaps its a problem with deluge itself? When I add the torrent manually it starts fine, but not when it is added via filter by FlexRSS. Any suggestions on how to fix this would be appreciated! :)
gnivler

Re: FlexRSS plugin

Post by gnivler »

Hello all. Just moved to Deluge last week from Azureus, where I was using ScaneRSS for the same purpose. I migrated my filters manually and they were working but today I've noticed that matching torrents in the 4 feeds I have setup are not being added for download. I'm using 0.5.9.3 on Ubuntu 64bit (hardy). My method is simple and seems to illustrate a failure in something, maybe me! I open up FlexRSS, highlight a show in the RSS feed, then click on the Filters tab and select the relevant filter. It shows Match under the Test field, displaying the episode and season number - also if I change those numbers manually in the test field to not match on History restriction they work as expected, changing to Doesn't Match. So the filter appears good, it's claiming to match as expected, but nothing else happens at all. The filters have the relevant feeds highlighted/enabled (they are either single or dual feed) and the filters are all "checked". I've manually refreshed the feed, I toggled the filter off/on (not the feed off/on yet I'll try that too I guess), I rebooted just for good measure, but still nothing happens and I'm currently at a loss as to how I can troubleshoot this further and get it working. I enabled Event Logging plugin but not sure if I can even expect log output from FlexRSS, since most of the options don't mention plugins at all I just enabled "Other" and "enable logging" in the preferences, but I haven't seen any logs generated yet (looking in ~/.config/deluge/logs). Thanks for any assistance.

update: just toggled the feeds and filters together without any change. I also just right clicked on an RSS entry and chose Download Torrent which made the GUI pause for a few seconds but then nothing is added to deluge's queue. Tried several entries in different feeds then manually verified the links in the feed are valid when entered into a browser. When I manually download the torrent via my browser it queues in deluge normally, too. The only thing coming to mind as a recent change that may somehow be related is I installed FlashGot extension (which appears to launch something via wine every time I load /usr/bin/firefox, for whatever reason) earlier today, with Aria Download Manager. I don't see any FlashGot resident processes so I'm guessing it's not related, plus the problem is present with Firefox closed.
ketilwaa

Re: FlexRSS plugin

Post by ketilwaa »

Is this plugin dead? I can not upgrade Deluge on one of my computers because there does not seem to be an RSS plugin.
Locked