FAQ  •  Register  •  Login

Serviio not scanning directories with accentuated characters

<<

Lefuneste

Serviio newbie

Posts: 2

Joined: Sat Oct 13, 2012 3:44 pm

Post Sat Oct 13, 2012 3:58 pm

Serviio not scanning directories with accentuated characters

Hi guys,

I am posting this message as I require a little assistance in resolving an issue which seems well contained now after numerous tests.
I am running Serviio on a Linux Mint 13 64 bits. I have compiled ffmpeg as described and everything runs fine.
I am stuck with one remaning issue which seems rather stupid. I am trying to list as a files source my local user "Videos" directory. As my system is localised in French the name of this directory by default is "Vidéos".
After adding this directory to the console, I get the following Warning in the serviio.log file

2012-10-13 17:28:27,474 WARN [LibraryAdditionsCheckerThread] Folder '/home/MYUSER/Vidéos' is either not an existing directory or cannot be read due to access rights

I thought for a while that this was due to permissions, and started changing owners and mod to 777. I kept having the exact same message.

So I tried to rename the directory to "Videos" without the accentuated character and then it started scanning the directories fine.
So my Serviio does not accept this accentuated directory name which is weird as my locales are as follow.

LANG=fr_FR.UTF-8
LANGUAGE=fr_FR:fr:en_GB:en
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8

The only topic I've found is on the Serviio FAQ "My files with accents in their names are not detected" and says :
If you are on a Linux based OS, make sure your system locale / default character set is set to UTF-8.

Any idea of what I need to change in my install to have the Serviio process accept accentuated characters?

Thanks!!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 15, 2012 7:15 pm

Re: Serviio not scanning directories with accentuated charac

is the locale system-wide or per user? If the latter make sure to run Serviio as the proper user.
<<

Lefuneste

Serviio newbie

Posts: 2

Joined: Sat Oct 13, 2012 3:44 pm

Post Tue Oct 16, 2012 12:57 am

Re: Serviio not scanning directories with accentuated charac

Hi there and thanks for the reply.

The locale is the output I get from the command
> sudo locale
So this is root level, but maybe there is another level of locale parameters. So far I haven't been able to find it, and I acknowledge that the locale set of parameters is quite obscure for me.

How can I check if I have the proper settings ?

The server Serviio runs at network startup under the root login. I've applied the procedure described here.

http://wiki.serviio.org/doku.php?id=how ... all:ubuntu

I confirm that the server process runs under root account.

I confirm that the directories are accessible as soon as I remove the accentuated character.

my /etc/environment file is

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANGUAGE="fr_FR:fr:en_GB:en"
LANG="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"

My /etc/default/locale is :

LANG="fr_FR.UTF-8"
LANGUAGE="fr_FR:fr:en_GB:en"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"

I see that the environment file lacks the paramter LC_ALL. Would this be sufficient to explain the behaviour?

Any ideas ?
<<

Xtream

Serviio newbie

Posts: 8

Joined: Sat Jun 04, 2011 5:46 am

Post Tue Dec 25, 2012 10:11 pm

Re: Serviio not scanning directories with accentuated charac

i've the same problem since i update my servio 1.0 version to 1.0-014 (last Synology distribution).
With the old version, all my directory was well scaned.

is it a bug ?
<<

Xtream

Serviio newbie

Posts: 8

Joined: Sat Jun 04, 2011 5:46 am

Post Wed Dec 26, 2012 12:25 am

Re: Serviio not scanning directories with accentuated charac

i've found the solution on http://pcloadletter.co.uk website

patters says :
Stop Serviio and reinstall the Java package. DSM updates break the UTF-8 character set support.


i've done it and serviio scan now all my files and directory with accentua :D
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Dec 26, 2012 10:36 am

Re: Serviio not scanning directories with accentuated charac

Great, thanks for the feedback.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 81 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.