Post Reply 
Missing track
22-03-2020, 11:26 (This post was last modified: 22-03-2020 12:22 by simoncn.)
Post: #12
RE: Missing track
The file format is corrupt. MinimServer tries to detect all such cases but the logic for doing this isn't handling this case correctly.

A WAV file has a header followed by a number of chunks. The header has a length field giving the total size of all data in the file (the form size). This would usually be the same as the file size. The format of this length field should be "little endian". In this file, the length field is incorrectly formatted as "big endian" which makes its value smaller than it should be and MinimServer stops reading the file before it has got as far as the ID3v2 tag near the end of the file.

MinimServer checks for inconsistencies between the lengths of all the chunks and the form size but the error in this file is not picked up by the current checks. Unfortunately, a number of tagging programs get these lengths slightly wrong (usually off by 4 or 8), so beng 100% strict can cause errors to be reported for some files that are actually readable.

I will produce an update soon with an improvement to the length checking code.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Missing track - beckphotonik - 21-03-2020, 17:53
RE: Missing track - simoncn - 21-03-2020, 18:14
RE: Missing track - beckphotonik - 21-03-2020, 18:59
RE: Missing track - beckphotonik - 21-03-2020, 19:03
RE: Missing track - beckphotonik - 21-03-2020, 21:06
RE: Missing track - simoncn - 21-03-2020, 21:11
RE: Missing track - beckphotonik - 21-03-2020, 21:17
RE: Missing track - beckphotonik - 21-03-2020, 21:13
RE: Missing track - simoncn - 21-03-2020, 21:41
RE: Missing track - beckphotonik - 22-03-2020, 09:26
RE: Missing track - beckphotonik - 22-03-2020, 09:37
RE: Missing track - simoncn - 22-03-2020 11:26
RE: Missing track - beckphotonik - 22-03-2020, 12:23
RE: Missing track - beckphotonik - 22-03-2020, 19:02
RE: Missing track - simoncn - 09-06-2020, 17:35
RE: Missing track - beckphotonik - 09-06-2020, 20:19

Forum Jump:


User(s) browsing this thread: 1 Guest(s)