Allow audio/video playlist filtering
For now a playlist contains media, with no way of filtering by type.
This implies keeping a cached value for nb_audio/nb_video in the playlist table, and a few triggers to maintain this count
-
Add a counter for non-audio media to the playlist table: -
One nb_non_audio field in Playlist table -
One trigger when the media gets added to the playlist -
One trigger when the media gets removed from the playlist -
One trigger when the media type changes
-
-
Add a IMedia::Type parameter to the IMediaLibrary playlist accessors