Win How to sort movies without using sets (in playlists)?
#1
Hello,

I know that if I use the setting:

System > Settings > Video > Library > Group movies in sets > Enable

then all movies that are in the same set (as per the scraper gathered information or by editing manually the NFO file) will be grouped and sorted.

This sort is done by default using the title but I can use <sorttitle></sorttitle>.

OK. As I don't like some "automatic sets" (like the one that group Disney Movies) I've disabled this settings but I have the information for set and sorttitle in the NFO files for my movies.

But ... this doesn't work. For example, these are fragments of 3 NFO files:

<title>Ice Age 3: El origen de los dinosaurios (La edad de hielo 3)</title>
<originaltitle>Ice Age: Dawn of the Dinosaurs (Ice Age 3)</originaltitle>
<sorttitle>Ice Age 3</sorttitle>

<title>Ice Age 2: El deshielo (La edad de hielo 2)</title>
<originaltitle>Ice Age 2: The Meltdown</originaltitle>
<sorttitle>Ice Age 2</sorttitle>

<title>Ice Age: La edad de hielo</title>
<originaltitle>Ice Age</originaltitle>
<sorttitle>Ice Age 1</sorttitle>

When I go the the Main Screen and select "Movies" then I get the movies in the right order:

<title>Ice Age: La edad de hielo</title>
<title>Ice Age 2: El deshielo (La edad de hielo 2)</title>
<title>Ice Age 3: El origen de los dinosaurios (La edad de hielo 3)</title>

but if I create a "playlist" that select by "path" containing "Kids" then I only can sort by "Title" so these movies appear in this order:

<title>Ice Age 2: El deshielo (La edad de hielo 2)</title>
<title>Ice Age 3: El origen de los dinosaurios (La edad de hielo 3)</title>
<title>Ice Age: La edad de hielo</title>

Why? Well, an "space" and "number" are lower than the ":" ...

My question is: is it possible to sort using <sorttitle> in playlists?

Thanks.
Reply
#2
Not currently by the looks. Should be a straight forward addition for someone interested in doing some new code for XBMC though. See xbmc/playlists/SmartPlaylist.h/cpp
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
#3
I have created PR876 for this as IMO it makes absolutely no sense to ignore sorttitle just for smartplaylists.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
Hello,
sorry if I'm reviving an old thread, but i noticed the same problem occurs when using tv shows smart playlists, i think the sorting code should use c07 instead of c10 for tvshows (that's what it says in the xbmc wiki..)
Reply

Logout Mark Read Team Forum Stats Members Help
How to sort movies without using sets (in playlists)?0