This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11875 - Recent MediaMonkey Breaks Replaygain on low memory targets
Attached to Project:
Rockbox
Opened by Martin Gallant (martyg) - Thursday, 13 January 2011, 20:11 GMT+2
Last edited by Andree Buschmann (Buschel) - Sunday, 30 January 2011, 21:24 GMT+2
Opened by Martin Gallant (martyg) - Thursday, 13 January 2011, 20:11 GMT+2
Last edited by Andree Buschmann (Buschel) - Sunday, 30 January 2011, 21:24 GMT+2
|
DetailsAlso submitted in MediaMonkey forum:
http://www.mediamonkey.com/forum/viewtopic.php?f=7&t=54938 The latest version of MediaMonkey creates ReplayGain (volume analysis) tags which Rockbox 3.7 cannot understand. Ref. These example files. http://www.goodbit.net/martyg/MM-Replaygain.zip This is from the same source file, processed through v1297 and v1304 of MediaMonkey. Rockbox recognizes the tag embedded in 1297.mp3 and adjusts level accordingly. Rockbox cannot recognize the tag embedded in 1304.mp3. |
This task depends upon
Closed by Andree Buschmann (Buschel)
Sunday, 30 January 2011, 21:24 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r29174.
Sunday, 30 January 2011, 21:24 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed with r29174.
Tested with a build based on r28993.
Is this the issue you are a talking of? If so, rockbox works as expected.
I have done some more testing, and have discovered I can only reproduce this on my Sansa Clip v1.
I have tried a fresh install of 3.7.1 and r29051 and see this in both loads.
I cannot reproduce this issue on my Sansa Fuze v1 running v3.7.1. (I'm baffled)
To reproduce, I use WPS -> Context Menu -> Show Track Info
1297.mp3 shows gain information, 1304.mp3 does not
Your new tagger creates the same overall length, but it resorts the position of data within the ID3 tag itself. In 1297.mp3 the replay gain data (to be more exact: its header) is placed in the first 300 bytes. In 1304.mp3 this data is placed _after_ the first 300 byte and will therefor be invisible for rockbox on low memory targets. The replay gain will still be recognized on targets with more RAM (e.g. your Fuze v1).
Option 1: Use the old tagger.
Option 2: Check whether the tagger can be configured to not save data to the ID3 tag which is not read by rockbox anyway (e.g. the whole "Jan. 12 (Bloomberg) -- Win Thin, a senior currencystrategist..." text which causes replay gain data to be shifted beyond the first 300 bytes)
Option 3: build rockbox by yourself and set "#define ID3V2_BUF_SIZE 900" in line 178 of /apps/metadata.h
So, this is not a bug but a consequence of an intentionally defined limitation.
Ideally, we should make an effort to support metadata of arbitrary size. It's OK to place a limit on each individual tag (for example, the album name has to fit into 300 bytes), but we should keep on looking for more data when the buffer is exhausted.
I have added 2 other similar reports to "Related Tasks" which have basically the same issue.
If someone will make the effort to implement a more efficient parser this is of course fine for me as well :o)
I use MediaMonkey as a my Podcat/Playlist manager. I cannot find a way to work around this issue there.
IMO, it would be best if this restriction didn't exist in the first place.
Thanks for the attention to my issue. Rockbox is really a great product. I'm eagerly awaiting the Android version. :-)
Easy solution: Limit the lenght for each id3 item.
The attached patch defines a maximum length for each item (60 bytes for low memory targets, 100 bytes for others). So, for the attached files this means that only the first 60/100 bytes of the comment are displayed by rockbox.
I am convinced such limitation makes sense and we could also use this to save some binsize again via reducing the buffer size again.