Posts: 151
Joined: Nov 2008
Reputation:
2
So I am trying to create a smartplaylist using first aired sorted descending as the ordered by. I just cant get it to work.
I have:
Type -> Episodes
Playcount = 0
Ordered by First Aired sorted desecending.
What am I doing wrong here?
Posts: 151
Joined: Nov 2008
Reputation:
2
Because that probably wasnt helpful here is the code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
<name>New TV Shows</name>
<match>all</match>
<rule field="playcount" operator="is">0</rule>
<limit>25</limit>
<order direction="descending">airdate</order>
</smartplaylist>
Posts: 26,215
Joined: Oct 2003
Reputation:
187
I presume nothing is listed? Try playcount < 1 instead. If that works, make sure you let us know, as ideally this case would be taken care of.
Posts: 151
Joined: Nov 2008
Reputation:
2
No, that actually works fine. The issue is that it doesnt sort properly.
I cant seem to find a pattern either. It looks like it generally ascends instead of descends however if I switch it then it pulls shows from the 1990s as those are my earliest aired.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
It's probably sorting alphabetically by that field rather than sorting by date, though I should think that would work either way (as I presume the dates are yyyy-mm-dd anyway).
You have "Sort by playlist" enabled, right?
Posts: 151
Joined: Nov 2008
Reputation:
2
Its not alphabetical.
I dont think I have that enabled. Where is that, its not an option when I create the playlist using the gui.
EDIT: Found it. Is this somethign I have to do everytime I access the playlist or will it remember its last setting?