Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
reinholdk wrote: > This depends on how you've configured LMS to start. This registry key is > only available for the start mode 'Automatically run at system start'. > Which is the recommended way IMHO, because you don't need to login to > have LMS running. You can configure this in LMS Control Panel, but you > must start it as Administrator (there's a menu in the LMS tray icon for > that). > > If you want to keep your way of starting LMS and if it's configured to > start automatically when you login, then do this: > - open a file explorer window and type shell:startup in the address bar > and press enter. > - there should be an entry for LMS. Right-click on it and open the > Properties dialog. In the highlighted text field for the executable > scroll to the end and add a blank and then the --charset=utf8 string. > (If you're starting LMS manually then you could do the same with the LMS > symbol you're using to start LMS.) I replied at the original thread, sorry for that: https://forums.slimdevices.com/showthread.php?112269-Changing-Character-Encoding-in-LMS-V8-0-on-Windows-10=975934#post975934 but ... and finally I got the characters as they should be in the LMS web-interface! *I am really thankful to you reinholdk!* Rober's Profile: http://forums.slimdevices.com/member.php?userid=70228 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
Rober wrote: > I could navigate to: > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services > > but I can't find: *squeezesvc *there. > I am running Logitech Media Server Version: 8.0.0 - 1588308753 on > Windows 10 Verison 1909. > > Any hint on how to continue to add " --charset=utf8" ? > > Thanks in advance This depends on how you've configured LMS to start. This registry key is only available for the start mode 'Automatically run at system start'. Which is the recommended way IMHO, because you don't need to login to have LMS running. You can configure this in LMS Control Panel, but you must start it as Administrator (there's a menu in the LMS tray icon for that). If you want to keep your way of starting LMS and if it's configured to start automatically when you login, then do this: - open a file explorer window and type shell:startup in the address bar and press enter. - there should be an entry for LMS. Right-click on it and open the Properties dialog. In the highlighted text field for the executable scroll to the end and add a blank and then the --charset=utf8 string. (If you're starting LMS manually then you could do the same with the LMS symbol you're using to start LMS.) reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
bstrulo wrote: > > ... > > > - *Change your Logitech Media Server service to start with the UTF-8 > charset*. To do this, start "regedit" and navigate to this key > Code: > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\squeezesvc\IMAGEPATH > > and append " --charset=utf8" to the value. You need a space before > the hyphens, of course. - ... > > > > > I could navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services but I can't find: *squeezesvc *there. I am running Logitech Media Server Version: 8.0.0 - 1588308753 on Windows 10 Verison 1909. Any hint on how to continue to add " --charset=utf8" ? Thanks in advance Rober's Profile: http://forums.slimdevices.com/member.php?userid=70228 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
reinholdk wrote: > I have exactly the same LMS server info and I'm at Win10 v1903, but the > 8dot3name info looks interesting: it's enabled for my disk! OK - so that was the clue I needed. This thread describes what seems to be the same problem as I have: https://forums.slimdevices.com/showthread.php?106886-All-music-files-with-Chinese-and-Japanese-names-missing-after-scan/page2 This lists two possible workarounds: The first and probably most sensible is to enable "8dot3name" for the volume. You can do that using the "fsutil" command and it probably makes sense for most people. I haven't tried it but that thread strongly suggests that will work. More interesting to me, however, was the option to set the Windows locale to UTF-8. This is an experimental feature in Windows 10 since 1803 and although it was originally quite buggy, it seems to be getting better. So I'm giving that a try. For anyone else who wants to go down this route, these are the steps: - *Change your Logitech Media Server service to start with the UTF-8 charset*. To do this, start "regedit" and navigate to this key Code: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\squeezesvc\IMAGEPATH and append " --charset=utf8" to the value. You need a space before the hyphens, of course. - *Change Windows to the UTF-8 locale*. To do this go to the Control Panel > "Change date, time or number formats" > Administrative tab and then the "Change system locale ..." button. In there you check the "Beta: Use Unicode UTF-8 for worldwide language support" box and press OK. - *Cross your fingers and reboot*. Bear in mind that this does carry some risk of interfering with the operation of other older programs you might be running. Hope this helps someone! bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
bstrulo wrote: > So this is all the relevant config I could think of: > ... > I have exactly the same LMS server info and I'm at Win10 v1903, but the 8dot3name info looks interesting: it's enabled for my disk! reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
So this is all the relevant config I could think of: Squeeze server info: Code: Logitech Media Server Version: 7.9.2 - 1575296326 @ Mon Dec 2 15:38:15 WEST 2019 Operating system: Windows 10 - EN - utf8 Platform Architecture: 8664 Perl Version: 5.14.1 - MSWin32-x86-multi-thread Audio::Scan: 0.95 IO::Socket::SSL: 2.024 Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) Operating System: Code: Windows 10 Pro Version 1909 OS build 18353.535 Regional: United Kingdom Display Language: English (United Kingdom) (but US also installed) Disk - NTFS with 8dot3name support disabled: Code: PS C:\WINDOWS\system32> fsutil fsinfo volumeinfo d: Max Component Length : 255 File System Name : NTFS Not Thinly-Provisioned Supports Case-sensitive filenames Preserves Case of filenames Supports Unicode in filenames PS C:\WINDOWS\system32> fsutil 8dot3name query D: The volume state is: 1 (8dot3 name creation is disabled). The registry state is: 2 (Per volume setting - the default). Based on the above settings, 8dot3 name creation is disabled on D: PS C:\WINDOWS\system32> Any other config to check? bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
reinholdk wrote: > Did the same now and it works perfectly fine for me. I've even put the > file in a folder named HlaváÄek. The file is scanned by a 'look for > new & changed files' scan and shown in the 'New Music' section of the > library and I can play it. > 28915 > I can also navigate to it via 'Music Folder' without problems. Both from > web UI or player. > > Ragarding changing the LMS charset on Windows: > for a test, you could start SqueezeSvr.exe manually with argument > --charset=utf8 > To persist this change if LMS runs as a service append this argument (of > course seperated by a space) to the ImagePath value in the registry key > > Code: > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\squeezesvc > > Thank you, Reinhold. LMS works quite differently on Windows. bstrulo wrote: > That sounded like the right thing and I did it: the server information > page now says > > > Code: > > Operating system: Windows 10 - EN - utf8 > > > > so I think that's right (it used to be cp1252) but the file is still > not working - it still won't scan. Since it works for you we must be > close: there must be some config difference. Any idea what it might > be? Same here. The file is invisible to both "Music Folder" and "Disks and Folders" (Additional Browse Modes). Sorry, that's pretty much all I can contribute here. QLMS 7.9.2@2.04 x64 (digimaster) with perl 5.28 dedicated to me. :D / QNAP 469L QTS 4.3.4 dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
reinholdk wrote: > for a test, you could start SqueezeSvr.exe manually with argument > --charset=utf8 > That sounded like the right thing and I did it: the server information page now says Code: Operating system: Windows 10 - EN - utf8 so I think that's right (it used to be cp1252) but the file is still not working - it still won't scan. Since it works for you we must be close: there must be some config difference. Any idea what it might be? bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
dolodobendan wrote: > I renamed one file to "01 - Violin Concerto No. 1 in A minor > (Hlaváek) - I. Allegro Moderato" in my Windows Test LMS and > observe the same issue here: The file is ignored. > > How do you switch to UTF8? I did this on my NAS, but couldn't find where > to do that in my Windows LMS. Did the same now and it works perfectly fine for me. I've even put the file in a folder named Hlaváek. The file is scanned by a 'look for new & changed files' scan and shown in the 'New Music' section of the library and I can play it. 28915 I can also navigate to it via 'Music Folder' without problems. Both from web UI or player. Ragarding changing the LMS charset on Windows: for a test, you could start SqueezeSvr.exe manually with argument --charset=utf8 To persist this change if LMS runs as a service append this argument (of course seperated by a space) to the ImagePath value in the registry key Code: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\squeezesvc +---+ |Filename: Hlavek.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=28915| +---+ reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
reinholdk wrote: > I'm running the same LMS version on Win 10 and I have a quite a few of > such files and they work flawlessly, like > > > Code: > > > 22 - Bani Adam (èÃÂàâïà).flac > 02 - Zblià ¼a siànowe.flac > 02 - ÃÂú Ert Jörðin.flac > > > > > I vaguely remember there was an issue with Browse Music Folder with > such folder names but this is fine now. > > What are your LMS charset settings? See Settings->Information: > Operating system. > I used the default charset of cp1252 which used to work fine, but > changed to utf8 some time ago. Don't remember why (maybe string > sorting issues). > > And I'm not sure if the '?' in the log message is really unexpected, > because I think this is just the console output which uses a different > charset. I renamed one file to "01 - Violin Concerto No. 1 in A minor (HlaváÄek) - I. Allegro Moderato" in my Windows Test LMS and observe the same issue here: The file is ignored. How do you switch to UTF8? I did this on my NAS, but couldn't find where to do that in my Windows LMS. QLMS 7.9.2@2.04 x64 (digimaster) with perl 5.28 dedicated to me. :D / QNAP 469L QTS 4.3.4 dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
I'm running the same LMS version on Win 10 and I have a quite a few of such files and they work flawlessly, like Code: 22 - Bani Adam ( ).flac 02 - Zblia si nowe.flac 02 - Þú Ert Jörðin.flac I vaguely remember there was an issue with Browse Music Folder with such folder names but this is fine now. What are your LMS charset settings? See Settings->Information: Operating system. I used the default charset of cp1252 which used to work fine, but changed to utf8 some time ago. Don't remember why (maybe string sorting issues). And I'm not sure if the '?' in the log message is really unexpected, because I think this is just the console output which uses a different charset. reinholdk's Profile: http://forums.slimdevices.com/member.php?userid=36070 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
bstrulo wrote: > Just to add some more info in case it's useful: > > If I turn on logging during the scan I get this: > > > Code: > > [20-01-04 13:32:09.3480] Slim::Utils::Scanner::Local::Async::__ANON__ (149) Found D:\AudioMaster\Classical New\J.S. Bach\Piano and Violin Concertos No 1 (RIchter and Hlavacek)\01 - Violin Concerto No. 1 in A minor (Hlavá?ek) - I. Allegro Moderato.flac > > > > > where you can see that the special "c" character has been replaced by > a "?". From then on the file is not mentioned in the log: so it's not > read for its tags. When I have had issues with accents (MusicIP didn't like them) I found a "Diacritics remover" Windows program to automatically remove them. Sent from my Pixel 3a using Tapatalk slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS not seeing files with non-Latin characters in the filename (Windows)
Just to add some more info in case it's useful: If I turn on logging during the scan I get this: Code: [20-01-04 13:32:09.3480] Slim::Utils::Scanner::Local::Async::__ANON__ (149) Found D:\AudioMaster\Classical New\J.S. Bach\Piano and Violin Concertos No 1 (RIchter and Hlavacek)\01 - Violin Concerto No. 1 in A minor (Hlavá?ek) - I. Allegro Moderato.flac where you can see that the special "c" character has been replaced by a "?". From then on the file is not mentioned in the log: so it's not read for its tags. bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997 View this thread: http://forums.slimdevices.com/showthread.php?t=111436 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter