kevinfrei / EMP

A functional music player for FLAC, mp3, and m4a audio. This was a project to do while on "recharge" at Facebook: because I'm a manager I like to have something to 'scratch the coding itch'. It's built with TypeScript, Electron, React, and Recoil. I continue to add little fit & finish things when I'm either bored or irritated about something wrong.
Creative Commons Zero v1.0 Universal
16 stars 0 forks source link

Diacriticals in the AFI don't work across machines/OS'es #56

Open kevinfrei opened 1 year ago

kevinfrei commented 1 year ago

Bjork, Sinead O'Connor, The Blue Oyster Cult all seem to have odd problems between mac & PC as well as from two different machines when the AFI is synchronized. It seems like it can't find the album art, in particular.

kevinfrei commented 1 year ago

This one is...messy. Potential solution: pathnames that include diacriticals could fail, then fall back to a wildcard search instead. Ideally, this could be wrapped in a "cross-platform path" kind of thing that includes a "getNativePath()" function that would get the 'real' path for use by the 'fs' module... This would slow down opening these files (it becomes a wildcard search), but would solve the problem, I think.