From jaslane64 at yahoo.com Tue Jan 11 08:30:21 2011 From: jaslane64 at yahoo.com (John Slane) Date: Tue, 11 Jan 2011 08:30:21 -0800 (PST) Subject: [ID3 Dev] Reading Tags into a Database Message-ID: <681396.53157.qm@web31608.mail.mud.yahoo.com> Hey, thanks, Mike. Yes, the command-line approach is just fine with me, if it gets me where I want to go. I'll have to explore this approach, too, this weekend. I have a feeling I'll learn a lot more about id3 tags and mp3 files in the process. And, yes, I just might have to check out MuzikBrowzer, too. Looks like a nice product. Appreciatively, John From: Michael Makuch To: id3v2 at id3.org Cc: Sent: Tuesday, January 11, 2011 10:45:14 AM Subject: Re: [ID3 Dev] Reading Tags into a Database If you prefer command line & scripting to GUIs I have 2 command line utilities I use; id3 and mbtag.exe id3 is based on the prog that's in the id3lib source, modified to my liking. mbtag.exe (win only) is also based similarly on id3lib, but it also does read/writing of .ogg, .wma, and .flac. id3 src: http://www.muzikbrowzer.com/dl/id3.zip (requires id3lib) mbtag.exe http://www.muzikbrowzer.com/dl/mbtag.zip (no installer, just a command line exe) mbtag.exe also comes along with Muzikbrowzer when you install it http://www.muzikbrowzer.com/ Below are the usage of both utils. Cheers Mike $ id3 id3 [options] # w/out options display tag info. options: -v # id3 version (1 or 2) -dt # delete tag (version 1 or 2 if specified else both -df # delete tag field -ds # delete some fields -getart # getart, writes to -TCON # genre -TPE1 # artist -TALB # album -TIT2 # title -TRCK # track -TLEN # length -TYER # year -TPOS # part in set -TPUB # publisher -UFID # ufid -TMED # dig... -COMM # comment -APIC # art file, reads from $ ./mbtag.exe -help mbtag from Muzikbrowzer www.muzikbrowzer.com Standalone command line tag editor/viewer. Feel free to distribute mbtag.exe. usage: mbtag [options] # w/out options display tag info. options: -k # key, use with -v -v # val, use with -k to set key/val -dt # delete tag -df # delete tag field -c # display comments only (COMM, COMMENTS, DESCRIPTION -getart # gets art from tag, writes to (mp3/ogg) -setart # read from , add to tag (mp3/ogg) -help # full help Examples: Set Genre: mbtag -k TCON -v "Texas Rock" Fandango.mp3 mbtag -k GENRE -v RockAndRollBaby ElvisLives.flac Set Artist: mbtag -k WM/AlbumArtist -v RockAndRollBaby ElvisLives.wma mbtag -k ARTIST -v "The King" ElvisLives.ogg mbtag -k TPE1 -v "XYZZY" TwistyLittleMaze.mp3 id3 keys converted to appropriate corresponding key when used on ogg, flac, wma files. Example: mbtag -k TCON -v "Classical" BethovensFifth.ogg is converted to mbtag -k GENRE -v "Classical" BethovensFifth.ogg id3 keys supported: TCON,TPE1,TALB,TIT2,TRCK,TYER,COMM ogg, flac, wma: anything goes For wma's only type STRING fields are supported. On 1/11/2011 7:00 AM, John Slane wrote: Beautiful. > That is very useful info. > >> I very much look forward to trying this out during the > coming weekend. It looks like it may give me much more > flexibility in organizing my library than can be achieved > with the popular library/player packages. > >> Thanks very much for taking time to help me. > > > >From: > Peter Bennett >To: John > Slane >Cc: "id3v2 at id3.org" >Sent: > Monday, January 10, 2011 8:36:32 PM >Subject: > Re: [ID3 Dev] Reading Tags into a Database > > > > Jampal writes to the windows registry using the java > preferences API. > It only uses the registry for the most recently used list > for the > "File" "Open" menu. It uses a key of > "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\pgbennett\jampal". > If you > are running on Linux or Unix it uses a file in your home > directory for > this purpose instead. >> All other options are either written to the library file > itself or to > jampal-initial.properties in a .jampal directory that is > created in > your home directory in windows or Unix. >> If there are any frames that Jampal does not support or > understand, it > leaves them untouched. You can use jampal to delete > unsupported frames > but not to add or update them. >> The command line program tagupdate follows the same rules > and uses the > same code as the GUI. >> Peter > > > >> On 1/10/2011 12:56 PM, John Slane wrote: > >Thank >>you >> very much for the head-up on your program. I have >> cruised through >> SourceForge and other favorite resources, looking >> for something like >> this. I don't know how I missed it. I look >> forward to giving this a >> go during the coming weekend. >> >>>> Although I will figure it out eventually, perhaps >> you can comment -- if >> you have time: >> >>>> 1) Does the program write to the Windows registry? >> >>>> 2) mp3Gain writes (if I remember correctly) to APE >> tags. Could those >> be affected/corrupted in any way through use of >> jampal? >> >>>> Once again, thanks for helping me out on this one. >> >>>> John >> >> >> >>From: >> Peter >> Bennett >>To: id3v2 at id3.org; >> John Slane ; >> Chris Morton >> >>Cc: >>Sent: >> Saturday, >> January 8, 2011 1:44:48 PM >>Subject: >> Re: [ID3 Dev] >> Reading Tags into a Database >> >> >> >> You can download my program Jampal ( >> http://jampal.sf.net ). This >> creates a library from your mp3 files. The >> library can be customized to >> contain any combination of mp3 frames you >> specify. The libraray is a >> file with extension jmp and is a csv (comma >> separated text file) >> encoded with UTF-8. If you can read a comma >> separated file this can do >> what you want. Also there is a command line >> program included with >> Jampal, TagUpdate, which can print the full >> contents of tags, also can >> update them. The print output would have to be >> parsed to be usable for >> importing to SQL. >> >>>> Peter >> >> >>>> On 1/4/2011 1:55 PM, John Slane wrote: >> >>Thanks, Chris. >>> Boy, those are some great sites! I haven't >>> yet found my answer to my >>> original question, but I've found lots of >>> other really interesting >>> stuff. I'll do some better digging in those >>> sites tonight. >>> >>>>>> Again, thanks. >>> >>>>>> ps. I have learned that Mp3tag can export >>> CSV, and that TkSQLite can >>> import CSV. So maybe there is a combo of >>> these that will create my ID3 >>> database. >>> >>> >>> >>>From: >>> Chris >>> Morton >>>To: id3v2 at id3.org >>>Cc: >>>Sent: >>> Tuesday, >>> January >>> 4, 2011 1:03:33 PM >>>Subject: >>> Re: [ID3 >>> Dev] >>> Reading Tags into a Database >>> >>> >>>I don't have an answer, but >>> you might also try the crowds >>> over at: >>> >>>http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 >>> >>>http://anythingbutipod.com/forum/forumdisplay.php?f=23 >>> >>>and >>> >>>http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 >>> >>>> Chris >>> >>> >>> >>>>>> >>>On >>> Tue, Jan 4, >>> 2011 at 9:54 AM, >>> John Slane >>> wrote: >>> >>>I hope this >>>> is >>>> a >>>> legitimate question for this >>>> mailing list. Given the >>>> audience, I >>>> figured it was worth a shot. >>>> >>>>>>>> Does anyone know of a software >>>> program (preferably free) that >>>> will read >>>> the ID3 tags from a Windows >>>> folder full of mp3 files and >>>> pump them into >>>> something like an SQLite >>>> database? It would be >>>> important to also >>>> capture the path to each file >>>> file location. >>>> >>>>>>>> I can do this using popular >>>> software like MediaMonkey, >>>> since its >>>> "Library" is an SQLite >>>> database that contains the ID3 >>>> info and path >>>> info for each file selected. >>>> Songbird also creates an >>>> SQLite DB. But >>>> these are big programs >>>> containing players and other >>>> baggage. >>>> >>>>>>>> Is there something out there >>>> that will just collect the tag >>>> and path >>>> info, and arrange it into a >>>> searchable/sortable database? >>>> >>>>>>>> Thanks! >>>> >>>> >>> >>> >>> >>> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From panicker.binu at gmail.com Wed Jan 26 09:08:15 2011 From: panicker.binu at gmail.com (Binu Panicker) Date: Wed, 26 Jan 2011 12:08:15 -0500 Subject: [ID3 Dev] Need Information Regarding Indian Classical Music Tags Message-ID: Hello, I'm new here and trying to get some infromation on: a) How can the id3v2 tags support some of the requirements from the Indian Classical Music? b) Is there a process to add standard tags to the specs so that future applications and hardware will be aware of these? For e.g: Most listeners of Indian Classsical Music love to search and categorize the songs based on two baisc Tags: a) RAGA b) TALA In addition to singer and composer. I tried using Mp3Tag software to add these extended TAGS to the songs. But these tags are never identified in apps like ITuens or Windows Media Player or WinAmp. Could someone share viewpoints to this observation? Regards, Binu M Panicker -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaslane64 at yahoo.com Tue Jan 4 09:54:23 2011 From: jaslane64 at yahoo.com (John Slane) Date: Tue, 4 Jan 2011 09:54:23 -0800 (PST) Subject: [ID3 Dev] Reading Tags into a Database Message-ID: <505789.92164.qm@web31605.mail.mud.yahoo.com> I hope this is a legitimate question for this mailing list. Given the audience, I figured it was worth a shot. Does anyone know of a software program (preferably free) that will read the ID3 tags from a Windows folder full of mp3 files and pump them into something like an SQLite database? It would be important to also capture the path to each file file location. I can do this using popular software like MediaMonkey, since its "Library" is an SQLite database that contains the ID3 info and path info for each file selected. Songbird also creates an SQLite DB. But these are big programs containing players and other baggage. Is there something out there that will just collect the tag and path info, and arrange it into a searchable/sortable database? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgbennett at comcast.net Sat Jan 8 10:44:48 2011 From: pgbennett at comcast.net (Peter Bennett) Date: Sat, 08 Jan 2011 13:44:48 -0500 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <520329.93729.qm@web31606.mail.mud.yahoo.com> References: <520329.93729.qm@web31606.mail.mud.yahoo.com> Message-ID: <4D28B0A0.7080208@comcast.net> You can download my program Jampal ( http://jampal.sf.net ). This creates a library from your mp3 files. The library can be customized to contain any combination of mp3 frames you specify. The libraray is a file with extension jmp and is a csv (comma separated text file) encoded with UTF-8. If you can read a comma separated file this can do what you want. Also there is a command line program included with Jampal, TagUpdate, which can print the full contents of tags, also can update them. The print output would have to be parsed to be usable for importing to SQL. Peter On 1/4/2011 1:55 PM, John Slane wrote: > Thanks, Chris. Boy, those are some great sites! I haven't yet found > my answer to my original question, but I've found lots of other really > interesting stuff. I'll do some better digging in those sites tonight. > > Again, thanks. > > ps. I have learned that Mp3tag can export CSV, and that TkSQLite can > import CSV. So maybe there is a combo of these that will create my > ID3 database. > > *From:* Chris Morton > *To:* id3v2 at id3.org > *Cc:* > *Sent:* Tuesday, January 4, 2011 1:03:33 PM > *Subject:* Re: [ID3 Dev] Reading Tags into a Database > > /I don't have an answer, but you might also try the crowds over at:/ > http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 > http://anythingbutipod.com/forum/forumdisplay.php?f=23 > /and/ > http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 > /> Chris/ > > > On Tue, Jan 4, 2011 at 9:54 AM, John Slane > wrote: > > I hope this is a legitimate question for this mailing list. Given > the audience, I figured it was worth a shot. > > Does anyone know of a software program (preferably free) that will > read the ID3 tags from a Windows folder full of mp3 files and pump > them into something like an SQLite database? It would be > important to also capture the path to each file file location. > > I can do this using popular software like MediaMonkey, since its > "Library" is an SQLite database that contains the ID3 info and > path info for each file selected. Songbird also creates an SQLite > DB. But these are big programs containing players and other baggage. > > Is there something out there that will just collect the tag and > path info, and arrange it into a searchable/sortable database? > > Thanks! > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgbennett at comcast.net Mon Jan 10 17:36:32 2011 From: pgbennett at comcast.net (Peter Bennett) Date: Mon, 10 Jan 2011 20:36:32 -0500 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <52322.34355.qm@web31604.mail.mud.yahoo.com> References: <52322.34355.qm@web31604.mail.mud.yahoo.com> Message-ID: <4D2BB420.30508@comcast.net> Jampal writes to the windows registry using the java preferences API. It only uses the registry for the most recently used list for the "File" "Open" menu. It uses a key of "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\pgbennett\jampal". If you are running on Linux or Unix it uses a file in your home directory for this purpose instead. All other options are either written to the library file itself or to jampal-initial.properties in a .jampal directory that is created in your home directory in windows or Unix. If there are any frames that Jampal does not support or understand, it leaves them untouched. You can use jampal to delete unsupported frames but not to add or update them. The command line program tagupdate follows the same rules and uses the same code as the GUI. Peter On 1/10/2011 12:56 PM, John Slane wrote: > Thank you very much for the head-up on your program. I have cruised > through SourceForge and other favorite resources, looking for > something like this. I don't know how I missed it. I look forward to > giving this a go during the coming weekend. > > Although I will figure it out eventually, perhaps you can comment -- > if you have time: > > 1) Does the program write to the Windows registry? > > 2) mp3Gain writes (if I remember correctly) to APE tags. Could those > be affected/corrupted in any way through use of jampal? > > Once again, thanks for helping me out on this one. > > John > > *From:* Peter Bennett > *To:* id3v2 at id3.org; John Slane ; Chris Morton > > *Cc:* > *Sent:* Saturday, January 8, 2011 1:44:48 PM > *Subject:* Re: [ID3 Dev] Reading Tags into a Database > > You can download my program Jampal ( http://jampal.sf.net ). This > creates a library from your mp3 files. The library can be customized > to contain any combination of mp3 frames you specify. The libraray is > a file with extension jmp and is a csv (comma separated text file) > encoded with UTF-8. If you can read a comma separated file this can do > what you want. Also there is a command line program included with > Jampal, TagUpdate, which can print the full contents of tags, also can > update them. The print output would have to be parsed to be usable for > importing to SQL. > > Peter > > > On 1/4/2011 1:55 PM, John Slane wrote: >> Thanks, Chris. Boy, those are some great sites! I haven't yet found >> my answer to my original question, but I've found lots of other >> really interesting stuff. I'll do some better digging in those sites >> tonight. >> >> Again, thanks. >> >> ps. I have learned that Mp3tag can export CSV, and that TkSQLite can >> import CSV. So maybe there is a combo of these that will create my >> ID3 database. >> >> *From:* Chris Morton >> >> *To:* id3v2 at id3.org >> *Cc:* >> *Sent:* Tuesday, January 4, 2011 1:03:33 PM >> *Subject:* Re: [ID3 Dev] Reading Tags into a Database >> >> /I don't have an answer, but you might also try the crowds over at:/ >> http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 >> http://anythingbutipod.com/forum/forumdisplay.php?f=23 >> /and/ >> http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 >> /> Chris/ >> >> >> On Tue, Jan 4, 2011 at 9:54 AM, John Slane > > wrote: >> >> I hope this is a legitimate question for this mailing list. >> Given the audience, I figured it was worth a shot. >> >> Does anyone know of a software program (preferably free) that >> will read the ID3 tags from a Windows folder full of mp3 files >> and pump them into something like an SQLite database? It would >> be important to also capture the path to each file file location. >> >> I can do this using popular software like MediaMonkey, since its >> "Library" is an SQLite database that contains the ID3 info and >> path info for each file selected. Songbird also creates an >> SQLite DB. But these are big programs containing players and >> other baggage. >> >> Is there something out there that will just collect the tag and >> path info, and arrange it into a searchable/sortable database? >> >> Thanks! >> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kevin.gross at avanw.com Tue Jan 4 12:59:58 2011 From: kevin.gross at avanw.com (Kevin Gross) Date: Tue, 4 Jan 2011 13:59:58 -0700 Subject: [ID3 Dev] Replay Gain and ID3 Message-ID: <003c01cbac52$593e4520$0bbacf60$@gross@avanw.com> ID3 developers may be interested in an effort going on at hydrogenaudio.org to update the Replay Gain specification. Specifically, there is discussion of the various means for storing Replay Gain metadata in ID3v2 tags in this thread - http://www.hydrogenaudio.org/forums/index.php?showtopic=85834 Kevin Gross -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgbennett at comcast.net Thu Jan 27 14:59:35 2011 From: pgbennett at comcast.net (Peter Bennett) Date: Thu, 27 Jan 2011 17:59:35 -0500 Subject: [ID3 Dev] Need Information Regarding Indian Classical Music Tags In-Reply-To: References: Message-ID: <4D41F8D7.8040602@comcast.net> Most player programs only use a very small subset of the frames. That would not change if more frame types were available. You can add user defined text frames or comment frames to put you own particular data in, but most player software will not do anything with them. You can try my program jampal (http://jampal.sf.net). It can add frames of most types to songs. You can create any number of user defined text frames. You can customize the library display to include your user defined frames, then you can sort on these frames, search on them, create playlists based on them, etc. Jampal can play your songs as well. Peter On 1/26/2011 12:08 PM, Binu Panicker wrote: > Hello, > I'm new here and trying to get some infromation on: > a) How can the id3v2 tags support some of the requirements from the > Indian Classical Music? > b) Is there a process to add standard tags to the specs so that future > applications and hardware will be aware of these? > For e.g: Most listeners of Indian Classsical Music love to search and > categorize the songs based on two baisc Tags: > a) RAGA > b) TALA > In addition to singer and composer. I tried using Mp3Tag software to > add these extended TAGS to the songs. But these tags are never > identified in apps like ITuens or Windows Media Player or WinAmp. > Could someone share viewpoints to this observation? > Regards, > Binu M Panicker --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From jaslane64 at yahoo.com Mon Jan 10 09:56:37 2011 From: jaslane64 at yahoo.com (John Slane) Date: Mon, 10 Jan 2011 09:56:37 -0800 (PST) Subject: [ID3 Dev] Reading Tags into a Database Message-ID: <52322.34355.qm@web31604.mail.mud.yahoo.com> Thank you very much for the head-up on your program. I have cruised through SourceForge and other favorite resources, looking for something like this. I don't know how I missed it. I look forward to giving this a go during the coming weekend. Although I will figure it out eventually, perhaps you can comment -- if you have time: 1) Does the program write to the Windows registry? 2) mp3Gain writes (if I remember correctly) to APE tags. Could those be affected/corrupted in any way through use of jampal? Once again, thanks for helping me out on this one. John From: Peter Bennett To: id3v2 at id3.org; John Slane ; Chris Morton Cc: Sent: Saturday, January 8, 2011 1:44:48 PM Subject: Re: [ID3 Dev] Reading Tags into a Database You can download my program Jampal ( http://jampal.sf.net ). This creates a library from your mp3 files. The library can be customized to contain any combination of mp3 frames you specify. The libraray is a file with extension jmp and is a csv (comma separated text file) encoded with UTF-8. If you can read a comma separated file this can do what you want. Also there is a command line program included with Jampal, TagUpdate, which can print the full contents of tags, also can update them. The print output would have to be parsed to be usable for importing to SQL. Peter On 1/4/2011 1:55 PM, John Slane wrote: Thanks, Chris. >Boy, those are some great sites! I haven't yet found my answer to my >original question, but I've found lots of other really interesting >stuff. I'll do some better digging in those sites tonight. > >>Again, thanks. > >>ps. I have learned that Mp3tag can export CSV, and that TkSQLite can >import CSV. So maybe there is a combo of these that will create my ID3 >database. > > > >From: Chris >Morton >To: id3v2 at id3.org >Cc: >Sent: Tuesday, January >4, 2011 1:03:33 PM >Subject: Re: [ID3 Dev] >Reading Tags into a Database > > >I don't have an answer, but you might also try the crowds >over at: > >http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 > >http://anythingbutipod.com/forum/forumdisplay.php?f=23 > >and > >http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 > >> Chris > > > >> >On Tue, Jan 4, 2011 at 9:54 AM, >John Slane >wrote: > >I hope this is a >>legitimate question for this mailing list. Given the audience, I >>figured it was worth a shot. >> >>>>Does anyone know of a software program (preferably free) that will read >>the ID3 tags from a Windows folder full of mp3 files and pump them into >>something like an SQLite database? It would be important to also >>capture the path to each file file location. >> >>>>I can do this using popular software like MediaMonkey, since its >>"Library" is an SQLite database that contains the ID3 info and path >>info for each file selected. Songbird also creates an SQLite DB. But >>these are big programs containing players and other baggage. >> >>>>Is there something out there that will just collect the tag and path >>info, and arrange it into a searchable/sortable database? >> >>>>Thanks! >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pgbennett at comcast.net Thu Jan 27 15:26:58 2011 From: pgbennett at comcast.net (Peter Bennett) Date: Thu, 27 Jan 2011 18:26:58 -0500 Subject: [ID3 Dev] My mp3 tagging code can't handle Unicode tags In-Reply-To: <348277.14775.qm@web86504.mail.ird.yahoo.com> References: <348277.14775.qm@web86504.mail.ird.yahoo.com> Message-ID: <4D41FF42.4000209@comcast.net> It looks like you have ASCII but the encoding specifies unicode. If the way the text is encoded does not match the contents, you will get this. Encoding must be 00 or 01. If it is 00 you must have ascii characters, if it is 01 you must have unicode. If you use 01 with ascii characters you will see the problem that you have. You really need to determine whether the song requires unicode or not. If it only uses standard ascii characters you can encode with ascii, other wise you should use Unicode. Here is my code that does this in java. Note that for ID3v2.3 only encoding types 01 and 1 are valid("ISO-8859-1" and "UTF16"). the other two values are valid for ID3V2.4, which is not widely supported, so I do not recommend using them. static final String[] ENC_TYPES = {"ISO-8859-1", "UTF16", "UTF-16BE", "UTF-8"}; // Attempt to encode in encoding 0, if not possible use encoding 1 static public byte [] encodeString(String source, byte[] encodingB) throws UnsupportedEncodingException { byte [] result = source.getBytes(ENC_TYPES[encodingB[0]]); if (encodingB[0] == 0) { String checkResult = new String(result,ENC_TYPES[encodingB[0]]); if (!source.equals(checkResult)) { encodingB[0] = 1; result = source.getBytes(ENC_TYPES[encodingB[0]]); } } return result; } On 1/27/2011 10:07 AM, Louis Coder wrote: > Hi. > > I am Louis. I wrote some code to tag ID3v2.2 and 2.3 mp3 files. > The tagging code worked over years, but now some people came up with Unicode tags and my tagging code does not WRITE those Unicode tags correctly. > > Please have a look at this screen shot I made from my Windows desktop: > > www.louis-coder.com/ID3/ID3v2_TAG_WRITING_ERROR.png > > In the Background, there's the Windows explorer showing the content of two mp3 files. The one is the original file and the other (... - Kopie [that means copy]) is the same file where the tag was once read and instantly written back by my tagging code. > > As you see, the tag was destroyed by my code, the Explorer only displays Chinese chars. > > You also see a hex editor showing the beginning of both files. > > QUESTION: DO YOU FIND ANY ERROR IN THE TAG OF "2 Pac& Notorious B.I.G - Running (Dying To Live) (#1) - Kopie.mp3" ??? > > You can download both mp3s here: > > www.louis-coder.com/ID3/2 Pac& Notorious B.I.G - Running (Dying To Live) (#1) - Kopie.mp3 > www.louis-coder.com/ID3/2 Pac& Notorious B.I.G - Running (Dying To Live) (#1).mp3 > > (please do not share or listen to these files, just watch the tag). > > Note that the copy ("- Kopie") is the file where the tag was damaged by my code. Note that the ASCII codes the hex editor shows are hexadecimal, that means '32' is no space char (which has ASCII code 32) but a char with ASCII code 50 (3*16+2=50, of course). > > Note that my tagging code tried to write back the tag as ASCII tag (although it was read as Unicode tag). Maybe (!) the Windows Explorer thinks it still would be Unicode, but why??? > > Please help!!! > > Thanks a lot, > > Louis > > PS: if you need the tagging code, I'll send it to you, or you download it here: > > http://www.louis-coder.com/CodeSection/GFMP3.zip > > (Maybe not the cleanest code, but it worked fine for years). > > > THANKS AGAIN!!! > > Louis Coder - www.louis-coder.com > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: id3v2-unsubscribe at id3.org > For additional commands, e-mail: id3v2-help at id3.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From visual_basic_louis at yahoo.com Thu Jan 27 07:07:45 2011 From: visual_basic_louis at yahoo.com (Louis Coder) Date: Thu, 27 Jan 2011 15:07:45 +0000 (GMT) Subject: [ID3 Dev] My mp3 tagging code can't handle Unicode tags Message-ID: <348277.14775.qm@web86504.mail.ird.yahoo.com> Hi. I am Louis. I wrote some code to tag ID3v2.2 and 2.3 mp3 files. The tagging code worked over years, but now some people came up with Unicode tags and my tagging code does not WRITE those Unicode tags correctly. Please have a look at this screen shot I made from my Windows desktop: www.louis-coder.com/ID3/ID3v2_TAG_WRITING_ERROR.png In the Background, there's the Windows explorer showing the content of two mp3 files. The one is the original file and the other (... - Kopie [that means copy]) is the same file where the tag was once read and instantly written back by my tagging code. As you see, the tag was destroyed by my code, the Explorer only displays Chinese chars. You also see a hex editor showing the beginning of both files. QUESTION: DO YOU FIND ANY ERROR IN THE TAG OF "2 Pac & Notorious B.I.G - Running (Dying To Live) (#1) - Kopie.mp3" ??? You can download both mp3s here: www.louis-coder.com/ID3/2 Pac & Notorious B.I.G - Running (Dying To Live) (#1) - Kopie.mp3 www.louis-coder.com/ID3/2 Pac & Notorious B.I.G - Running (Dying To Live) (#1).mp3 (please do not share or listen to these files, just watch the tag). Note that the copy ("- Kopie") is the file where the tag was damaged by my code. Note that the ASCII codes the hex editor shows are hexadecimal, that means '32' is no space char (which has ASCII code 32) but a char with ASCII code 50 (3*16+2=50, of course). Note that my tagging code tried to write back the tag as ASCII tag (although it was read as Unicode tag). Maybe (!) the Windows Explorer thinks it still would be Unicode, but why??? Please help!!! Thanks a lot, Louis PS: if you need the tagging code, I'll send it to you, or you download it here: http://www.louis-coder.com/CodeSection/GFMP3.zip (Maybe not the cleanest code, but it worked fine for years). THANKS AGAIN!!! Louis Coder - www.louis-coder.com --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From salt.morton at gmail.com Tue Jan 4 10:03:33 2011 From: salt.morton at gmail.com (Chris Morton) Date: Tue, 4 Jan 2011 10:03:33 -0800 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <505789.92164.qm@web31605.mail.mud.yahoo.com> References: <505789.92164.qm@web31605.mail.mud.yahoo.com> Message-ID: *I don't have an answer, but you might also try the crowds over at:* http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 http://anythingbutipod.com/forum/forumdisplay.php?f=23 *and* http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 *> Chris* On Tue, Jan 4, 2011 at 9:54 AM, John Slane wrote: > I hope this is a legitimate question for this mailing list. Given the > audience, I figured it was worth a shot. > > Does anyone know of a software program (preferably free) that will read the > ID3 tags from a Windows folder full of mp3 files and pump them into > something like an SQLite database? It would be important to also capture > the path to each file file location. > > I can do this using popular software like MediaMonkey, since its "Library" > is an SQLite database that contains the ID3 info and path info for each file > selected. Songbird also creates an SQLite DB. But these are big programs > containing players and other baggage. > > Is there something out there that will just collect the tag and path info, > and arrange it into a searchable/sortable database? > > Thanks! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul_t100 at fastmail.fm Sat Jan 8 12:16:30 2011 From: paul_t100 at fastmail.fm (Paul Taylor) Date: Sat, 08 Jan 2011 20:16:30 +0000 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <505789.92164.qm@web31605.mail.mud.yahoo.com> References: <505789.92164.qm@web31605.mail.mud.yahoo.com> Message-ID: <4D28C61E.7040702@fastmail.fm> On 04/01/2011 17:54, John Slane wrote: > I hope this is a legitimate question for this mailing list. Given the > audience, I figured it was worth a shot. > > Does anyone know of a software program (preferably free) that will > read the ID3 tags from a Windows folder full of mp3 files and pump > them into something like an SQLite database? It would be important to > also capture the path to each file file location. > > I can do this using popular software like MediaMonkey, since its > "Library" is an SQLite database that contains the ID3 info and path > info for each file selected. Songbird also creates an SQLite DB. But > these are big programs containing players and other baggage. > > Is there something out there that will just collect the tag and path > info, and arrange it into a searchable/sortable database? > > Thanks! > You could try out my Jaikoz application http://www.jthink.net/jaikoz, its not free but there is a free trial , just load your songs and select Advanced/Export.. to export as a csv or .xls file Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmlafora at telefonica.net Sat Jan 8 13:05:11 2011 From: jmlafora at telefonica.net (=?iso-8859-1?Q?Jos=E9_M=AA_Lafora?=) Date: Sat, 8 Jan 2011 22:05:11 +0100 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <4D28C61E.7040702@fastmail.fm> References: <505789.92164.qm@web31605.mail.mud.yahoo.com> <4D28C61E.7040702@fastmail.fm> Message-ID: <000601cbaf77$be730890$3b5919b0$@net> Get Mp3tag (latest version is 2.47b) from http://www.mp3tag.de/en/ Excellent programme indeed and free! Then you can export to csv, html, etc. Regards, Jos? De: Paul Taylor [mailto:paul_t100 at fastmail.fm] Enviado el: s?bado, 08 de enero de 2011 21:17 Para: id3v2 at id3.org Asunto: Re: [ID3 Dev] Reading Tags into a Database On 04/01/2011 17:54, John Slane wrote: I hope this is a legitimate question for this mailing list. Given the audience, I figured it was worth a shot. Does anyone know of a software program (preferably free) that will read the ID3 tags from a Windows folder full of mp3 files and pump them into something like an SQLite database? It would be important to also capture the path to each file file location. I can do this using popular software like MediaMonkey, since its "Library" is an SQLite database that contains the ID3 info and path info for each file selected. Songbird also creates an SQLite DB. But these are big programs containing players and other baggage. Is there something out there that will just collect the tag and path info, and arrange it into a searchable/sortable database? Thanks! You could try out my Jaikoz application http://www.jthink.net/jaikoz, its not free but there is a free trial , just load your songs and select Advanced/Export.. to export as a csv or .xls file Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at muzikbrowzer.com Tue Jan 11 07:45:14 2011 From: mike at muzikbrowzer.com (Michael Makuch) Date: Tue, 11 Jan 2011 09:45:14 -0600 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <307442.46697.qm@web31602.mail.mud.yahoo.com> References: <307442.46697.qm@web31602.mail.mud.yahoo.com> Message-ID: <4D2C7B0A.6070703@muzikbrowzer.com> If you prefer command line & scripting to GUIs I have 2 command line utilities I use; id3 and mbtag.exe id3 is based on the prog that's in the id3lib source, modified to my liking. mbtag.exe (win only) is also based similarly on id3lib, but it also does read/writing of .ogg, .wma, and .flac. id3 src: http://www.muzikbrowzer.com/dl/id3.zip (requires id3lib) mbtag.exe http://www.muzikbrowzer.com/dl/mbtag.zip (no installer, just a command line exe) mbtag.exe also comes along with Muzikbrowzer when you install it http://www.muzikbrowzer.com/ Below are the usage of both utils. Cheers Mike $ id3 id3 [options] # w/out options display tag info. options: -v # id3 version (1 or 2) -dt # delete tag (version 1 or 2 if specified else both -df # delete tag field -ds # delete some fields -getart # getart, writes to -TCON # genre -TPE1 # artist -TALB # album -TIT2 # title -TRCK # track -TLEN # length -TYER # year -TPOS # part in set -TPUB # publisher -UFID # ufid -TMED # dig... -COMM # comment -APIC # art file, reads from $ ./mbtag.exe -help mbtag from Muzikbrowzer www.muzikbrowzer.com Standalone command line tag editor/viewer. Feel free to distribute mbtag.exe. usage: mbtag [options] # w/out options display tag info. options: -k # key, use with -v -v # val, use with -k to set key/val -dt # delete tag -df # delete tag field -c # display comments only (COMM, COMMENTS, DESCRIPTION -getart # gets art from tag, writes to (mp3/ogg) -setart # read from , add to tag (mp3/ogg) -help # full help Examples: Set Genre: mbtag -k TCON -v "Texas Rock" Fandango.mp3 mbtag -k GENRE -v RockAndRollBaby ElvisLives.flac Set Artist: mbtag -k WM/AlbumArtist -v RockAndRollBaby ElvisLives.wma mbtag -k ARTIST -v "The King" ElvisLives.ogg mbtag -k TPE1 -v "XYZZY" TwistyLittleMaze.mp3 id3 keys converted to appropriate corresponding key when used on ogg, flac, wma files. Example: mbtag -k TCON -v "Classical" BethovensFifth.ogg is converted to mbtag -k GENRE -v "Classical" BethovensFifth.ogg id3 keys supported: TCON,TPE1,TALB,TIT2,TRCK,TYER,COMM ogg, flac, wma: anything goes For wma's only type STRING fields are supported. On 1/11/2011 7:00 AM, John Slane wrote: > Beautiful. That is very useful info. > > I very much look forward to trying this out during the coming weekend. It > looks like it may give me much more flexibility in organizing my library than > can be achieved with the popular library/player packages. > > Thanks very much for taking time to help me. > > *From:* Peter Bennett > *To:* John Slane > *Cc:* "id3v2 at id3.org" > *Sent:* Monday, January 10, 2011 8:36:32 PM > *Subject:* Re: [ID3 Dev] Reading Tags into a Database > > Jampal writes to the windows registry using the java preferences API. It only > uses the registry for the most recently used list for the "File" "Open" menu. > It uses a key of "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\pgbennett\jampal". > If you are running on Linux or Unix it uses a file in your home directory for > this purpose instead. > All other options are either written to the library file itself or to > jampal-initial.properties in a .jampal directory that is created in your home > directory in windows or Unix. > If there are any frames that Jampal does not support or understand, it leaves > them untouched. You can use jampal to delete unsupported frames but not to add > or update them. > The command line program tagupdate follows the same rules and uses the same > code as the GUI. > Peter > > > > On 1/10/2011 12:56 PM, John Slane wrote: >> Thank you very much for the head-up on your program. I have cruised through >> SourceForge and other favorite resources, looking for something like this. I >> don't know how I missed it. I look forward to giving this a go during the >> coming weekend. >> >> Although I will figure it out eventually, perhaps you can comment -- if you >> have time: >> >> 1) Does the program write to the Windows registry? >> >> 2) mp3Gain writes (if I remember correctly) to APE tags. Could those be >> affected/corrupted in any way through use of jampal? >> >> Once again, thanks for helping me out on this one. >> >> John >> >> *From:* Peter Bennett >> *To:* id3v2 at id3.org ; John Slane >> ; Chris Morton >> >> *Cc:* >> *Sent:* Saturday, January 8, 2011 1:44:48 PM >> *Subject:* Re: [ID3 Dev] Reading Tags into a Database >> >> You can download my program Jampal ( http://jampal.sf.net ). This creates a >> library from your mp3 files. The library can be customized to contain any >> combination of mp3 frames you specify. The libraray is a file with extension >> jmp and is a csv (comma separated text file) encoded with UTF-8. If you can >> read a comma separated file this can do what you want. Also there is a >> command line program included with Jampal, TagUpdate, which can print the >> full contents of tags, also can update them. The print output would have to >> be parsed to be usable for importing to SQL. >> >> Peter >> >> >> On 1/4/2011 1:55 PM, John Slane wrote: >>> Thanks, Chris. Boy, those are some great sites! I haven't yet found my >>> answer to my original question, but I've found lots of other really >>> interesting stuff. I'll do some better digging in those sites tonight. >>> >>> Again, thanks. >>> >>> ps. I have learned that Mp3tag can export CSV, and that TkSQLite can import >>> CSV. So maybe there is a combo of these that will create my ID3 database. >>> >>> *From:* Chris Morton >>> *To:* id3v2 at id3.org >>> *Cc:* >>> *Sent:* Tuesday, January 4, 2011 1:03:33 PM >>> *Subject:* Re: [ID3 Dev] Reading Tags into a Database >>> >>> /I don't have an answer, but you might also try the crowds over at:/ >>> >>> http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 >>> >>> http://anythingbutipod.com/forum/forumdisplay.php?f=23 >>> >>> /and/ >>> >>> http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 >>> >>> /> Chris/ >>> >>> >>> >>> >>> On Tue, Jan 4, 2011 at 9:54 AM, John Slane >> > wrote: >>> >>> I hope this is a legitimate question for this mailing list. Given the >>> audience, I figured it was worth a shot. >>> >>> Does anyone know of a software program (preferably free) that will read >>> the ID3 tags from a Windows folder full of mp3 files and pump them into >>> something like an SQLite database? It would be important to also >>> capture the path to each file file location. >>> >>> I can do this using popular software like MediaMonkey, since its >>> "Library" is an SQLite database that contains the ID3 info and path info >>> for each file selected. Songbird also creates an SQLite DB. But these >>> are big programs containing players and other baggage. >>> >>> Is there something out there that will just collect the tag and path >>> info, and arrange it into a searchable/sortable database? >>> >>> Thanks! >>> >>> >>> >>> >>> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaslane64 at yahoo.com Tue Jan 4 10:55:45 2011 From: jaslane64 at yahoo.com (John Slane) Date: Tue, 4 Jan 2011 10:55:45 -0800 (PST) Subject: [ID3 Dev] Reading Tags into a Database Message-ID: <520329.93729.qm@web31606.mail.mud.yahoo.com> Thanks, Chris. Boy, those are some great sites! I haven't yet found my answer to my original question, but I've found lots of other really interesting stuff. I'll do some better digging in those sites tonight. Again, thanks. ps. I have learned that Mp3tag can export CSV, and that TkSQLite can import CSV. So maybe there is a combo of these that will create my ID3 database. From: Chris Morton To: id3v2 at id3.org Cc: Sent: Tuesday, January 4, 2011 1:03:33 PM Subject: Re: [ID3 Dev] Reading Tags into a Database I don't have an answer, but you might also try the crowds over at: http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 http://anythingbutipod.com/forum/forumdisplay.php?f=23 and http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 > Chris On Tue, Jan 4, 2011 at 9:54 AM, John Slane wrote: I hope this is a legitimate question for this mailing list. Given the audience, I figured it was worth a shot. > >Does anyone know of a software program (preferably free) that will read the ID3 tags from a Windows folder full of mp3 files and pump them into something like an SQLite database? It would be important to also capture the path to each file file location. > >I can do this using popular software like MediaMonkey, since its "Library" is an SQLite database that contains the ID3 info and path info for each file selected. Songbird also creates an SQLite DB. But these are big programs containing players and other baggage. > >Is there something out there that will just collect the tag and path info, and arrange it into a searchable/sortable database? > >Thanks! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaslane64 at yahoo.com Tue Jan 11 05:00:15 2011 From: jaslane64 at yahoo.com (John Slane) Date: Tue, 11 Jan 2011 05:00:15 -0800 (PST) Subject: [ID3 Dev] Reading Tags into a Database Message-ID: <307442.46697.qm@web31602.mail.mud.yahoo.com> Beautiful. That is very useful info. I very much look forward to trying this out during the coming weekend. It looks like it may give me much more flexibility in organizing my library than can be achieved with the popular library/player packages. Thanks very much for taking time to help me. From: Peter Bennett To: John Slane Cc: "id3v2 at id3.org" Sent: Monday, January 10, 2011 8:36:32 PM Subject: Re: [ID3 Dev] Reading Tags into a Database Jampal writes to the windows registry using the java preferences API. It only uses the registry for the most recently used list for the "File" "Open" menu. It uses a key of "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\pgbennett\jampal". If you are running on Linux or Unix it uses a file in your home directory for this purpose instead. All other options are either written to the library file itself or to jampal-initial.properties in a .jampal directory that is created in your home directory in windows or Unix. If there are any frames that Jampal does not support or understand, it leaves them untouched. You can use jampal to delete unsupported frames but not to add or update them. The command line program tagupdate follows the same rules and uses the same code as the GUI. Peter On 1/10/2011 12:56 PM, John Slane wrote: Thank >you very much for the head-up on your program. I have cruised through >SourceForge and other favorite resources, looking for something like >this. I don't know how I missed it. I look forward to giving this a >go during the coming weekend. > >>Although I will figure it out eventually, perhaps you can comment -- if >you have time: > >>1) Does the program write to the Windows registry? > >>2) mp3Gain writes (if I remember correctly) to APE tags. Could those >be affected/corrupted in any way through use of jampal? > >>Once again, thanks for helping me out on this one. > >>John > > > >From: Peter >Bennett >To: id3v2 at id3.org; >John Slane ; Chris Morton > >Cc: >Sent: Saturday, >January 8, 2011 1:44:48 PM >Subject: Re: [ID3 Dev] >Reading Tags into a Database > > > >You can download my program Jampal ( http://jampal.sf.net ). This >creates a library from your mp3 files. The library can be customized to >contain any combination of mp3 frames you specify. The libraray is a >file with extension jmp and is a csv (comma separated text file) >encoded with UTF-8. If you can read a comma separated file this can do >what you want. Also there is a command line program included with >Jampal, TagUpdate, which can print the full contents of tags, also can >update them. The print output would have to be parsed to be usable for >importing to SQL. > >>Peter > > >>On 1/4/2011 1:55 PM, John Slane wrote: > >Thanks, Chris. >>Boy, those are some great sites! I haven't yet found my answer to my >>original question, but I've found lots of other really interesting >>stuff. I'll do some better digging in those sites tonight. >> >>>>Again, thanks. >> >>>>ps. I have learned that Mp3tag can export CSV, and that TkSQLite can >>import CSV. So maybe there is a combo of these that will create my ID3 >>database. >> >> >> >>From: >>Chris >>Morton >>To: id3v2 at id3.org >>Cc: >>Sent: Tuesday, >>January >>4, 2011 1:03:33 PM >>Subject: Re: [ID3 >>Dev] >>Reading Tags into a Database >> >> >>I don't have an answer, but you might also try the crowds >>over at: >> >>http://yabb.jriver.com/interact/index.php?PHPSESSID=8392cbc25b0419846a059bcac1e0e5a3&board=5.0 >> >>http://anythingbutipod.com/forum/forumdisplay.php?f=23 >> >>and >> >>http://forums.rockbox.org/index.php?PHPSESSID=bfbcac48f5553c499ecc8e2963cbe8e1&board=33.0 >> >>> Chris >> >> >> >>>> >>On Tue, Jan 4, >>2011 at 9:54 AM, >>John Slane >>wrote: >> >>I hope this is >>>a >>>legitimate question for this mailing list. Given the audience, I >>>figured it was worth a shot. >>> >>>>>>Does anyone know of a software program (preferably free) that will read >>>the ID3 tags from a Windows folder full of mp3 files and pump them into >>>something like an SQLite database? It would be important to also >>>capture the path to each file file location. >>> >>>>>>I can do this using popular software like MediaMonkey, since its >>>"Library" is an SQLite database that contains the ID3 info and path >>>info for each file selected. Songbird also creates an SQLite DB. But >>>these are big programs containing players and other baggage. >>> >>>>>>Is there something out there that will just collect the tag and path >>>info, and arrange it into a searchable/sortable database? >>> >>>>>>Thanks! >>> >>> >> >> >> >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From phibon at scarlet.be Tue Jan 4 10:12:52 2011 From: phibon at scarlet.be (Pascal Hibon) Date: Tue, 4 Jan 2011 19:12:52 +0100 Subject: [ID3 Dev] Reading Tags into a Database In-Reply-To: <505789.92164.qm@web31605.mail.mud.yahoo.com> References: <505789.92164.qm@web31605.mail.mud.yahoo.com> Message-ID: Hi John, If you only need a way to search for different information in the tags then I would use one of those music managers who are available for free. iTunes has a great interface when it comes to searching. The browser view has separate windows that allow quick searches for genre, artist and album. From the search field virtually any information can be searched for. Hope this helps. Regards, Pascal _____ From: John Slane [mailto:jaslane64 at yahoo.com] Sent: dinsdag 4 januari 2011 18:54 To: id3v2 at id3.org Subject: [ID3 Dev] Reading Tags into a Database I hope this is a legitimate question for this mailing list. Given the audience, I figured it was worth a shot. Does anyone know of a software program (preferably free) that will read the ID3 tags from a Windows folder full of mp3 files and pump them into something like an SQLite database? It would be important to also capture the path to each file file location. I can do this using popular software like MediaMonkey, since its "Library" is an SQLite database that contains the ID3 info and path info for each file selected. Songbird also creates an SQLite DB. But these are big programs containing players and other baggage. Is there something out there that will just collect the tag and path info, and arrange it into a searchable/sortable database? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: