05-13-2022, 03:16 PM
(This post was last modified: 05-13-2022, 03:17 PM by TheOldPresbyope.
Edit Reason: expanded on footnote
)
@chaos333
Got it.
The track is a WAV file. The track file name contains Chinese characters. The file name displays properly in moOde's Library Folder view and in audio info modals.
Fortunately, the mediainfo utility provided with moOde knows the WAV format (a derivative of RIFF) and can reach into the INFO chunk to get at the metadata.
Here's what I see [1]
Not a very useful set of entries. There is no track name entry at all. It would appear that the 'Original source form/Name' entry is overriding the Album entry when the MPD decoder processes the file. (I seem to recall this is how such an entry is intended to be used.). It looks like the Director entry is overriding the Performer entry. Candidly, I don't use WAV format enough to know what metadata can be recorded and how MPD processes it. Time to do some homework.
If I get time later today, I'm going to try to replace this INFO chunk with a more reasonable set of values and see what happens.
I'll also see what happens when I transcode this track to FLAC and populate the metadata with reasonable values.
I have not been able to replicate the 'malformed UTF-8 character...' issue but maybe I overlooked something.
Regards,
Kent
[1] Caution: mediainfo doesn't necessarily print the actual names of metadata items as they are entered in the file so one has to be cautious when making changes to them using some other tool.
Got it.
The track is a WAV file. The track file name contains Chinese characters. The file name displays properly in moOde's Library Folder view and in audio info modals.
Fortunately, the mediainfo utility provided with moOde knows the WAV format (a derivative of RIFF) and can reach into the INFO chunk to get at the metadata.
Here's what I see [1]
Code:
pi@m8pi3a:/mnt/SDCARD/chaos333 $ mediainfo 06*
General
Complete name : 06 但愿人长久.wav
Format : Wave
File size : 43.0 MiB
Duration : 4 min 15 s
Overall bit rate mode : Constant
Overall bit rate : 1 411 kb/s
Album : 《和谐之声 为祖国祝福 长城独唱音乐会》
Performer : 谭晶
Director : ??
Original source form/Name : ????? ????? ????????
...
Not a very useful set of entries. There is no track name entry at all. It would appear that the 'Original source form/Name' entry is overriding the Album entry when the MPD decoder processes the file. (I seem to recall this is how such an entry is intended to be used.). It looks like the Director entry is overriding the Performer entry. Candidly, I don't use WAV format enough to know what metadata can be recorded and how MPD processes it. Time to do some homework.
If I get time later today, I'm going to try to replace this INFO chunk with a more reasonable set of values and see what happens.
I'll also see what happens when I transcode this track to FLAC and populate the metadata with reasonable values.
I have not been able to replicate the 'malformed UTF-8 character...' issue but maybe I overlooked something.
Regards,
Kent
[1] Caution: mediainfo doesn't necessarily print the actual names of metadata items as they are entered in the file so one has to be cautious when making changes to them using some other tool.