Home Developer Common Prefix Elimination for Episode Lists

Common Prefix Elimination for Episode Lists

 
Something that I’ve been wanting to get into gPodder for a long time has finally landed in our Git repository: Common prefix elimination. We apply this to all episode titles that we show in GUI lists (e.g. in the Gtk UI and the QML UI), and it really helps to show you more information that is useful to you, especially on mobile devices:
 

 
 
On the first screenshot, you can see the Harmattan QML UI of gPodder 3.0.1 showing the Linux Outlaws episode list. As you can see, about half of the screen is “wasted” with information that is global across all episodes. On the second screenshot, you can see the development version of gPodder, showing the exact same screen, but this time with common prefix elimination enabled.

Right now, we have a very conservative algorithm for detecting common prefixes (i.e. it has to be a real common prefix across all episodes) – one could think about improving this with some heuristics, e.g. removing the podcast title in front of episodes, calculating the common prefix of a certain majority of episodes, etc. – I’m interested to see how the user base likes this feature, and if there are situations where this does more harm than good.

 

Source QtExperts