2012-02-14, 22:17
An other question.
If I want to count the number of movies watched and unwatched in a specific playlist, I have to :
- use Files.GetDirectory to retrieve all the movies from the playlist
- for each movie, I have to get playcount with VideoLibrary.GetMovieDetails
- if playcount = 0 so movie is unwatched, otherwise is watched
There is no way to put a filter on the playlist to get only unwatched movies or watched movies ?
Sorry if it's a silly question
If I want to count the number of movies watched and unwatched in a specific playlist, I have to :
- use Files.GetDirectory to retrieve all the movies from the playlist
- for each movie, I have to get playcount with VideoLibrary.GetMovieDetails
- if playcount = 0 so movie is unwatched, otherwise is watched
There is no way to put a filter on the playlist to get only unwatched movies or watched movies ?
Sorry if it's a silly question