Support and General Use > Audio Playback, Database and Playlists
Database truncates tag info?
polygonal:
:( That's sad news... I'll see what I can fix...
Do you know what tag is truncated first if the limit is exceeded? Does it depend on the order of tags in the file itself?
Thanks
Lear:
Yes, it depends on the order in the file.
linuxstb:
--- Quote from: Lear on July 20, 2007, 03:22:41 AM ---Yes, it depends on the order in the file.
--- End quote ---
Some of the metadata parsers (at least vorbis comments, APE and ASF (WMA)) also make use of the 384 bytes id3v1 buffer (in addition to the 300 byte id3v2 buffer) when parsing the metadata from the file. So for those formats the limit is 684 bytes. I don't know about the id3v2 code though.
I also don't know the database code, but if that has its own 300-byte limit, then its behaviour won't be to truncate tags in the order they are in the file, but rather the order the database processses them. Although they will first be truncated to 684 bytes based on the order in the file...
But if there is a 300 byte limit in the database, maybe it should be extended to 684 bytes.
Lear:
From a quick look at the tagcache code, the limit I can see is 520 bytes for some processing, perhaps for a single field. So the tagcache code shouldn't be the main problem here.
But that ID3V1 buffer size made me wonder a little: Why was that buffer size multiplied by 3 when unicode support was added, but not the ID3V2 buffer? It could've made sense to increase the latter a bit, though maybe not all the way to 900 bytes.
dip:
I have exactly the same problem. For classical music with very long tag entries some of the tags in the database are truncated although they are correct in the original file. Unfortunately, removing or changing some of the tag entries is not an option for these cases.
Since this seems to be a problem due to a hard coded size of a buffer in rockbox, coud be anybody so kind to point me to the place in the source code where the corresponding limit must be amended that I can compile me a version of rockbox with increased buffer size.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version