On 9/7/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote: <snip>
Python: Rhythmbox has some nice python plugin extensions for getting cover art and lyrics for songs. It would be cool if we could modify these so tracker can get this stuff too automatically when files are indexed. Tracker does not and cannot use python directly but it can of course call and spawn stand-alone programs written in any language. So two command line apps in python that take a no of parameters in (not sure which but could be artist, album and title?) and the final paramter should be the filename to store the lyrics or cover album png in (all of which tracker will supply)
I've taken a look and coded up the utility for grabbing lyrics, based off the one from RhythmBox. I'm sure it can be improved in a lot of ways though... Samuel Cormier-Iijima
Attachment:
lyrics.py
Description: Text Data