Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Audio Format Showing "?"
#1
Hi,

I'm reporting a finding, not necessarily looking for a solution.

I found out that some of my DSF files report a "?" in Audio format under Audio Information. I have run several tests and concluded that a German character ö in the folder name caused the problem

There's no issue when "ö" is in music metadata (IDv2.3 and v2.4 both works) like album name ("The Köln Concert"). But when the alphabet is in the file folder then Audio format shows "?".

Once file folder is renamed to "o" Audio format shows DSD 1bit 2.822 MHz, Stereo.

I have tested back and forth using "o" and "ö" and the only instance I have "?" is when the character is in folder name.

Not exactly an issue but want to report and see whether other people share similar observation.

Ken
Reply
#2
I don't have any DSF files with non-US English characters in the containing folder or the metadata so feel free to zip up "The Köln Concert" album and I'll be happy to debug the issue.

ETA: PM the download link to myself, @TheOldPresbyope and @Nutul.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
For sure. I don’t normally use DSF but I love the Köln Concert and have long owned it (CD ripped to FLAC). Would be interesting to see if my old ears can discern a difference. While I’m looking at the metadata issue of course Tongue

ETA - once I reread the original post carefully, I realized I should be able to duplicate the issue without the OP’s file.

Regards,
Kent
Reply
#4
Have fun. Screenshots when running in the player are included. https://drive.google.com/file/d/1VlqwQo6...sp=sharing

Truth be told. I had another similar incident with Dire Stratis' Alchemy Live DSF converted from SACD ISO. But when I changed from ID3v2.3 to v2.4 it went away. I wonder UTF plays a part but I have no clue.

Kenneth
Reply
#5
Seems I can repro this issue on my moOde 9.2.3 player whether I use the OP's file in its directory/folder or some DSF files of my own stuffed into a different directory/folder with an umlauted o in its name. With the stock preferences, this "?" is displayed in the string under the Cover in Playback.

This may take a little headscratching. 

...and Keith's improvisation is still stunning after 50 years! Part I is my hands-down fav but the whole concert was great.

A bit Off topic: here's a nice article describing the circumstances around that particular performance. They call is "spontaneous composition", a nice pun which I find very apt.

Regards,
Kent
Reply
#6
Here's a note in function getEncodedAt() that gets DSD rate info

Code:
// Mediainfo
// NOTE: Mediainfo called via sysCmd() i.e. exec() returns nothing if the file name contains accented chars

This goes way back to like the moode 2 or 3 era. There was a hack that worked back then that involved setting the locale to GB but it was removed in a subsequent release because it stopped working.

I think the way to handle this is to fallback to the "file" command or something like that. I'll do some testing.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
I haven't had time to try to walk the code but, FYI, I have the same album in FLAC format and both the track names and the directory/folder name contain the umlauted "Köln". No problem displaying the audio format of these tracks during playback.

Regards,
Kent
Reply
#8
(Yesterday, 10:56 PM)TheOldPresbyope Wrote: I haven't had time to try to walk the code but, FYI, I have the same album in FLAC format and both the track names and the directory/folder name contain the umlauted "Köln". No problem displaying the audio format of these tracks during playback.

Regards,
Kent

The issue will only show up for dsf/dff files because those file types are the only ones that get scanned by mediainfo.

I did a quick hack using the "file" utility and it appears to work.

I'll plan to include the fix in upcoming 9.2.4
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
(Yesterday, 10:56 PM)TheOldPresbyope Wrote: I haven't had time to try to walk the code but, FYI, I have the same album in FLAC format and both the track names and the directory/folder name contain the umlauted "Köln". No problem displaying the audio format of these tracks during playback.

Regards,
Kent

The engine for the files might be different... so the FLAC parsed (VorbisComment) might be more UTF8 compliant than the DSD/MP3 (id3v2) one.
I mean, not the tagging engine, but the whole thing, starting at the folder scanner level bits...

I have some DSDs in my library, but as a personal choice, I strip/replace any non > ASCII 128 code from / in the folder/file names, so cannot be of any further help.
Reply
#10
@TheOldPresbyope, give this commit a try on that sample file.
https://github.com/moode-player/moode/co...c441836d3a
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: