Mr_Mischif Posted January 8, 2008 Share Posted January 8, 2008 The title is kinda self-explanatory. I'm having trouble finding some, and the ones I have found don't have a general location to access the tags. Can anyone help me? Quote Link to comment Share on other sites More sharing options...
digip Posted January 8, 2008 Share Posted January 8, 2008 Write one. ID3 tags are in a specific location of th efile, liek the last 128 bits of the file or something. I do not use Python, but I imagine it works with file? Open it in binary mode and dump the strings from the range they fall in, parse it out to display it. Close the file and done. Then just print the info to the screen. I had to make a program in VB to fix broken mp3s that had corrupted data in teh ID3 tag sections. It was coming up as garbled data and would not play the file. I later found out it was because of the ID3 tag and once I blanked out those fileds with spaces and resaved the file it was fine and would play, but I am sure you could use the same method only in Python to do the same thing and read the data. http://www.google.com/search?num=50&hl...amp;btnG=Search EDIT: Sorry, it wasnt the last 128 bits but 128 bits following the "TAG" string in the file: http://en.wikipedia.org/wiki/ID3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.