$INFO[Window(Home).Property(Movies.Count)] But for Node/smart playlist
#1
Hello, I use 
xml:
$INFO[Window(Home).Property(Movies.Count)]
to display the number of movies on the home screen and it works well. But I also would like to display the content of a node and of a smart playlist. Is is possible to count the node movie number like titles : library://video/animes/titles.xml and count the movie number of a smart playlist and display the number on the home screen

Thanks
Reply
#2
Make a list with that node or smart playlist as the content path then use Container(id).Numitems?
Reply
#3
How can I make a list with a node please ? In which xml file should I put this list ?

Edit : it seems to work thanks !
Reply
#4
@"QuizKid" also do you know if there is a way to count the  umber of unwatched and watched movies from a node or a smart playlist ?

Container.TotalWatched but I can't put an id ?
Reply
#5
I'm not sure actually, sorry. I assumed that would work. Does it definitely not accept an ID? The very resource intensive way would be to do two lists, one filtered by unwatched, which you can do with xsp, but I'm not sure it would be worth running two separate containers just to populate a label. Perhaps someone else will know a better way, sorry!
Reply
#6
Oh okay thanks for your answer and your help !
Reply

Logout Mark Read Team Forum Stats Members Help
$INFO[Window(Home).Property(Movies.Count)] But for Node/smart playlist0