Sonerezh / sonerezh

A self-hosted, web-based application to stream your music, everywhere.
https://www.sonerezh.bzh
GNU Affero General Public License v3.0
767 stars 122 forks source link

Importing: Unable to read Metadata from file if file name starts with Unicode symbol #380

Open japtar10101 opened 4 years ago

japtar10101 commented 4 years ago

A couple of songs I have are either Japanese, or have filenames and metadata with weird Unicode symbols. A problem I see often while running import on Sonerezh is a warning log indicating the metadata of a file is unreadable:

Screenshot 2019-11-15 (22184)

This issue can be replicated consistently. In addition, the files above do not show up as playable songs in the main song list, though I did notice a couple songs simply named, ".ogg"

Oddly, some songs from this album works, such as the screenshot above properly playing a Japanese song that starts with English text. As far as I can tell, it appears filenames that starts with a Unicode symbol can't be read, for some reason.