Kodi Community Forum
Smart Playlist: Ordered by First Aired Error - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Smart Playlist: Ordered by First Aired Error (/showthread.php?tid=95715)



Smart Playlist: Ordered by First Aired Error - westcoastbias - 2011-03-02

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?


- westcoastbias - 2011-03-03

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>


- jmarshall - 2011-03-03

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.


- westcoastbias - 2011-03-03

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.


- jmarshall - 2011-03-03

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?


- westcoastbias - 2011-03-03

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?


- jmarshall - 2011-03-03

It should be kept.