https://bugs.gpodder.org/show_bug.cgi?id=1441
Thomas Perl <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.1 --- Comment #4 from Thomas Perl <[email protected]> 2011-10-05 09:02:28 BST --- (In reply to comment #3) > @Thomas Perl > (In reply to comment #1) > > Aren't there different feeds for Twit that handle this? > > Nope, you'd have to download manually. > > The file naming seems to always follow the same pattern, so if one could say > "download if the string '864x480_500' is present", that could work. In this case, I suppose a new hook script function could be introduced that gets a list of enclosures and returns the desired one. In pseudocode, the hook function body for you could look like this: if podcast.url == 'http://feeds.twit.tv/tht_video_large': for enclosure in enclosures: if '864x480_500' in enclosure.url: return enclosure You would obviously have to maintain the hook script yourself, and it's not that friendly for beginner-level users, but then I think beginner-level user will just be happy with the default video. I can't think of a way (right now) how to make this visible in the UI without having to complicate the default case (single enclosure per item) for all other users. Targetting 3.1 as maybe-feature (i.e. it could be that this gets postponed), but patches gladly accepted and mentoring offered (i.e. you write the patch, but we guide you around the source code and help you with reviews and suggestions). -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
