dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
668 stars 26 forks source link

Japanese glyphs don't show #379

Closed stkw0 closed 1 month ago

stkw0 commented 1 month ago

All the songs which have non-ASCII characters doesn't seems to show, instead the next is printed: imatge

I'm using the latest main branch.

Also, when starting the player a couple of errors are shown

2024/05/01 01:22:11 Starting supersonic... 2024/05/01 01:22:11 Using config dir: /home/david/.config/supersonic 2024/05/01 01:22:11 Using cache dir: /home/david/.cache/supersonic 2024/05/01 01:22:11 Error reading app config file: open /home/david/.config/supersonic/config.toml: no such file or directory 2024/05/01 01:22:11 Creating session lock file 2024/05/01 01:22:11 failed to load theme file "": open /home/david/.config/supersonic/themes: no such file or directory 2024/05/01 01:22:12 Fyne error: Preferences API requires a unique ID, use app.NewWithID() or the FyneApp.toml ID field 2024/05/01 01:22:12 At: /home/david/.go/pkg/mod/github.com/dweymouth/fyne/v2@v2.3.0-rc1.0.20240418162613-9e56d7882130/app/app.go:60 2024/05/01 01:22:59 failed to load saved play queue: open /home/david/.config/supersonic/saved_queue.json: no such file or directory 2024/05/01 01:23:01 Error loading cover image: image: unknown format 2024/05/01 01:23:01 Error loading cover image: image: unknown format 2024/05/01 01:23:38 error fetching tracks: XML syntax error on line 2: illegal character code U+0008 ^C2024/05/01 01:24:21 Running shutdown tasks...

I'm using LMS server

dweymouth commented 1 month ago

Missing Japanese glyphs is a duplicate of #57. Details and a workaround are in there.

Most of those "errors" being logged out aren't really error conditions, but just things like missing config file on first launch (which is normal). The only one that looks like an actual error to me is the last line about an illegal character code (maybe LMS is returning improper XML?) If it reproduces again and actually impacts app usability, let me know and I'll look into it

stkw0 commented 1 month ago

Thanks. I tried to find if there was some similar issue but missed that :(