Windows How to sort movies without using sets (in playlists)?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
serieofilo Offline
Member
Posts: 65
Joined: Sep 2011
Reputation: 0
Location: Barcelona, Spain
Post: #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.

Desktop & HTPC System:
Intel Core 2 Quad Q9450 @ 2.66GHz || 4 x 2GB DDR2-1066 Kingston @ 1066MHz
Sapphire HD 6450 1GB || Dell UltraSharp 2009W @ 1680x1050 (using DVI) || Philips LCD 42PFL8404H @ 1920x1080 (using HDMI through Yamaha SR-301)
Yamaha YHT-S401 (SR-301 Receiver + NS-BR301 Speaker)
Hauppauge WinTV-HVR-4000
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #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: badge.gif]
find quote
Montellese Online
Team-XBMC Developer
Posts: 2,790
Joined: Jan 2009
Reputation: 20
Location: Switzerland
Post: #3
I have created PR876 for this as IMO it makes absolutely no sense to ignore sorttitle just for smartplaylists.

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: badge.gif]
find quote
orewagundam79 Offline
Junior Member
Posts: 19
Joined: Jan 2012
Reputation: 1
Post: #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..)
find quote