Snakeoil Forums
[SOLVED] Minimserver doesn't scan folders - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics)
+--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting)
+--- Thread: [SOLVED] Minimserver doesn't scan folders (/Thread-SOLVED-Minimserver-doesn-t-scan-folders)

Pages: 1 2


Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 30-Mar-2019

Hi, I have a problem
Minimserver doesn't scan folders whose names contain umlauts.
For example, mconnect control point does not see the folder
Ståle Storløkken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}.
Only after renaming the folder to Stale Storlokken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}
the folder becomes available for playback.


RE: Minimserver doesn't scan folders - agent_kith - 31-Mar-2019

(30-Mar-2019, 11:48 PM)Aliaksandr Zeliankouski Wrote: Hi, I have a problem
Minimserver doesn't scan folders whose names contain umlauts.
For example, mconnect control point does not see the folder
Ståle Storløkken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}.
Only after renaming the folder to Stale Storlokken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}
the folder becomes available for playback.

That's a weird one. What about filenames? i.e. normal folder, but the tracks ha umlauts, do they scan properly?


RE: Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 31-Mar-2019

(31-Mar-2019, 10:15 AM)agent_kith Wrote:
(30-Mar-2019, 11:48 PM)Aliaksandr Zeliankouski Wrote: Hi, I have a problem
Minimserver doesn't scan folders whose names contain umlauts.
For example, mconnect control point does not see the folder
Ståle Storløkken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}.
Only after renaming the folder to Stale Storlokken - 2019 - The Haze Of Sleeplessness {HUBRO CD2616}
the folder becomes available for playback.

That's a weird one. What about filenames? i.e. normal folder, but the tracks ha umlauts, do they scan properly? 
Yes exactly.
Inside folders with a normal name, umlaut files are scanned normally.


RE: Minimserver doesn't scan folders - agent_kith - 01-Apr-2019

(31-Mar-2019, 11:47 AM)Aliaksandr Zeliankouski Wrote: Yes exactly.
Inside folders with a normal name, umlaut files are scanned normally. 
Can't find any configuration options for this. Can you do some testing for me? Switch over to MPD, and do a file scan, do those contents show up?

During the Snakeoil install, what language did you pick?


RE: Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 01-Apr-2019

(01-Apr-2019, 08:12 AM)agent_kith Wrote:
(31-Mar-2019, 11:47 AM)Aliaksandr Zeliankouski Wrote: Yes exactly.
Inside folders with a normal name, umlaut files are scanned normally. 
Can't find any configuration options for this. Can you do some testing for me? Switch over to MPD, and do a file scan, do those contents show up?

During the Snakeoil install, what language did you pick? 

With MPD and Squeezelite there are no problems. Only with Minimserver.

Language I chose English.


RE: Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 30-May-2021

Hi,
Since this problem has not been solved for me yet, maybe this will help solve it. In the log file of the minimserver installed on Snakeoil, the Platform default charset is ISO-8859-1, while the minimserver on Synology NAS has Platform default charset is UTF-8. Can I change the default charset without reinstalling Snakeoil?


RE: Minimserver doesn't scan folders - agent_kith - 30-May-2021

(30-May-2021, 04:40 AM)Aliaksandr Zeliankouski Wrote: Hi,
Since this problem has not been solved for me yet, maybe this will help solve it. In the log file of the minimserver installed on Snakeoil, the Platform default charset is ISO-8859-1, while the minimserver on Synology NAS has Platform default charset is UTF-8. Can I change the default charset without reinstalling Snakeoil?

Can you modify /var/www/players/minimserver/start.sh
Code:
#!/bin/bash
LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" /opt/minimserver/bin/startd
exit 0

(You can change en_US to another region). Now restart minimserver, does it work for you now?

Also, what version of Ubuntu are you using? Even with 16.04 I'm already on UTF8 I believe. 8859-1 I believe is ASCII which hasn't really been used in a long time.


RE: Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 30-May-2021

(30-May-2021, 08:39 AM)agent_kith Wrote:
(30-May-2021, 04:40 AM)Aliaksandr Zeliankouski Wrote:  

Can you modify /var/www/players/minimserver/start.sh
 
Code:
#!/bin/bash
LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" /opt/minimserver/bin/startd
exit 0

I turned off the minimserver. I login through putty. I found the start.sh file, but I could not change it, because I have no write permission.


RE: Minimserver doesn't scan folders - agent_kith - 30-May-2021

(30-May-2021, 01:11 PM)Aliaksandr Zeliankouski Wrote:
(30-May-2021, 08:39 AM)agent_kith Wrote:
(30-May-2021, 04:40 AM)Aliaksandr Zeliankouski Wrote:  

Can you modify /var/www/players/minimserver/start.sh
 
Code:
#!/bin/bash
LC_ALL="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" /opt/minimserver/bin/startd
exit 0

I turned off the minimserver. I login through putty. I found the start.sh file, but I could not change it, because I have no write permission.

Add "sudo" before any command you run to get the permissions, be it "sudo vi start.sh" or "sudo pico start.sh".


RE: Minimserver doesn't scan folders - Aliaksandr Zeliankouski - 30-May-2021

(30-May-2021, 02:55 PM)agent_kith Wrote: Add "sudo" before any command you run to get the permissions, be it "sudo vi start.sh" or "sudo pico start.sh".

yes yes yes yes wow
Everything worked. Thanks a lot. The problem has been resolved. The thread can be closed.