alfista wrote: 
> I tried to browse "Music Folder" and by happenstance noticed one album
> was missing. Given that it's shown in the Standard skin it would suggest
> it's a problem with Material, but I'm not ready to place the blame just
> yet.
> 
> It's clearly been scanned, and I don't see anything odd in the logs, but
> I sniffed the traffic and saw something odd in the jsonrpc reply.
> > 
Code:
--------------------
  >   > 
{"method":"slim.request","result":{"count":6,"fsitems_loop":[{"path":"/storage/music/flac/Motörhead/Ace
 of Spades (compilation)","name":"Ace of Spades 
(compilation)","isfolder":"1"},{"path":"/storage/music/flac/Motörhead/Aftershock","name":"Aftershock","isfolder":"1"},{"path":"/storage/music/flac/Motörhead/Bad
 Magic","name":"Bad 
Magic","isfolder":"1"},{"path":"/storage/music/flac/Motörhead/Take No Prisoners 
[1]","name":"Take No Prisoners 
[1]","isfolder":"1"},{"path":"/storage/music/flac/Motörhead/Take No Prisoners 
[2]","name":"Take No Prisoners 
[2]","isfolder":"1"},{"path":"/storage/music/flac/Motörhead/The Wörld Is 
Yours","name":"The Wörld Is 
Yours","isfolder":null}]},"params":["00:04:20:12:70:04",["readdirectory","0",25000,"folder:/storage/music/flac/Motörhead"]],"id":1}
--------------------
> > 
> 
> The last album is the missing one, and that entry looks odd. The "ö"
> in the directory name is garbled, while it's correct for the parent
> directory, and "isfolder" is set to null. I can't see anything odd in
> the filenames when logging in to the server, and looking in the
> database the names seem to have been picked up correctly.
> 
> Server is a Vortexbox (Fedora) running LMS 7.9.1 and Material 0.9.3

This -looks- like an encoding issue, perhaps with LMS. I've just created
a folder with "ö" on my system to test, and it is working fine. However,
this is on Ubuntu 19.04 with LMS 7.9.2.

I'd guess what is happening is that the badly encoded character is
breaking the JSON parsing of the response - do you get any errors logged
in the console tab of your browser's developer tools? Even so, this
response is from LMS, and if it is badly encoded the issue is with LMS.


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to