Well, my computer was down for a while, but I finally got it back up and running. I am still having the problem with the duplicated torrents hang. If I add a torrent I am already downloading manually I still get the error message in the terminal, but deluge doesnt hang and pops up a dialog asking me if I want to merge the trackers. Even if I pick a torrent from the feed list in flexrss it works the same. When it happens while unattended the dialog asking me to merge the trackers is up (sometimes), but is totally blank except for the title bar (same thing with the main deluge window).
This might also be of some importance: The only show I have a filter that should be matching right now is bleach. I have it set up as a tv show with only an episode number (i.e. bleach - %e) Then I set the history match to get anything after season 0 episode 47. This seems to work as I desire with the test box, but I was thinking maybe something to do with not having a %s in the pattern or the season being 0 might mess something up.
FlexRSS plugin
-
- Moderator
- Posts: 315
- Joined: Sat Aug 18, 2007 2:28 pm
- Location: Pittsburgh, USA
- silverdulcet
- Member
- Posts: 41
- Joined: Sat Jul 21, 2007 6:48 am
- Contact:
Re: FlexRSS plugin
I have had the same problem with a number of torrents. See this post for examples.Hellmark wrote:right now, having an issue, where a RSS feed points to a torrent that was deleted from the tracker. Since the tracker no longer has it, it throws up a message stating it doesn't exist. When FlexRSS gets it, it wigs out and crashes Deluge.
Code: Select all
Warning: torrent content-type not application/x-bittorrent terminate called after throwing an instance of 'libtorrent::invalid_encoding' what(): invalid bencoding Aborted
http://forum.deluge-torrent.org/viewtop ... ding#p1738
The only way to reset it is to get rid of the FlexRSS config files in (~/.config/deluge) otherwise FlexRSS continues to crash deluge. The strange thing is, the .torrent file looks just fine. In some instances you can go and manually download the .torrent file and it will work. It looks like the most recent svn version (1637) will actually say that a torrent added via http is not valid and refuse to load it. Perhaps FlexRSS somehow gets around this check and tries to load it anyhow?
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: FlexRSS plugin
daddy,
you need to add some try: except: code to your interactive_add code so that your plugin wont crash deluge when its given an invalid url. deluge doesnt crash on invalid torrents if you add it via file->add url, but your plugin creates a crash.
you need to add some try: except: code to your interactive_add code so that your plugin wont crash deluge when its given an invalid url. deluge doesnt crash on invalid torrents if you add it via file->add url, but your plugin creates a crash.
Re: FlexRSS plugin
By the way, awesome work overall with the plugin. Very functional and takes the best of the similar azureus plugin. Awesome for my five-year-old media server. Thanks!
--Akshun J
--Akshun J

Re: FlexRSS plugin
Thanks everyone for the feedback. I just posted a new version which circumvents a bit of the cruft in deluge that handles UI interaction when adding torrents, which should fix gazpachoking's bug regarding the ui hanging. I've also added a bit of exception handling (as marybob suggested) which should take care of Hellmark's crashing bug. Finally, I added an option to delete the filter after it has matched.
Due to circumvention of the aforementioned cruft, the extra download option is now enabled in all versions, though now that 0.5.5 is out that isn't a big deal.
Due to circumvention of the aforementioned cruft, the extra download option is now enabled in all versions, though now that 0.5.5 is out that isn't a big deal.
Re: FlexRSS plugin
I just had a quick question/suggestion. What does a properly formatted Title filter look like, I used what I thought was the proper format but I get a non match
example:
how.i.met.your.mother.s02e01.hdtv.xvid.xor
How.I.Met.Your.Mother.%s.%e
it matched up till the %s, is it possible the . is messing it up?
as for the suggestion, for people like me for whom regex is a magical mysterious force, add a set of inputs for season and episode matching similar to RSSFeed for Azureus

example:
how.i.met.your.mother.s02e01.hdtv.xvid.xor
How.I.Met.Your.Mother.%s.%e
it matched up till the %s, is it possible the . is messing it up?
as for the suggestion, for people like me for whom regex is a magical mysterious force, add a set of inputs for season and episode matching similar to RSSFeed for Azureus

