[mythtv] Save rating/playcount to ID3 tags

Stuart Morgan stuart at tase.co.uk
Wed Mar 28 22:40:37 UTC 2007


I wrote some additions to mythmusic to save the rating and playcount to the 
ID3 tag using the POPM tag. It was the result of frustration over losing the 
hundreds of ratings I'd assigned to tracks when the music_songs title was 
wiped. Having more or less finished the changes I decided that I wouldn't be 
committing them after all* so I'm posting it here for anyone who wants it**.

http://pastebin.ca/414233 (link expires in two months)

*  I intend to provide the same function in the future but after making some 
other changes to mythmusic which largely make this patch worthless.

** There is a know problem (bug if you must) with the patch - for mp3s without 
an ID3v2 tag it can cause a long delay when switching between tracks as the 
new tag is written. This only occurs the first time for each track. I've no 
intention of fixing it or any other bugs. This patch is unsupported and I 
take no responsibility for it, so use at your own risk.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list