Kodi Community Forum
playlist by airdate - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264)
+--- Thread: playlist by airdate (/showthread.php?tid=379453)



playlist by airdate - sk8erguitars - 2024-11-18

i'm trying to make a playlist of shows that aired on 02/28/1992. i tried by tv show and by episode i couldn't find theĀ  airdate option only firstaired but that didn't work, any suggestions?


RE: playlist by airdate - Karellen - 2024-11-18

(2024-11-18, 22:28)sk8erguitars Wrote: i couldn't find theĀ  airdate option only firstaired
It is the same. There is no database that Kodi uses that tracks all the airdates for episodes, only the first time it was aired.

(2024-11-18, 22:28)sk8erguitars Wrote: i'm trying to make a playlist of shows that aired on 02/28/1992
Can you post the code from the xml file, or a screenshot of the playlist edit screen showing your setup.


RE: playlist by airdate - sk8erguitars - 2024-11-18

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
<name>tv</name>
<match>all</match>
<rule field="airdate" operator="inthelast">
<value>02/28/1992</value>
</rule>
<order direction="ascending">lastplayed</order>
</smartplaylist>


RE: playlist by airdate - Karellen - 2024-11-19

Your code is wrong. Two problems.

1. The <value> must use the format 1992-02-28 and
2. You want a specific date, so using inthelast is incorrect, as this means episodes in the last x days from today.

You need something like this...
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="episodes">
<name>Episodes-25Mar2024</name>
<match>all</match>
<rule field="airdate" operator="before">
<value>2024-03-26</value>
</rule>
<rule field="airdate" operator="after">
<value>2024-03-24</value>
</rule>
</smartplaylist>

But...
This does not seem to be working, for some reason. I have asked a developer to look into it.
Give it a try on your system anyway in case it is only a gremlin on my system


RE: playlist by airdate - sk8erguitars - 2024-11-19

i setup that in the gui, the date was input using the num pad that pops up, it seems kodi entered it wrong on the xml. should i build a xml to test or try the gui?


RE: playlist by airdate - Karellen - 2024-11-19

(2024-11-19, 02:00)sk8erguitars Wrote: i setup that in the gui, the date was input using the num pad that pops up
That is really weird. The code is using slashes instead of hyphens, and the wrong American date format is used.
Copy my code block above into your xml file and change the dates in the value tags.


RE: playlist by airdate - Fuchs2468 - 2024-11-19

(2024-11-19, 01:06)Karellen Wrote: But...
This does not seem to be working, for some reason. I have asked a developer to look into it.
Give it a try on your system anyway in case it is only a gremlin on my system

I tested it, it works fine for me.


RE: playlist by airdate - Karellen - 2024-11-19

(2024-11-19, 02:46)Fuchs2468 Wrote: I tested it, it works fine for me.
Ok, thanks. Something wrong at my end then.


RE: playlist by airdate - sk8erguitars - 2024-11-19

i tried the code it worked great, i'll learn the rules and groupings on the wiki.


RE: playlist by airdate - sk8erguitars - 2024-11-19

i think i'm going in the wrong direction with this, would you be so kind and give me an opinion on how you'd do it? I'd like to make a tgif list, shows that aired on friday. should i just tag the shows as tgif and make a playlist that way? or do it some other way? i found the wiki to tag things. i just don't want to do something wrong and the hard way when there could be a way easier option.


RE: playlist by airdate - Karellen - 2024-11-19

(2024-11-19, 06:44)sk8erguitars Wrote: tgif list
What is a tgif list?
And by Friday, you mean always the Friday just past?... a rolling Friday?


RE: playlist by airdate - izprtxqkft - 2024-11-19

(2024-11-19, 06:47)Karellen Wrote: What is a tgif list?
And by Friday, you mean always the Friday just past?... a rolling Friday?

probably trying to recreate the old lineup https://en.wikipedia.org/wiki/TGIF_(TV_programming_block)


RE: playlist by airdate - sk8erguitars - 2024-11-19

(2024-11-19, 06:47)Karellen Wrote:
(2024-11-19, 06:44)sk8erguitars Wrote: tgif list
What is a tgif list?
And by Friday, you mean always the Friday just past?... a rolling Friday?
a line up of shows like izprtxqkft said, sorry about the long delays


RE: playlist by airdate - Karellen - 2024-11-19

(2024-11-19, 08:41)sk8erguitars Wrote: a line up of shows like izprtxqkft said, sorry about the long delays
Hmmm, I cannot think of a way to do this with Smart Playlists

Instead, maybe you should check this out... https://forum.kodi.tv/showthread.php?tid=355549


RE: playlist by airdate - sk8erguitars - 2024-11-19

thanks i'll check that out, i guess we can consider this closed Smile