Re: FlexRSS plugin
Awesome plugin, but I have 2 requests:
1) Add Icons to the feed to know what i've downloaded before either manually and/or via a filter
2) Add the option to sort by name, rather than (seemingly, dunno if this is correct) by added date.
It's a bit confusing to find out what i've actually grabbed (i generally delete after viewing) and especiallly would like to see shows in alphabetical order as an option for quick searching for a show name.
Thanks again for the killer plugin, makes me wanna learn python that much more!
1) Add Icons to the feed to know what i've downloaded before either manually and/or via a filter
2) Add the option to sort by name, rather than (seemingly, dunno if this is correct) by added date.
It's a bit confusing to find out what i've actually grabbed (i generally delete after viewing) and especiallly would like to see shows in alphabetical order as an option for quick searching for a show name.
Thanks again for the killer plugin, makes me wanna learn python that much more!
-
- Moderator
- Posts: 315
- Joined: Sat Aug 18, 2007 2:28 pm
- Location: Pittsburgh, USA
Re: FlexRSS plugin
The %s and %e just represent the number, so in order to parse the name you have to use:psyberOne wrote:I just had a quick question/suggestion. What does a properly formatted Title filter look like, I used what I thought was the proper format but I get a non match
example:
how.i.met.your.mother.s02e01.hdtv.xvid.xor
How.I.Met.Your.Mother.%s.%e
how.i.met.your.mother.s%se%e
If you use the tvrss.net feeds however it formats the titles nicely so that this format filter will work for any show:
how.i.met.your.mother.%sx%e
If you are having trouble creating a filter there is a feature that creates a filter for you. Just right click on the torrent you want it to grab and click create filter. You may have to tweak the default generated filter for some shows but it seems to have worked pretty well for me.
If you do make your filters by hand make sure you set the type as "TV Show." Once you do that you can set the season and episode restrictions just like in your azureus screen shot.
BTW daddy, the plugin has been working flawlessly since your last update, thanks!
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: FlexRSS plugin
yes, this has turned into a great plugin. if it were translatable, i'd include it in deluge. maybe next version?gazpachoking wrote:BTW daddy, the plugin has been working flawlessly since your last update, thanks!

Re: FlexRSS plugin
psyberOne, I'm glad you decided to give this plugin a try, but

2) They are in the same order as they appear in the feed--for every feed I've encountered, that means the newest entry is on top... that way you don't have to read the entire list to know what is new. Does that clear things up enough, or do you still want this feature (it seems a bit silly to me, but if that's what people want...)?
That said, the code could use a clean-up. I wrote it to *learn* python (which, for the record, I now hate), and didn't honestly think anyone would like it, so I didn't exactly concern myself with code quality. I don't have time to rewrite it (actually I really don't have time to maintain it, but I am anyways). If you want to include the plugin in deluge you might want to do a quick code review first.
This plugin is not supposed to be easy to use. It is, as the plugin description says, "...extremely powerful, configurable, unforgiving, and difficult." Early on, it was decided that this plugin would be there for the advanced users, and the 'Simple RSS' plugin would be there for people who don't want to deal with regular expressions. I've tried to make it pretty easy to use (for instance, if you were to right-click the entry in the feeds tab for that "How I Met Your Mother" episode, and choose "create filter", the regex would have been automatically created for you), but I'm not willing to sacrifice the regular expressions.psyberOne wrote:as for the suggestion, for people like me for whom regex is a magical mysterious force, add a set of inputs for season and episode matching similar to RSSFeed for Azureus
1) Sounds cool. I would have to store a list of every torrent ever downloaded by flexrss in addition to the history information already there... I'll think about itklrspz wrote:Awesome plugin, but I have 2 requests:
1) Add Icons to the feed to know what i've downloaded before either manually and/or via a filter
2) Add the option to sort by name, rather than (seemingly, dunno if this is correct) by added date.

2) They are in the same order as they appear in the feed--for every feed I've encountered, that means the newest entry is on top... that way you don't have to read the entire list to know what is new. Does that clear things up enough, or do you still want this feature (it seems a bit silly to me, but if that's what people want...)?
Thanks for answering him, and of course you're right. However, if you want to match either (EZTV or VTV) without using two filters, you could always use: "how.i.met.your.mother..?%s.%e".gazpachoking wrote:The %s and %e just represent the number, so in order to parse the name you have to use:
how.i.met.your.mother.s%se%e
What isn't translatable? Almost all of the strings are in the glade file, and should be marked as translatable... there are a few strings in the plugin.py file that use gettext already... the only thing I can think of are a couple lines of debugging output (error messages, really) that only appear in the console--I don't think those are usually gettextized (could be wrong), but if that's how deluge does it I suppose I could cooperate.markybob wrote:yes, this has turned into a great plugin. if it were translatable, i'd include it in deluge. maybe next version?gettext support can be added by simply using _("") for strings instead of "" in most cases.
That said, the code could use a clean-up. I wrote it to *learn* python (which, for the record, I now hate), and didn't honestly think anyone would like it, so I didn't exactly concern myself with code quality. I don't have time to rewrite it (actually I really don't have time to maintain it, but I am anyways). If you want to include the plugin in deluge you might want to do a quick code review first.