I'm going to try and extract the artist and album from the meta data of an mp3 file with python but I need a little help.
This is what I get on the tag line when I open an mp3 file in vim:
----> ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿTAGRooster^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Alice In Chains^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@DIRT^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@1992
This is what I get when I tail the same mp3 file
---->������������������������������������������������������������������TAGRoosterAlice In ChainsDIRT1992
I need to know the structure of the file but when I tail the file ir runs everything together, when I open it in vim the artist and the album each of up to 30 characters and thereamining characters are padded with ^@
Any ideas how the file is actually laid out?