[gpodder-devel] Automatically Modifying id3 tags for Podcasts

  • From: thp at gpodder.org (Thomas Perl)
  • Date: Sat, 20 Nov 2010 21:17:44 +0100

On Wed, Nov 10, 2010 at 12:17:47AM +0000, Dave Morriss wrote:
> A while ago I wrote a Perl script which fixes missing album names in the
> way you suggest, but I also added a regex matching capability so that I
> could generate album names based on the filename. This was for feeds
> that contain different podcast "streams". I also added an episode title
> modification facility so that I could ensure the episodes sorted
> correctly on my Samsung player. If I have several episodes to listen to
> I want them to play in the right order, and my player only seems to be
> able to sort them alphabetically.
> 
> I also like to compress titles so an episode number or date is easily
> visible.

This should also be easily doable using post-download hook scripts. An
example can be found in "doc/dev/examples/hooks.py" and the functions
you want to override are "on_episode_save" and maybe "on_podcast_save".

The parameter passed are objects from the "gpodder.model" module.


HTH.

Thomas


Other related posts: