Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception: U_INVALID_CHAR_FOUND #118

Closed
douknoukkem opened this issue Sep 27, 2017 · 1 comment
Closed

exception: U_INVALID_CHAR_FOUND #118

douknoukkem opened this issue Sep 27, 2017 · 1 comment

Comments

@douknoukkem
Copy link

douknoukkem commented Sep 27, 2017

Weird tags or filenames will leave MPD unresponsive and require kill -9. The first two files (vaporwave) has tags/filenames that are intentionally as weird as possible. The third one is relatively normal. They also happen to all be in zip files. I just need it to not freeze.

I'm pretty sure the first two files are public domain, so I'm going to link them here:
https://a.doko.moe/iqjcub.zip
https://a.doko.moe/urlqwr.zip

log.txt

Sep 25 23:35 : playlist: queue song 1:"notanime/vaporwave.me/TRVCXR/TRVCXR - DREAM MALL おやすみなさい 2 0 0 1/TRVCXR - DREAM MALL おやすみなさい 2 0 0 1.zip/TRVCXR - cqdl lkk ₷݂Ȃ 2 0 0 1 - 02 v ` x M͂ǂȂƂꏏł.flac"
Sep 25 23:35 : exception: U_INVALID_CHAR_FOUND

Sep 26 01:53 : playlist: queue song 1:"notanime/vaporwave.me/bl00dwave/bl00dwave - SEA VIBES/bl00dwave - SEA VIBES_mp3.zip/bl00dwave - rd` uhadr - 07 r.mp3"
Sep 26 01:53 : exception: U_INVALID_CHAR_FOUND

Sep 27 08:16 : playlist: queue song 1:"high-res/umbrellafactor/[umbrellafactor] (Hi-Res) LiSA - LUCKY Hi FiVE! (FLAC 24bit/96kHz).zip/[umbrellafactor] (Hi-Res) LiSA - LUCKY Hi FiVE! (FLAC 24bit^96kHz)/2-0007147048.4608.flac"
Sep 27 08:16 : exception: U_INVALID_CHAR_FOUND

@MaxKellermann
Copy link
Member

btw. I did some research on why the file name is broken in the first place - it turns out that your ZIP file encodes the file names in an encoding that is unknown to be - it's not UTF-8 (Unicode). In addition, each file name has an "UnicodePath" (0x7075) entry with the same name encoded in UTF-8. However, the zziplib library used by MPD does not know this extension and ignores it silently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants