(2016-03-17, 14:05)WolvesPhil Wrote: Hi,
I have another question about smartplaylists. The next one I would like to create is similar to next episodes or recommended episodes, i.e showing next tv shows in a series to watch, but if possible we would like this to show the next tv episode in a smart playlist.
Is it possible to do this?
You'll find it difficult to replicate the function of Next Episodes or Recommended Episodes with just a playlist. Behind the scenes, these are both powered by python scripts - Skin Helper Service and Library Data Provider respectively - and they're doing a fair bit of processing on your library contents to work out what episodes to show. In the case of Library Data Provider (the one whose code I am familiar with), it scans all of your episodes to find the last one you played, then displays the next unwatched (if there is one) or just the next episode (if you've watched them all).
The closest you'll get with a playlist, I suspect, is one with the following two rules:
'tvshow' 'contains' '[name of tv show]'
'playcount' 'is' '0'
Set the limit to '1', and play about with the ordering (as I think, by default, specials - aka Season 0 - will always show first) and you might get a playlist which shows the first unwatched episode for a specific tv show.