From gerases at publicschoolworks.com Sat Dec 22 08:30:08 2007 From: gerases at publicschoolworks.com (Sergei Gerasenko) Date: Sat, 22 Dec 2007 11:30:08 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters Message-ID: <20071222163008.GB19006@localhost> Hi everybody, I just bought a Sony NWZ-A818 MP3 player and I have quite a music collection with cyrillic mp3 tags. After I transferred the collection to the player, it displayed everything that was Cyrillic with question marks. So, I thought, bummer, the thing doesn't understand Unicode. But as I was scrolling through the list, to my surprise I found a couple that were displayed correctly! I was very excited and became determined to find out what was different in those files that the player displayed correctly. I soon discovered that if I created a Cyrillic tag on Windows XP (using windows explorer), the player displayed the cyrillic characters correctly. If I took the same song and read the tag on Linux, the tag was also displayed correctly BUT if I edited and saved it on Linux (using Quod Libet, which uses a Python id3 library), the tag turned into question marks both on Windows and the player. So I reduced the tag to as little as possible to find the difference. I just left the artist name and made it 3 letters long "V??". Then I used a hex editor to read the tag. The only difference I saw was that Windows made the tag version to be 2.3, while the Linux made it 2.4. Also, Windows made the length of the artist name frame (TPE1) "09" and the Linux version made it 2 bytes longer "0b". Otherwise they are completely identical. Except also for a difference in the size of the whole tag: "1f76" and "0800" respectively. Here are the corresponding hex dumps: After editing on Windows ======================== sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 |ID3......vTPE1..| 00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 |.......V.>.?....| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * After editing on Linux ======================= sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 |ID3.......TPE1..| 00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 |.......V.>.?....| 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * This is where my expertise stops! Can someone figure out what's going on here? If anybody is interested, both files can be found below but my download speed is pretty bad. So please be patient. http://65.27.155.246/~sergei/windows_version.mp3 and http://65.27.155.246/~sergei/linux_version.mp3 Looking forward to your analysis! Thanks, Sergei --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From mathiaskunter at yahoo.de Tue Dec 25 14:04:33 2007 From: mathiaskunter at yahoo.de (Mathias Kunter) Date: Tue, 25 Dec 2007 22:04:33 +0000 (GMT) Subject: AW: [ID3 Dev] ratings Message-ID: <646499.29267.qm@web27010.mail.ukl.yahoo.com> >By the way, did you know that Microsoft has a patent on generating weighted playlists based on user ratings. >They patented it in, if I remember correctly, 2005 though many players have done it for long before then and the >idea has existed in the POPM specification for many years. The (software) patent law in the United States is a whole mess. It just helps big companies to ruin smaller ones, or even freeware or open source developers. US software patent law is *not* democratic. That's a shame in my opinion. Sorry that I missed the topic, but I just wanted to say that. Cheers, Mathias Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From longjan at hotmail.com Mon Dec 24 11:33:41 2007 From: longjan at hotmail.com (Jan De Kock) Date: Mon, 24 Dec 2007 20:33:41 +0100 Subject: [ID3 Dev] ratings In-Reply-To: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> References: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> Message-ID: <47700995.1080909@hotmail.com> Damian Langley wrote: > Question: > Why isn't there a "rating" tag under ID3v2? IE 0-5 stars as with many of > the players. Sure its implemented in Itunes and their ipod, but what > happens if someone wants to use a different device? Also moving the > music library is a pain because the ratings don't move with the files. > The ratings is how I create many lists, as well as mark songs for > deletion later (1 star). I think this would be well worth 3 bits in the > header. > > -- > life's short, live it Sounds to me like a good idea. I never use the ratings, so I thought they moved with the files and weren't bound to the iTunes library. But 3 bits? Why not make a simple extra tag, call it "TRAT", and put a number in there? --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From gerases at publicschoolworks.com Sat Dec 22 18:44:06 2007 From: gerases at publicschoolworks.com (Sergei Gerasenko) Date: Sat, 22 Dec 2007 21:44:06 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters In-Reply-To: <476D4E15.7050204@verizon.net> References: <20071222163008.GB19006@localhost> <476D4E15.7050204@verizon.net> Message-ID: <20071223024406.GA3067@localhost> Hi Jim, You were absolutely right. I found a nice program to convert tags from one version to another. It's called eyeD3. And I watched the transformation from question marks to the correct Cyrillic letters before my very eyes. I just had to lower the version from 2.4 to 2.3. Jim, I can't thank you enough. Best regards, Sergei On Sat, Dec 22, 2007 at 12:49:09PM -0500, Jim wrote: > Hi Sergei. > > This is just a guess but perhaps the problem is with how your MP3 player > handles v2.4 tags? (I haven't actually checked out your tags yet but > they look ok at first glance. The difference in TPE1 frame length is > because the Linux tag includes the final "00 00" and the Windows tag > doesn't, but I don't think that should cause the problem you are > having.) Does the Linux utility you are using give you any control over > what version of tags are written? If it does, maybe you can try setting > it to write v2.3 tags instead of v2.4 and see if that fixes the problem? > > Jim > > > Sergei Gerasenko wrote: > >Hi everybody, > > > >I just bought a Sony NWZ-A818 MP3 player and I have quite a music > >collection with cyrillic mp3 tags. After I transferred the collection to > >the player, it displayed everything that was Cyrillic with question marks. > >So, I thought, bummer, the thing doesn't understand > >Unicode. But as I was scrolling through the list, to my surprise I found a > >couple that were displayed correctly! I was very excited and > >became determined to find out what was different in those files that the > >player displayed correctly. > > > >I soon discovered that if I created a Cyrillic tag on Windows XP (using > >windows explorer), the player displayed the cyrillic > >characters correctly. If I took the same song and read the tag on Linux, > >the tag was also displayed correctly BUT if I edited and > >saved it on Linux (using Quod Libet, which uses a Python id3 library), the > >tag turned into question marks both on Windows and > >the player. > > > >So I reduced the tag to as little as possible to find the difference. I > >just left the artist name and made it 3 letters long "V??". Then I > >used a hex editor to read the tag. The only difference I saw was that > >Windows made the tag version to be 2.3, while the > >Linux made it 2.4. > > > >Also, Windows made the length of the artist name frame (TPE1) "09" and the > >Linux version made it 2 bytes longer "0b". Otherwise they are > >completely identical. Except also for a difference in the size of the > >whole tag: "1f76" and "0800" respectively. > > > >Here are the corresponding hex dumps: > > > >After editing on Windows > >======================== > > > >sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 > >|ID3......vTPE1..| > >00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >|.......V.>.?....| > >00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >|................| > >* > > > > > >After editing on Linux > >======================= > >sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 > >|ID3.......TPE1..| > >00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >|.......V.>.?....| > >00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >|................| > >* > > > >This is where my expertise stops! Can someone figure out what's going on > >here? > > > >If anybody is interested, both files can be found below but my download > >speed is pretty bad. So please be patient. > > > >http://65.27.155.246/~sergei/windows_version.mp3 and > >http://65.27.155.246/~sergei/linux_version.mp3 > > > >Looking forward to your analysis! > > > >Thanks, > > Sergei > > > >--------------------------------------------------------------------- > >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 > --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From damian.langley at gmail.com Mon Dec 24 11:25:55 2007 From: damian.langley at gmail.com (Damian Langley) Date: Mon, 24 Dec 2007 11:25:55 -0800 Subject: [ID3 Dev] ratings Message-ID: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> Question: Why isn't there a "rating" tag under ID3v2? IE 0-5 stars as with many of the players. Sure its implemented in Itunes and their ipod, but what happens if someone wants to use a different device? Also moving the music library is a pain because the ratings don't move with the files. The ratings is how I create many lists, as well as mark songs for deletion later (1 star). I think this would be well worth 3 bits in the header. -- life's short, live it -------------- next part -------------- An HTML attachment was scrubbed... URL: From dalepres at msn.com Mon Dec 24 15:37:39 2007 From: dalepres at msn.com (Dale Preston) Date: Mon, 24 Dec 2007 17:37:39 -0600 Subject: [ID3 Dev] ratings In-Reply-To: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> References: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> Message-ID: How to implement stars ratings, I think, is beyond the scope of the ID3 specifications. The POPM frame supports the concept but the implementation inside an application isn't specified. By the way, did you know that Microsoft has a patent on generating weighted playlists based on user ratings. They patented it in, if I remember correctly, 2005 though many players have done it for long before then and the idea has existed in the POPM specification for many years. Anyway, Microsoft's Windows Media Player has an option to store their ratings in the file, alternatively, you may want to look at my metadata backup utility that works with Windows Media Player libraries. It helps support moving custom attributes when moving on the same computer or to new computers. http://www.dalepreston.com/Blog/2007/03/windows-media-player-metadata-backup.html Dale From: Damian Langley Sent: Monday, December 24, 2007 1:25 PM To: id3v2 at id3.org Subject: [ID3 Dev] ratings Question: Why isn't there a "rating" tag under ID3v2? IE 0-5 stars as with many of the players. Sure its implemented in Itunes and their ipod, but what happens if someone wants to use a different device? Also moving the music library is a pain because the ratings don't move with the files. The ratings is how I create many lists, as well as mark songs for deletion later (1 star). I think this would be well worth 3 bits in the header. -- life's short, live it -------------- next part -------------- An HTML attachment was scrubbed... URL: From gerases at publicschoolworks.com Sat Dec 22 12:28:35 2007 From: gerases at publicschoolworks.com (Sergei Gerasenko) Date: Sat, 22 Dec 2007 15:28:35 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters In-Reply-To: <476D4E15.7050204@verizon.net> References: <20071222163008.GB19006@localhost> <476D4E15.7050204@verizon.net> Message-ID: <20071222202835.GA25771@localhost> Hello Jim, Thanks for replying to my post. It could be that you're right although some of the files that work correctly are version 2.2. Maybe everything including and below 2.3 works? I'm going to test that theory today or tomorrow and let you know. Thanks! Sergei On Sat, Dec 22, 2007 at 12:49:09PM -0500, Jim wrote: > Hi Sergei. > > This is just a guess but perhaps the problem is with how your MP3 player > handles v2.4 tags? (I haven't actually checked out your tags yet but > they look ok at first glance. The difference in TPE1 frame length is > because the Linux tag includes the final "00 00" and the Windows tag > doesn't, but I don't think that should cause the problem you are > having.) Does the Linux utility you are using give you any control over > what version of tags are written? If it does, maybe you can try setting > it to write v2.3 tags instead of v2.4 and see if that fixes the problem? > > Jim > > > Sergei Gerasenko wrote: > >Hi everybody, > > > >I just bought a Sony NWZ-A818 MP3 player and I have quite a music > >collection with cyrillic mp3 tags. After I transferred the collection to > >the player, it displayed everything that was Cyrillic with question marks. > >So, I thought, bummer, the thing doesn't understand > >Unicode. But as I was scrolling through the list, to my surprise I found a > >couple that were displayed correctly! I was very excited and > >became determined to find out what was different in those files that the > >player displayed correctly. > > > >I soon discovered that if I created a Cyrillic tag on Windows XP (using > >windows explorer), the player displayed the cyrillic > >characters correctly. If I took the same song and read the tag on Linux, > >the tag was also displayed correctly BUT if I edited and > >saved it on Linux (using Quod Libet, which uses a Python id3 library), the > >tag turned into question marks both on Windows and > >the player. > > > >So I reduced the tag to as little as possible to find the difference. I > >just left the artist name and made it 3 letters long "V??". Then I > >used a hex editor to read the tag. The only difference I saw was that > >Windows made the tag version to be 2.3, while the > >Linux made it 2.4. > > > >Also, Windows made the length of the artist name frame (TPE1) "09" and the > >Linux version made it 2 bytes longer "0b". Otherwise they are > >completely identical. Except also for a difference in the size of the > >whole tag: "1f76" and "0800" respectively. > > > >Here are the corresponding hex dumps: > > > >After editing on Windows > >======================== > > > >sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 > >|ID3......vTPE1..| > >00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >|.......V.>.?....| > >00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >|................| > >* > > > > > >After editing on Linux > >======================= > >sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 > >|ID3.......TPE1..| > >00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >|.......V.>.?....| > >00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >|................| > >* > > > >This is where my expertise stops! Can someone figure out what's going on > >here? > > > >If anybody is interested, both files can be found below but my download > >speed is pretty bad. So please be patient. > > > >http://65.27.155.246/~sergei/windows_version.mp3 and > >http://65.27.155.246/~sergei/linux_version.mp3 > > > >Looking forward to your analysis! > > > >Thanks, > > Sergei > > > >--------------------------------------------------------------------- > >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 > --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From dalepres at msn.com Mon Dec 31 16:36:03 2007 From: dalepres at msn.com (Dale Preston) Date: Mon, 31 Dec 2007 18:36:03 -0600 Subject: [ID3 Dev] Another iTunes ID3 issue? Message-ID: I recently started hearing from users of my applications about new issues related to Apple iTunes implementation of COMM frames. While this may or may not be a new issue, it is a new issue to me and my applications. In samples I have received from users, there are COMM frames with null bytes included in the actual text field for the COMM frame. The text of the COMM frame is: "engiTunes_CDDB_TrackNumber1" where the null byte replaces the brackets and text indicating its location above. The "eng" in the text above is not the language attribute of the COMM frame but is included in the actual text. The result of having a null byte in the middle of a string is that it appears to be an array of strings. This is sure another unexpected issue to have to deal with because of Apple's inability or refusal to follow the standard. Dale -------------- next part -------------- An HTML attachment was scrubbed... URL: From gerases at publicschoolworks.com Sat Dec 22 19:24:27 2007 From: gerases at publicschoolworks.com (Sergei Gerasenko) Date: Sat, 22 Dec 2007 22:24:27 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters In-Reply-To: <476DCFC0.2040104@verizon.net> References: <20071222163008.GB19006@localhost> <476D4E15.7050204@verizon.net> <20071223024406.GA3067@localhost> <476DCFC0.2040104@verizon.net> Message-ID: <20071223032427.GA4450@localhost> Hi Jim, You deserve all the thanks not only because of the tip but also because you responded so quickly. I didn't know that 2.3 was the mainstream version. I'm glad I learned it today. Thank you once again, Sergei On Sat, Dec 22, 2007 at 10:02:24PM -0500, Jim wrote: > Hi Sergei. > > I don't think I deserve much thanks since it was just a guess, but I'm > glad to hear you got it working. As I side note, you might also want to > convert any v2.2 tags you find to v2.3. v2.3 is the version most > commonly supported by both applications and devices (as far as I know). > > Jim > > > Sergei Gerasenko wrote: > >Hi Jim, > > > >You were absolutely right. I found a nice program to convert tags from > >one version to another. It's called eyeD3. And I watched the > >transformation from question marks to the correct Cyrillic letters > >before my very eyes. I just had to lower the version from 2.4 to 2.3. > > > >Jim, I can't thank you enough. > > > >Best regards, > >Sergei > > > >On Sat, Dec 22, 2007 at 12:49:09PM -0500, Jim wrote: > >>Hi Sergei. > >> > >>This is just a guess but perhaps the problem is with how your MP3 player > >>handles v2.4 tags? (I haven't actually checked out your tags yet but > >>they look ok at first glance. The difference in TPE1 frame length is > >>because the Linux tag includes the final "00 00" and the Windows tag > >>doesn't, but I don't think that should cause the problem you are > >>having.) Does the Linux utility you are using give you any control over > >>what version of tags are written? If it does, maybe you can try setting > >>it to write v2.3 tags instead of v2.4 and see if that fixes the problem? > >> > >>Jim > >> > >> > >>Sergei Gerasenko wrote: > >>>Hi everybody, > >>> > >>>I just bought a Sony NWZ-A818 MP3 player and I have quite a music > >>>collection with cyrillic mp3 tags. After I transferred the collection to > >>>the player, it displayed everything that was Cyrillic with question > >>>marks. So, I thought, bummer, the thing doesn't understand > >>>Unicode. But as I was scrolling through the list, to my surprise I found > >>>a couple that were displayed correctly! I was very excited and > >>>became determined to find out what was different in those files that the > >>>player displayed correctly. > >>> > >>>I soon discovered that if I created a Cyrillic tag on Windows XP (using > >>>windows explorer), the player displayed the cyrillic > >>>characters correctly. If I took the same song and read the tag on > >>>Linux, the tag was also displayed correctly BUT if I edited and > >>>saved it on Linux (using Quod Libet, which uses a Python id3 library), > >>>the tag turned into question marks both on Windows and > >>>the player. > >>> > >>>So I reduced the tag to as little as possible to find the difference. I > >>>just left the artist name and made it 3 letters long "V??". Then I > >>>used a hex editor to read the tag. The only difference I saw was that > >>>Windows made the tag version to be 2.3, while the > >>>Linux made it 2.4. > >>> > >>>Also, Windows made the length of the artist name frame (TPE1) "09" and > >>>the Linux version made it 2 bytes longer "0b". Otherwise they are > >>>completely identical. Except also for a difference in the size of the > >>>whole tag: "1f76" and "0800" respectively. > >>> > >>>Here are the corresponding hex dumps: > >>> > >>>After editing on Windows > >>>======================== > >>> > >>>sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >>>00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 > >>>|ID3......vTPE1..| > >>>00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >>>|.......V.>.?....| > >>>00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >>>|................| > >>>* > >>> > >>> > >>>After editing on Linux > >>>======================= > >>>sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > >>>00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 > >>>|ID3.......TPE1..| > >>>00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 > >>>|.......V.>.?....| > >>>00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > >>>|................| > >>>* > >>> > >>>This is where my expertise stops! Can someone figure out what's going on > >>>here? > >>> > >>>If anybody is interested, both files can be found below but my download > >>>speed is pretty bad. So please be patient. > >>> > >>>http://65.27.155.246/~sergei/windows_version.mp3 and > >>>http://65.27.155.246/~sergei/linux_version.mp3 > >>> > >>>Looking forward to your analysis! > >>> > >>>Thanks, > >>> Sergei > >>> > >>>--------------------------------------------------------------------- > >>>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 > >> > > > >--------------------------------------------------------------------- > >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 > --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From dalepres at msn.com Mon Dec 24 15:39:58 2007 From: dalepres at msn.com (Dale Preston) Date: Mon, 24 Dec 2007 17:39:58 -0600 Subject: [ID3 Dev] ratings In-Reply-To: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> References: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> Message-ID: Oh, and I forgot to mention. Windows Media Player did use the POPM frame prior to version 10. Sure makes you wonder about the originality of their idea in the patent. Dale From: Damian Langley Sent: Monday, December 24, 2007 1:25 PM To: id3v2 at id3.org Subject: [ID3 Dev] ratings Question: Why isn't there a "rating" tag under ID3v2? IE 0-5 stars as with many of the players. Sure its implemented in Itunes and their ipod, but what happens if someone wants to use a different device? Also moving the music library is a pain because the ratings don't move with the files. The ratings is how I create many lists, as well as mark songs for deletion later (1 star). I think this would be well worth 3 bits in the header. -- life's short, live it -------------- next part -------------- An HTML attachment was scrubbed... URL: From fiji at ayup.limey.net Mon Dec 24 14:13:27 2007 From: fiji at ayup.limey.net (Ben Bennett) Date: Mon, 24 Dec 2007 17:13:27 -0500 Subject: [ID3 Dev] ratings In-Reply-To: <47700995.1080909@hotmail.com> References: <32f18dbb0712241125w29857102wd5f7c4ae1424a220@mail.gmail.com> <47700995.1080909@hotmail.com> Message-ID: <20071224221327.GA1354@ayup.limey.net> On Mon, Dec 24, 2007 at 08:33:41PM +0100, Jan De Kock wrote: > Damian Langley wrote: >> Question: >> Why isn't there a "rating" tag under ID3v2? IE 0-5 stars as with many of >> the players. Sure its implemented in Itunes and their ipod, but what >> happens if someone wants to use a different device? Also moving the music >> library is a pain because the ratings don't move with the files. The >> ratings is how I create many lists, as well as mark songs for deletion >> later (1 star). I think this would be well worth 3 bits in the header. iTunes does not use the standard tag, and they decided not to implement their own (which is what they have done in plenty of other places, so we know they aren't timid about making duplicate proprietary tags). They only store their star data in their itunes DB and on the ipod in some form (separate from the file). Anyway, the existing POPM tag has what you need. It associates a 1-255 rating with an email address. It also has a num plays counter in the frame. POPM docs: http://www.id3.org/id3v2.3.0#head-2452ec9cf8b42c5c117b518b69e129ff67970852 -ben --------------------------------------------------------------------- To unsubscribe, e-mail: id3v2-unsubscribe at id3.org For additional commands, e-mail: id3v2-help at id3.org From jmartin_92 at verizon.net Sat Dec 22 09:49:09 2007 From: jmartin_92 at verizon.net (Jim) Date: Sat, 22 Dec 2007 12:49:09 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters In-Reply-To: <20071222163008.GB19006@localhost> References: <20071222163008.GB19006@localhost> Message-ID: <476D4E15.7050204@verizon.net> Hi Sergei. This is just a guess but perhaps the problem is with how your MP3 player handles v2.4 tags? (I haven't actually checked out your tags yet but they look ok at first glance. The difference in TPE1 frame length is because the Linux tag includes the final "00 00" and the Windows tag doesn't, but I don't think that should cause the problem you are having.) Does the Linux utility you are using give you any control over what version of tags are written? If it does, maybe you can try setting it to write v2.3 tags instead of v2.4 and see if that fixes the problem? Jim Sergei Gerasenko wrote: > Hi everybody, > > I just bought a Sony NWZ-A818 MP3 player and I have quite a music collection with cyrillic mp3 tags. After I transferred the collection to > the player, it displayed everything that was Cyrillic with question marks. So, I thought, bummer, the thing doesn't understand > Unicode. But as I was scrolling through the list, to my surprise I found a couple that were displayed correctly! I was very excited and > became determined to find out what was different in those files that the player displayed correctly. > > I soon discovered that if I created a Cyrillic tag on Windows XP (using windows explorer), the player displayed the cyrillic > characters correctly. If I took the same song and read the tag on Linux, the tag was also displayed correctly BUT if I edited and > saved it on Linux (using Quod Libet, which uses a Python id3 library), the tag turned into question marks both on Windows and > the player. > > So I reduced the tag to as little as possible to find the difference. I just left the artist name and made it 3 letters long "V??". Then I > used a hex editor to read the tag. The only difference I saw was that Windows made the tag version to be 2.3, while the > Linux made it 2.4. > > Also, Windows made the length of the artist name frame (TPE1) "09" and the Linux version made it 2 bytes longer "0b". Otherwise they are > completely identical. Except also for a difference in the size of the whole tag: "1f76" and "0800" respectively. > > Here are the corresponding hex dumps: > > After editing on Windows > ======================== > > sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > 00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 |ID3......vTPE1..| > 00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 |.......V.>.?....| > 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > > > After editing on Linux > ======================= > sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 > 00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 |ID3.......TPE1..| > 00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 |.......V.>.?....| > 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| > * > > This is where my expertise stops! Can someone figure out what's going on here? > > If anybody is interested, both files can be found below but my download speed is pretty bad. So please be patient. > > http://65.27.155.246/~sergei/windows_version.mp3 and > http://65.27.155.246/~sergei/linux_version.mp3 > > Looking forward to your analysis! > > Thanks, > Sergei > > --------------------------------------------------------------------- > 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 jmartin_92 at verizon.net Sat Dec 22 19:02:24 2007 From: jmartin_92 at verizon.net (Jim) Date: Sat, 22 Dec 2007 22:02:24 -0500 Subject: [ID3 Dev] curious problem with Cyrillic letters In-Reply-To: <20071223024406.GA3067@localhost> References: <20071222163008.GB19006@localhost> <476D4E15.7050204@verizon.net> <20071223024406.GA3067@localhost> Message-ID: <476DCFC0.2040104@verizon.net> Hi Sergei. I don't think I deserve much thanks since it was just a guess, but I'm glad to hear you got it working. As I side note, you might also want to convert any v2.2 tags you find to v2.3. v2.3 is the version most commonly supported by both applications and devices (as far as I know). Jim Sergei Gerasenko wrote: > Hi Jim, > > You were absolutely right. I found a nice program to convert tags from > one version to another. It's called eyeD3. And I watched the > transformation from question marks to the correct Cyrillic letters > before my very eyes. I just had to lower the version from 2.4 to 2.3. > > Jim, I can't thank you enough. > > Best regards, > Sergei > > On Sat, Dec 22, 2007 at 12:49:09PM -0500, Jim wrote: >> Hi Sergei. >> >> This is just a guess but perhaps the problem is with how your MP3 player >> handles v2.4 tags? (I haven't actually checked out your tags yet but >> they look ok at first glance. The difference in TPE1 frame length is >> because the Linux tag includes the final "00 00" and the Windows tag >> doesn't, but I don't think that should cause the problem you are >> having.) Does the Linux utility you are using give you any control over >> what version of tags are written? If it does, maybe you can try setting >> it to write v2.3 tags instead of v2.4 and see if that fixes the problem? >> >> Jim >> >> >> Sergei Gerasenko wrote: >>> Hi everybody, >>> >>> I just bought a Sony NWZ-A818 MP3 player and I have quite a music >>> collection with cyrillic mp3 tags. After I transferred the collection to >>> the player, it displayed everything that was Cyrillic with question marks. >>> So, I thought, bummer, the thing doesn't understand >>> Unicode. But as I was scrolling through the list, to my surprise I found a >>> couple that were displayed correctly! I was very excited and >>> became determined to find out what was different in those files that the >>> player displayed correctly. >>> >>> I soon discovered that if I created a Cyrillic tag on Windows XP (using >>> windows explorer), the player displayed the cyrillic >>> characters correctly. If I took the same song and read the tag on Linux, >>> the tag was also displayed correctly BUT if I edited and >>> saved it on Linux (using Quod Libet, which uses a Python id3 library), the >>> tag turned into question marks both on Windows and >>> the player. >>> >>> So I reduced the tag to as little as possible to find the difference. I >>> just left the artist name and made it 3 letters long "V??". Then I >>> used a hex editor to read the tag. The only difference I saw was that >>> Windows made the tag version to be 2.3, while the >>> Linux made it 2.4. >>> >>> Also, Windows made the length of the artist name frame (TPE1) "09" and the >>> Linux version made it 2 bytes longer "0b". Otherwise they are >>> completely identical. Except also for a difference in the size of the >>> whole tag: "1f76" and "0800" respectively. >>> >>> Here are the corresponding hex dumps: >>> >>> After editing on Windows >>> ======================== >>> >>> sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 >>> 00000000 49 44 33 03 00 00 00 00 1f 76 54 50 45 31 00 00 >>> |ID3......vTPE1..| >>> 00000010 00 09 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 >>> |.......V.>.?....| >>> 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>> |................| >>> * >>> >>> >>> After editing on Linux >>> ======================= >>> sergei at ubuntu:~$ hexdump -Cn 200 song.mp3 >>> 00000000 49 44 33 04 00 00 00 00 08 00 54 50 45 31 00 00 >>> |ID3.......TPE1..| >>> 00000010 00 0b 00 00 01 ff fe 56 00 3e 04 3f 04 00 00 00 >>> |.......V.>.?....| >>> 00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>> |................| >>> * >>> >>> This is where my expertise stops! Can someone figure out what's going on >>> here? >>> >>> If anybody is interested, both files can be found below but my download >>> speed is pretty bad. So please be patient. >>> >>> http://65.27.155.246/~sergei/windows_version.mp3 and >>> http://65.27.155.246/~sergei/linux_version.mp3 >>> >>> Looking forward to your analysis! >>> >>> Thanks, >>> Sergei >>> >>> --------------------------------------------------------------------- >>> 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 >> > > --------------------------------------------------------------------- > 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