Commit 9e43f884 authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Jean-Baptiste Kempf
Browse files

medialibrary: Add nb_media and nb_present_media for playlists

parent a7f24ef4
......@@ -251,6 +251,9 @@ typedef struct vlc_ml_playlist_t
char* psz_artwork_mrl;
unsigned int i_nb_media;
unsigned int i_nb_present_media;
uint32_t i_creation_date;
bool b_is_read_only;
......@@ -429,6 +429,9 @@ bool Convert( const medialibrary::IPlaylist* input, vlc_ml_playlist_t& output )
output.i_id = input->id();
output.i_nb_media = input->nbMedia();
output.i_nb_present_media = input->nbPresentMedia();
output.i_creation_date = input->creationDate();
output.b_is_read_only = input->isReadOnly();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment