Smart playlist with accented char can't be displayed
#1
Hi.

Some french users have build smart playlists to separate animated movies from regular movies.

And when they create the smart playlist, they call it Animés.

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="movies">
    <name>Animés</name>
    <match>all</match>
    <rule field="path" operator="contains">
        <value>Dessins</value>
    </rule>
</smartplaylist>

But XBMC is not able to display the content of such smart playlist and ERROR are written in log file :

Code:
13:14:40 T:876   ERROR: XFILE::CDirectory::GetDirectory - Error getting special://profile/playlists/video/Animés.xsp
13:14:40 T:876   ERROR: CGUIMediaWindow::GetDirectory(special://profile/playlists/video/Animés.xsp) failed
13:14:40 T:876   ERROR: Error loading Smart playlist (failed to parse xml: Error reading end tag.)

By simply changing smart playlist name from <name>Animés</name> to <name>Animes</name> fix the problem.

So this is a work around but does XBMC can handle properly accented characters in smart playlist name ?

Thanks.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#2
which os? i'm gonna guess at the one starting with a w.

file system encodings are a never ending mess. somewhere it's not translating from UTF-8 to the wide representation needed on windows. try sticking it in a file without the accent and see if it works then. you should not have to replace the name of the playlist, just the file name.

the xsp itself runs fine on my linux box with or without the evil name (not that i have any movies matching).
Reply
#3
You win : Windows XP SP3 Big Grin

I'm OK with you and I never use éèà... for naming my files or folders.

So :
* Animés.xsp and <name>Animés</name>, XBMC is not able to show me the smart playlist content.
* Animés.xsp and <name>Animes</name>, it's OK
* Animes.xsp and <name>Animés</name>, XBMC is not able to show me the smart playlist content.
* Animes.xsp and <name>Animes</name>, it's OK
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#4
Every thing is OK with new script.playlist release :

http://forum.xbmc.org/showthread.php?tid...pid1329423

Even with smart playlist named Animés.

I think that it was my fault as I was only editing XSP file, not creating it by XBMC.
Sorry for my english, but, you know, I'm French so ...

Main HTPC : Odroid-C2 running CoreELEC with Titan Bingie
Secondary HTPC : Freebox Mini 4K running Android TV with Titan Bingie
Reply
#5
The XML probably wasn't utf8.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Smart playlist with accented char can't be displayed0