[Help] Smart Playlist rules don't work

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DoctorBR Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #11
Something is still wrong!

After using <order direction="ascending">time</order> in my smart playlists, the films lasting less than 100 minutes are shown after the movies longer than 100 minutes.

For example, the list starts with 100, 101, 102 ... 105, but should start with 91. The worst part is that only after the last film in the hundred (105 minutes) films less than 100 minutes to appear (91, 92, 93 ... 99).

What am I doing wrong now?:

Code:
<? xml version = "1.0" encoding = "UTF-8" standalone = "yes"?>
   <smartplaylist type="movies">
         <name> 1h31min to 1h45min </ name>
         <match> one </ match>
         <rule field="time" operator="greaterthan"> 01:30 </ rule>
         <rule field="time" operator="lessthan"> 01:46 </ rule>
        <order direction="[b]ascending[/b]"> time </ order>
   </ smartplaylist>
Thanks in advance.
(This post was last modified: 2011-10-11 03:09 by DoctorBR.)
find quote
>>X<< Offline
Alaska Group
Posts: 2,899
Joined: Jun 2009
Location: On a farm trying to catch a fox
Post: #12
In your above playlist you have

<match>one</ match>

It needs to be the below for it to work

<match>all</ match>

Current HTPC Lian-Li PC-C37 • Gigabyte GA-E7AUM-DS2H • Intel C2D E8400 E0 Stepping • OCZ Vertex SSD • 4GB Corsair TwinX XMS2 DDR2 • Corsair HX650W Modular PSU (Free Upgrade) • LG CH08LS10 Blu-Ray Drive • Scythe Big Shuriken • Acousti DustPROOF 70mm Fan
(This post was last modified: 2011-10-11 14:09 by >>X<<.)
find quote
DoctorBR Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #13
If I use <match> all </ match> nothing shows up (the smart playlist is empty.)

Any other suggestions?
find quote
>>X<< Offline
Alaska Group
Posts: 2,899
Joined: Jun 2009
Location: On a farm trying to catch a fox
Post: #14
Yeah there's something strange going on there unless I'm missing something just editing a working playlist to use greater than 01:30 that's working and set to "all" stops it working

It works if you use "one" but seems to order each list/rule separately which is why you get the ordering in your previous post

Using match one isn't any good anyway as your get everything above and below the times you choose

Sorry to say I don't have the answer to this one Frown

Current HTPC Lian-Li PC-C37 • Gigabyte GA-E7AUM-DS2H • Intel C2D E8400 E0 Stepping • OCZ Vertex SSD • 4GB Corsair TwinX XMS2 DDR2 • Corsair HX650W Modular PSU (Free Upgrade) • LG CH08LS10 Blu-Ray Drive • Scythe Big Shuriken • Acousti DustPROOF 70mm Fan
(This post was last modified: 2011-10-11 21:10 by >>X<<.)
find quote
DoctorBR Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #15
&gt;&gt;X&lt;&lt; Wrote:Yeah there's something strange going on there unless I'm missing something just editing a working playlist to use greater than 01:30 that's working and set to "all" stops it working
Exactly!

&gt;&gt;X&lt;&lt; Wrote:It works if you use "one" but seems to order each list/rule separately which is why you get the ordering in your previous post

Using match one isn't any good anyway as your get everything above and below the times you choose

Sorry to say I don't have the answer to this one Frown

I think that is a bug, right?

Any way, thanks for your help.
find quote
DoctorBR Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #16
Someone else makes a guess?
find quote
DoctorBR Offline
Junior Member
Posts: 14
Joined: Sep 2011
Reputation: 0
Post: #17
Does anyone else know if it's a bugor if I'm still doing something wrong?
Confused
find quote
daanwillems Offline
Junior Member
Posts: 12
Joined: Apr 2012
Reputation: 0
Post: #18
Something seems indeed wrong with this type of playlist.
I just tried the 120-180 minutes example above that people reported working on my Ubuntu 12.04/XBMC Eden setup, but the returned items do not match the criteria in both selection and sorting.
For example, Sintel, a 14minute short was included. The sorting is by no means descending or ascending. It seems quite random actually.

As I was actually looking to create a smart playlist listing movies up to 90minutes. I tried to create a playlist with just one rule: lessthan 1:30. To avoid the mentioned 'match all' bug, I set it to 'match one', but no luck, still returns garbage.
find quote
sho Offline
Team-XBMC Member
Posts: 4,133
Joined: May 2004
Reputation: 3
Post: #19
Please report as a ticket on trac.

Edit: Could this be it?
http://trac.xbmc.org/ticket/10913

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.
(This post was last modified: 2012-05-03 02:34 by sho.)
find quote
daanwillems Offline
Junior Member
Posts: 12
Joined: Apr 2012
Reputation: 0
Post: #20
(2012-05-03 01:13)sho Wrote:  Please report as a ticket on trac.

Edit: Could this be it?
http://trac.xbmc.org/ticket/10913

Ticket submitted here:
http://trac.xbmc.org/ticket/12987
find quote
Post Reply