Bug 700 - SlimServer truncates ID3 tag info when headers include repalygain info
: SlimServer truncates ID3 tag info when headers include repalygain info
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Tagging
: 5.x or older
: Macintosh MacOS X 10
: P2 normal with 1 vote (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-01 12:45 UTC by Kelsey Kennedy
Modified: 2011-03-16 04:18 UTC (History)
0 users

See Also:
Category: ---


Attachments
example mp3 file w/replaygain data written in ID3v2 tag (1.99 MB, application/octet-stream)
2004-12-01 17:25 UTC, Kelsey Kennedy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kelsey Kennedy 2004-12-01 12:45:21 UTC
BEHAVIOR: I have a large library of mp3 files with ID3 v2.3 tags and replaygain
<http://replaygain.org> info, generated by either mp3gain or foobar2000, in the
tag. When I add these files to the SlimServer database, SlimServer truncates
each ID3 tag field to only the first character. Hence, I get playlist items
like: "H from I by B" instead of "Hired Gun from I Against I by Bad Brains". If
I strip the replaygain info from the file, Slimserver can read the ID3 tag and
everything is fine except, of course, for the lost replaygain data.

EXPECTED: SlimServer should ignore the replaygain frame and properly report the
track data from the ID3v2 tag.

REPRODUCIBLE: This behavior is reproducible (always) on the latest nightlies.

I can post an example file (or at least the relevant bytes) if that would be
helpful.
Comment 1 Jason Holtzapple 2004-12-01 14:14:02 UTC
I use mp3 files with id3 v2.3 tags processed by mp3gain extensively and I don't
see these problems. I don't use foobar2000 though.

What settings are you using for mp3gain? I apply the gain directly to the mp3
frames and have the undo information appended to the mp3 in an apev2 tag.
Comment 2 Kelsey Kennedy 2004-12-01 15:23:58 UTC
I should clarify. Instead of applying the gain adjustment to the mp3 data,
foobar2k stores the gain offset (for track and/or album gain adj.) as a value in
the ID3v2 tag. I don't expect SlimServer to read this foreign info (tho' it
would be nice to have some sort of normalization feature in the server or SB)
but to gracefully ignore it.

I had used an older version of mp3gain without the undo storage option and had
subsequently rewritten the metadata with foobar2k thereby borking the ID3v2
info. for SlimServer anyway...
Comment 3 Blackketter Dean 2004-12-01 16:50:38 UTC
Can you attach a sample file that exhibits this behavior?
Comment 4 Kelsey Kennedy 2004-12-01 17:25:20 UTC
Created attachment 214 [details]
example mp3 file w/replaygain data written in ID3v2 tag

Example file demonstrating behavior described in bug report.
Comment 5 Dan Sully 2005-01-14 11:30:45 UTC
Kelsey - I just checked in a fix for this to CPAN/MP3/Info.pm

It will be in the nightly build for the 15th, or you can download and replace
Info.pm directly from:

http://cvs.slimdevices.com/*checkout*/slim/server/CPAN/MP3/Info.pm?rev=1.13

Please set this bug to fixed if the patch works for you.

Thanks.
Comment 6 Dan Sully 2005-03-09 16:06:52 UTC
This has been fixed as part of all the UTF-8 work.
Comment 7 Chris Owens 2006-06-16 14:40:43 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.
Comment 8 Chris Owens 2008-12-18 11:52:27 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.