tals wrote: 
> 
> When delete some files with non-ANSI characters and rescan, non-human
> readable logs are produced:
> [19-11-01 17:01:48.6549] Slim::Utils::Scanner::Local::deleted (582)
> Handling deleted audio file
> file:///DataVolume/Public/Shared%20Music/%D0%9A%D0%B8%D0%BD%D0%BE/2010_%D0%9B%D1%83%D1%87%D1%88%D0%B5%D0%B5_(CD3)/01._%D0%93%D1%80%D1%83%D0%BF%D0%BF%D0%B0_%D0%BA%D1%80%D0%BE%D0%B2%D0%B8.flac
> 
> The following logs are expected instead:
> [19-11-01 17:01:48.6549] Slim::Utils::Scanner::Local::deleted (582)
> Handling deleted audio file file:///DataVolume/Public/Shared
> Music/Кино/2010_Лучшее_(CD3)/01._Группа_крови.flac
> 
> Is it possible to configure LMS to get human readable logs or do I miss
> anything?
> 

LMS url-encodes paths (which is the correct way to handle them), and
that's the representation you see in the logs.
If you want to have the un-encoded version, here's a bash function:

Code:
--------------------
    
  urldecode(){
  echo -e "$(sed 's/+/ /g;s/%\(..\)/\\x\1/g;')"
  }
  
--------------------

then you can do this:
cat server.log|urldecode



SW: 'Web UI for LMS'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
| 'Playlist Editor / Generator'
(http://forums.slimdevices.com/showthread.php?108199-Announce-LMS-Playlist-Editor)
| 'Music Classification'
(http://forums.slimdevices.com/showthread.php?108278-Announce-Essentia-Integration-music-classification-(moods-genres-))
| 'Similar Music'
(http://forums.slimdevices.com/showthread.php?108495-Announce-LMSmusly-play-similar-music)
| 'LMSlib2go' (https://www.nexus0.net/pub/sw/lmslib2go/)
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth/ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=111147

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

Reply via email to