Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
playlist by airdate
#1
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?
Reply
#2
(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.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
<?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>
Reply
#4
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
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
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?
Reply
#6
(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.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
(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.
Reply
#8
(2024-11-19, 02:46)Fuchs2468 Wrote: I tested it, it works fine for me.
Ok, thanks. Something wrong at my end then.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
i tried the code it worked great, i'll learn the rules and groupings on the wiki.
Reply
#10
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.
Reply
#11
(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?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#12
(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_p...ing_block)
Reply
#13
(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
Reply
#14
(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
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#15
thanks i'll check that out, i guess we can consider this closed Smile
Reply

Logout Mark Read Team Forum Stats Members Help
playlist by airdate0