Most stuff is pretty self-explanatory, but the filters are where things get interesting. FlexRSS allows for multiple patterns per filter, and each pattern is regular expression.
There are (currently) three types for filters: TV Show, TV Show (dated), and Generic. Generic filters will simply check to see if a torrent has already been downloaded by looking at the URL. The other two types check the filter's history based on named patterns in the regular expressions. Recognized names for TV shows are 's', and 'e' ('season'/'series' and 'episode', respectively). Names for dated TV shows are Y, y, m, and d, which correspond to a 4-digit and 2-digit representations of the year for Y and y (respectively), month for m, and day for d. Additionally, the patterns are pre-processed so you can use %s, %e, %Y, %y, %m, and %d for aliases for the appropriate regular expressions.
If there is any interest I'll write up some proper documentation. For now, any feedback (bug reports, feature requests, whatever) would be appreciated. Thanks to everyone who has already provided feedback!
I'll keep this thread updated as newer versions are released.
Updates
- 23 Jul 2007 (0.0.2): Lots of smaller tweaks, but changes worthy of mention include...
- Significantly improved automatic filter creator (right click on an item in the feeds tab, 'Create filter')
- Output directory, with a small patch to deluge.
- Feeds an filters lists are now sorted.
- Works on non-SVN
- Named patterns for series/season and episode have been changed to s and e.
- 23 Jul 2007 (0.0.3)
- RSS icon
- Ability to disable filters
- 1 Aug 2007 (0.0.4)
- Cookies.
- Toolbar button (optional). I also changed the icon a bit to differentiate from SatNav's plugin because of this.
- Automatic filter creator can now handle 2-digit years for dated tv shows.
- 4 Aug 2007 (0.0.5)
- Update feeds in a separate thread.
- 5 Aug 2007 (0.0.6)
- Make feed retrieval in another thread optional, disabled by default. It is still buggy--takes a *long* time, but seems to work if you're patient enough. Hopefully someone more familiar with threading in Python can take a look.
- Remove button from toolbar when the plugin is unloaded (thanks to markybob's bug report)
- 6 Aug 2007 (0.1.0)
- "History restriction": You can now specify a range of episodes to download.
- 13 Aug 2007 (0.1.1)
- Added an option to download the torrent to the popup menu for feed items (where "create filter" is)
- Fixed display of from series/episode for TV shows (always worked, but the filter wasn't displayed properly)
- Selecting an item in the feed will now make that item the test pattern on the filters tab.
- 18 Aug 2007 (0.1.2)
- Fix output dirertory capability--thanks to gazpachoking for the bug report
- 18 Aug 2007 (0.1.3)
- Filter test area now takes history restriction into account (thanks gazpachoking)
- Changing the output directory will now automatically select the "Choose:" radio
- 19 Aug 2007 (0.1.4)
- Fix bug where filter id is to 'feeds' unless feed is selected (another reported by gazpachoking)
- Replace calls to strptime(asctime()) with localtime(), hopefully (edit: yep, it worked) fixing chaky's bug.
- 20 Aug 2007 (0.1.5)
- Added options (in filter) to send the torrent to the top of the queue and/or set its state to paused. Requires SVN. Thanks to gazpachoking for the idea.
- Each section in the filters tab now uses expanders to (optionally) hide content. There are quite a few options, and I was worried about people with lower screen resolutions.
- 21 Aug 2007 (0.1.6)
- Fix Hellmark's bug in the CalendarButton widget.
- Changes in feed type are now reflected in the history restriction section.
- 22 Aug 2007 (0.1.7)
- Prevent an error message when adding a new filter when not using the automatic generator. Thanks gazpachoking.
- 24 Aug 2007 (0.1.8)
- Catch the exception when we are unable to download a torrent. Thanks to gazpachoking.
- 9 Sep 2007 (0.1.9)
- Fix a bug causing deluge to crash when there are problems adding the torrent.
- Changing the filter test pattern now refreshes the result.
- New option to delete filter after it is matched.
- 16 Sep 2007 (0.1.10)
- Fix generic filters--thanks to psyberOne for the bug report.
- 17 Sep 2007 (0.1.11)
- Fix the fix for generic filters, and add another. Thanks again to psyberOne
- 22 Sep 2007 (0.1.12)
- Add capability to search the feeds tree view.
- 7 Oct 2007 (0.2.0)
- Torrents are now downloaded using the feed URL as the referer.
- Added "Link Rewriting", which allows you to use a regexp to rewrite a torrent's URL before downloading.
- 19 Oct 2007 (0.2.1)
- Apply patch from pyjamasam to properly handle feeds that use enclosures instead of links. Thanks pyjamasam!
- 21 Oct 2007 (0.2.2)
- Fixed a bug with generic filters.
- 27 Oct 2007 (0.2.3)
- If an item in a feed doesn't contain a link, don't stop processing the feed--just skip the entry.