Posts: 5
Joined: Jan 2020
Reputation:
0
I would like to create a smart playlist that finds all TV shows that are half hour based (vs the hour long TV shows). I can't find any information on the episode "Time" field. Is this the total time of the episode? In progress time?
Has anyone already created such a playlist? Is there a central place where playlists have been uploaded and saved?
Any help is appreciated.
Posts: 890
Joined: Jan 2019
Reputation:
272
You should look under episodes then you will also find durations for episodes.
Posts: 5
Joined: Jan 2020
Reputation:
0
I was able to get the half hour episodes to work (that is a huge list). I was hoping to use "tv shows" and not "episodes" for the type of playlist. Looks like this is impossible to do (create a TV Show playlist containing only half hour shows).
Posts: 481
Joined: May 2014
Reputation:
34
Can you post your xsp? The one I came up with is returning episodes much longer than 30 mins. I tried seconds, minutes, HH:MM and HH:MM:SS for the value and it didn't seem to work right with any of them.
Posts: 481
Joined: May 2014
Reputation:
34
Well over half of my c09 column in the episodes table is zeroes, is this one of those attributes that only gets checked and entered into the db when you access the episode in some way via the Kodi GUI?
SELECT * FROM episode:
39,707 results
SELECT * FROM episode WHERE c09 = 0
23,306 results
Posts: 481
Joined: May 2014
Reputation:
34
2024-04-11, 11:02
(This post was last modified: 2024-04-11, 11:11 by beeswax. Edited 2 times in total.)
edit: ok, ok, I've got it, kind of. It turns out I have to browse into a show in the server before it will update the c09 value. New question - is there a way to get Kodi to grab all this info with out have to browse into 1,000 shows on my server?
Bringing up this old one with some new info on my setup. If I create a playlist that queries only "Time", I still get most of my db returned as results. The very first results is s01e01 of 24: Legacy which is 42 mins. If I use Karellen's tip about checking the db values, this file (fileID=1) has no duration in C09 in the episode table and isn't even present in the streamdetails table. When I browse to the episode and Info it - there's no duration displayed there either.
I have a feeling the answer is "You need to rescan your entire library" but is there a way to just populate the streamdetails table without doing that? The server that does all the library scanning/updating already has the "Extract video information from files" option enabled.