Results 1 to 4 of 4
Thread: Need some help with mp3 tagger
- 07-23-2007, 01:58 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 3
- Rep Power
- 0
Need some help with mp3 tagger
Hi! I'm trying to write an mp3 tagger for id3v1.1 tags, and I'm having trouble with the writing to file part. The thing is I have to read 3 bytes from the file and replace 125 bytes at the end of the file. Is there a way of doing that without rewriting the whole file?
Last edited by q-ball; 07-23-2007 at 02:20 PM.
- 07-23-2007, 02:11 PM #2
Why don't you just open the file, go to that position and write over the existing data? Try that, it should work.
By the way, i noticed mp3 tag libraries and applications before. Two of them are below. Are you sure you need to write it from scratch instead of using existing libraries/applications?
Java ID3 Tag Library
Mp3Tagger - .mp3 Tag Editor
- 07-24-2007, 09:53 AM #3
Member
- Join Date
- Jul 2007
- Posts
- 3
- Rep Power
- 0
I tired that, using RandomAccessFile, but I get
P.S. I'm writing the tagger from scratch because I think it's a good way of learning/getting used to JavaJava Code:java.io.FileNotFoundException: C:\test.mp3 (The process cannot access the file because it is being used by another process)
- 07-24-2007, 10:38 AM #4
Member
- Join Date
- Jul 2007
- Posts
- 3
- Rep Power
- 0
I finally solved it! I got that error because of the embedded media player in windoze 2k. The thing is, after I first ran the program, I opened the file with notepad to see if the changes were made. After closing notepad, the file remained selected in my computer, so it was still open because of the embedded media player. Even when I deselected the file, windows media player wouldn't close it. So to close the file, I have to close "My Computer". That's Microsoft...


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks