Thank you for your donation!


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


Solved: mpd error malformed utf-8 characters, possibly incorrectly encoded
#34
(05-20-2022, 11:23 AM)Tim Curtis Wrote:
(05-20-2022, 04:52 AM)chaos333 Wrote:
(05-18-2022, 02:55 PM)Tim Curtis Wrote: Cool. I'll add them to upcoming 8.1.0

thanks.

but still the mpd erro malform problem happen when i choose chinese album to play and not solve yet.
i though it was solved after clear cache. but
even after i reconnect the first Nas and read the chinese alburms, it happen again.


dont know how to proceed..

That error which is referenced in your first post https://moodeaudio.org/forum/showthread....7#pid41037 looks like it might be coming from the front-end Javascript routine that tries to parse the JSON encoded metadata being sent by MPD.

Zip up one of the files and PM a download link to @TheOldPresbyope and myself and we will take a look at the Browser console with Debug logging turned on (System config).

The code block below from playerlib.js is what may be generating the error.
https://developer.mozilla.org/en-US/docs...JSON/parse
https://developer.mozilla.org/en-US/docs...yntaxError


Code:
// Always have valid json
try {
   MPD.json = JSON.parse(data);
   //console.log(MPD.json);
}
   catch (e) {
   MPD.json['error'] = e;
}
hi Tim,
thanks.
but how i can proceed to zip? sorry i know nothing of the linux scrip and i can only using ssh to log into the moode..
please if yo have time, show some detail step for a newbie like me to do.
thanks.
Reply


Messages In This Thread
RE: mpd error malformed utf-8 characters, possibly incorrectly encoded - by chaos333 - 05-21-2022, 11:13 AM

Forum Jump: