Problem with Smart playlist content
#1
Hello!

I'm trying to create a Smart playlist that would show all unwatched movies in the library. I've tried creating it with following parameters: 
- Type: Movies
- Name: Unwatched movies
- Limit to: no limit
- Order by: Date added
- Sort direction: descending
- Group by: default
- Rules: Play count is 0

but it doesn't contain anything (it's empty). I've tried changing Type to TV Shows, and it does return unwatched TV Shows. If I go to Movie library, and change global filter to Unwatched, I get a set of unwatched movies, so, they definitely exist. I've also tried other rules on the Type Movies (like Year greater than, Duration greater than) and they all return subset of the movie library. It just doesn't work with Play count filter. I've also tried using 2 rules and setting "items must match all of the rules" - for example - Year greater than 1900 (if used without second rule it returns all of the movies), and Play count is 0, but still get empty playlist.

I don't know if it makes any difference, but both, Movies and TV Shows are located on Plex Media Server, and added to Kodi library via KodiPlexConnect addon. None of the watched Movies, nor TV Shows are watched via Kodi (since I'm still setting it up), but via Plex client, so, watch status should be the same for Movies and TV Shows.

I would appreciate any help.

Best regards,
Davor
Reply
#2
(2023-09-11, 14:46)davorf Wrote: Hello!

I'm trying to create a Smart playlist that would show all unwatched movies in the library. I've tried creating it with following parameters: 
- Type: Movies
- Name: Unwatched movies
- Limit to: no limit
- Order by: Date added
- Sort direction: descending
- Group by: default
- Rules: Play count is 0

but it doesn't contain anything (it's empty). I've tried changing Type to TV Shows, and it does return unwatched TV Shows. If I go to Movie library, and change global filter to Unwatched, I get a set of unwatched movies, so, they definitely exist. I've also tried other rules on the Type Movies (like Year greater than, Duration greater than) and they all return subset of the movie library. It just doesn't work with Play count filter. I've also tried using 2 rules and setting "items must match all of the rules" - for example - Year greater than 1900 (if used without second rule it returns all of the movies), and Play count is 0, but still get empty playlist.

I don't know if it makes any difference, but both, Movies and TV Shows are located on Plex Media Server, and added to Kodi library via KodiPlexConnect addon. None of the watched Movies, nor TV Shows are watched via Kodi (since I'm still setting it up), but via Plex client, so, watch status should be the same for Movies and TV Shows.

I would appreciate any help.

Best regards,
Davor

I am pretty sure Kodi uses NULL instead of 0 for when the playcount is 0 (at least it does in the video database files table where playcounts are stored).  I don't use Kodi smart playlists but is NULL an option ?  Or maybe < 1 ?

I can't help with Plex and the client but with Mezzmo and the Mezzmo Kodi addon I follow the Kodi structure and set the value to NULL.  A smart playlist on the Mezzmo server uses 0 instead of NULL since that is the structure Mezzmo uses in its database.  The Mezzmo Kodi addon translates 0s to NULLs inside Kodi. 


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#3
Hello!

Thank you for your reply. I've tried every possible combination (including Play count is less than 1) and it didn't work. I've also tried playing with last played date, but that also didn't work. Now I went back and tried Play count is less than 1, and, to my utter surprise, it worked. Than I changed it to Play count is 0, and it started working. I really don't know what happened in the meantime - maybe Kodi got scared by this thread Smile - but somehow it works now. 

Thank you for your help.

Best regards,
Davor
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with Smart playlist content0