VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_ml_event_callback_t |
struct | vlc_medialibrary_t |
Variables | |
static const vlc_medialibrary_callbacks_t | callbacks |
vlc_medialibrary_t * libvlc_MlCreate | ( | libvlc_int_t * | p_libvlc | ) |
References callbacks, vlc_medialibrary_module_t::cbs, vlc_medialibrary_t::cbs, vlc_medialibrary_t::lock, vlc_medialibrary_t::m, module_need, vlc_medialibrary_module_t::p_module, unlikely, vlc_custom_create, vlc_list_init(), vlc_mutex_init(), VLC_OBJECT, and vlc_object_delete.
Referenced by libvlc_InternalInit().
void libvlc_MlRelease | ( | vlc_medialibrary_t * | p_ml | ) |
References vlc_medialibrary_t::cbs, vlc_medialibrary_t::m, module_unneed, vlc_medialibrary_module_t::p_module, vlc_list_is_empty(), and vlc_object_delete.
Referenced by libvlc_InternalCleanup().
|
static |
References container_of.
Referenced by vlc_ml_event_send().
|
static |
References vlc_ml_folder_t::psz_mrl, and vlc_ml_folder_t::psz_name.
Referenced by vlc_ml_folder_list_release(), and vlc_ml_folder_release().
void vlc_ml_album_list_release | ( | vlc_ml_album_list_t * | p_list | ) |
void vlc_ml_album_release | ( | vlc_ml_album_t * | p_album | ) |
References vlc_ml_album_release_inner().
|
static |
References vlc_ml_album_t::psz_artist, vlc_ml_album_t::psz_summary, vlc_ml_album_t::psz_title, vlc_ml_album_t::thumbnails, and vlc_ml_thumbnails_release().
Referenced by vlc_ml_album_list_release(), and vlc_ml_album_release().
void vlc_ml_artist_list_release | ( | vlc_ml_artist_list_t * | p_list | ) |
void vlc_ml_artist_release | ( | vlc_ml_artist_t * | p_artist | ) |
References vlc_ml_artist_release_inner().
|
static |
void vlc_ml_bookmark_list_release | ( | vlc_ml_bookmark_list_t * | list | ) |
References list, and vlc_ml_bookmark_release_inner().
void vlc_ml_bookmark_release | ( | vlc_ml_bookmark_t * | bookmark | ) |
References vlc_ml_bookmark_release_inner().
|
static |
References vlc_ml_bookmark_t::psz_description, and vlc_ml_bookmark_t::psz_name.
Referenced by vlc_ml_bookmark_list_release(), and vlc_ml_bookmark_release().
int vlc_ml_control | ( | vlc_medialibrary_t * | p_ml, |
int | i_query, | ||
... | |||
) |
References vlc_medialibrary_t::m, and vlc_medialibrary_module_t::pf_control.
vlc_ml_event_callback_t * vlc_ml_event_register_callback | ( | vlc_medialibrary_t * | p_ml, |
vlc_ml_callback_t | cb, | ||
void * | p_data | ||
) |
Registers a medialibrary callback.
References vlc_medialibrary_t::cbs, vlc_medialibrary_t::lock, vlc_ml_event_callback_t::node, vlc_ml_event_callback_t::p_data, vlc_ml_event_callback_t::pf_cb, unlikely, vlc_list_append(), vlc_mutex_lock(), and vlc_mutex_unlock().
|
static |
void vlc_ml_event_unregister_callback | ( | vlc_medialibrary_t * | p_ml, |
vlc_ml_event_callback_t * | p_callback | ||
) |
Unregisters a medialibrary callback.
p_ml | an initialized medialibrary instance |
p_callback | The callback handle returned by vlc_ml_register_callback |
References vlc_medialibrary_t::lock, vlc_ml_event_callback_t::node, vlc_list_remove(), vlc_mutex_lock(), and vlc_mutex_unlock().
void vlc_ml_event_unregister_from_callback | ( | vlc_medialibrary_t * | p_ml, |
vlc_ml_event_callback_t * | p_callback | ||
) |
Unregisters a medialibrary callback from the said callback.
p_ml | an initialized medialibrary instance |
p_callback | The handle returned by vlc_ml_register_callback |
This must only be called synchronously from the callback function provided to vlc_ml_event_register_callback The p_callback handle must be considered invalid when this function returns
References vlc_medialibrary_t::lock, vlc_ml_event_callback_t::node, vlc_list_remove(), and vlc_mutex_assert.
void vlc_ml_file_list_release | ( | vlc_ml_file_list_t * | p_list | ) |
References vlc_ml_file_list_t::i_nb_items, vlc_ml_file_list_t::p_items, and vlc_ml_file_t::psz_mrl.
Referenced by vlc_ml_media_release_inner().
void vlc_ml_folder_list_release | ( | vlc_ml_folder_list_t * | p_list | ) |
void vlc_ml_folder_release | ( | vlc_ml_folder_t * | p_folder | ) |
References vlc_folder_release_inner().
void vlc_ml_genre_list_release | ( | vlc_ml_genre_list_t * | p_list | ) |
void vlc_ml_genre_release | ( | vlc_ml_genre_t * | p_genre | ) |
References vlc_ml_genre_t::psz_name, vlc_ml_genre_t::thumbnails, and vlc_ml_thumbnails_release().
void * vlc_ml_get | ( | vlc_medialibrary_t * | p_ml, |
int | i_query, | ||
... | |||
) |
References vlc_medialibrary_t::m, and vlc_medialibrary_module_t::pf_get.
Referenced by vlc_ml_get_album(), vlc_ml_get_artist(), vlc_ml_get_folder(), vlc_ml_get_genre(), vlc_ml_get_group(), vlc_ml_get_input_item(), vlc_ml_get_input_item_by_mrl(), vlc_ml_get_media(), vlc_ml_get_media_by_mrl(), vlc_ml_get_playlist(), and vlc_ml_get_show().
void vlc_ml_group_list_release | ( | vlc_ml_group_list_t * | p_list | ) |
void vlc_ml_group_release | ( | vlc_ml_group_t * | p_group | ) |
References vlc_ml_group_release_inner().
|
static |
References vlc_ml_group_t::psz_name.
Referenced by vlc_ml_group_list_release(), and vlc_ml_group_release().
vlc_medialibrary_t * vlc_ml_instance_get | ( | vlc_object_t * | p_obj | ) |
References libvlc_priv(), libvlc_priv_t::p_media_library, and vlc_object_instance.
void vlc_ml_label_list_release | ( | vlc_ml_label_list_t * | p_list | ) |
int vlc_ml_list | ( | vlc_medialibrary_t * | p_ml, |
int | i_query, | ||
const vlc_ml_query_params_t * | p_params, | ||
... | |||
) |
References vlc_medialibrary_t::m, and vlc_medialibrary_module_t::pf_list.
Referenced by vlc_ml_count_album_artists(), vlc_ml_count_album_tracks(), vlc_ml_count_albums(), vlc_ml_count_albums_of(), vlc_ml_count_artist_albums(), vlc_ml_count_artist_tracks(), vlc_ml_count_artists(), vlc_ml_count_artists_of(), vlc_ml_count_audio_history(), vlc_ml_count_audio_media(), vlc_ml_count_audio_of(), vlc_ml_count_banned_entry_points(), vlc_ml_count_entry_points(), vlc_ml_count_folder_media(), vlc_ml_count_folders(), vlc_ml_count_folders_by_type(), vlc_ml_count_genre_albums(), vlc_ml_count_genre_artists(), vlc_ml_count_genre_tracks(), vlc_ml_count_genres(), vlc_ml_count_group_media(), vlc_ml_count_groups(), vlc_ml_count_history(), vlc_ml_count_media(), vlc_ml_count_media_labels(), vlc_ml_count_media_of(), vlc_ml_count_playlist_media(), vlc_ml_count_playlists(), vlc_ml_count_show_episodes(), vlc_ml_count_shows(), vlc_ml_count_video_history(), vlc_ml_count_video_media(), vlc_ml_count_video_of(), vlc_ml_list_album_artists(), vlc_ml_list_album_tracks(), vlc_ml_list_albums(), vlc_ml_list_albums_of(), vlc_ml_list_artist_albums(), vlc_ml_list_artist_of(), vlc_ml_list_artist_tracks(), vlc_ml_list_artists(), vlc_ml_list_audio_history(), vlc_ml_list_audio_media(), vlc_ml_list_audio_of(), vlc_ml_list_banned_entry_points(), vlc_ml_list_entry_points(), vlc_ml_list_folder_media(), vlc_ml_list_folders(), vlc_ml_list_folders_by_type(), vlc_ml_list_genre_albums(), vlc_ml_list_genre_artists(), vlc_ml_list_genre_tracks(), vlc_ml_list_genres(), vlc_ml_list_group_media(), vlc_ml_list_groups(), vlc_ml_list_history(), vlc_ml_list_media(), vlc_ml_list_media_bookmarks(), vlc_ml_list_media_labels(), vlc_ml_list_media_of(), vlc_ml_list_playlist_media(), vlc_ml_list_playlists(), vlc_ml_list_show_episodes(), vlc_ml_list_shows(), vlc_ml_list_video_history(), vlc_ml_list_video_media(), and vlc_ml_list_video_of().
void vlc_ml_media_list_release | ( | vlc_ml_media_list_t * | p_list | ) |
void vlc_ml_media_release | ( | vlc_ml_media_t * | p_media | ) |
References vlc_ml_media_release_inner().
|
static |
References vlc_ml_media_t::i_subtype, vlc_ml_media_t::movie, vlc_ml_media_t::p_files, vlc_ml_media_t::p_tracks, vlc_ml_media_t::psz_filename, vlc_ml_movie_t::psz_imdb_id, vlc_ml_movie_t::psz_summary, vlc_ml_show_episode_t::psz_summary, vlc_ml_media_t::psz_title, vlc_ml_show_episode_t::psz_tvdb_id, vlc_ml_media_t::show_episode, vlc_ml_media_t::thumbnails, vlc_ml_file_list_release(), vlc_ml_media_release_tracks_inner(), VLC_ML_MEDIA_SUBTYPE_ALBUMTRACK, VLC_ML_MEDIA_SUBTYPE_MOVIE, VLC_ML_MEDIA_SUBTYPE_SHOW_EPISODE, and vlc_ml_thumbnails_release().
Referenced by vlc_ml_media_list_release(), and vlc_ml_media_release().
|
static |
References vlc_ml_media_track_list_t::i_nb_items, vlc_ml_media_track_t::i_type, vlc_ml_media_track_list_t::p_items, vlc_ml_media_track_t::psz_codec, vlc_ml_media_track_t::psz_description, vlc_ml_media_track_t::psz_encoding, vlc_ml_media_track_t::psz_language, vlc_ml_media_track_t::s, and VLC_ML_TRACK_TYPE_SUBTITLE.
Referenced by vlc_ml_media_release_inner().
void vlc_ml_playback_states_all_release | ( | vlc_ml_playback_states_all * | prefs | ) |
References vlc_ml_playback_states_all::aspect_ratio, vlc_ml_playback_states_all::crop, vlc_ml_playback_states_all::current_audio_track, vlc_ml_playback_states_all::current_subtitle_track, vlc_ml_playback_states_all::current_video_track, vlc_ml_playback_states_all::deinterlace, and vlc_ml_playback_states_all::video_filter.
void vlc_ml_playlist_list_release | ( | vlc_ml_playlist_list_t * | p_list | ) |
void vlc_ml_playlist_release | ( | vlc_ml_playlist_t * | p_playlist | ) |
References vlc_ml_playlist_release_inner().
|
static |
References vlc_ml_playlist_t::psz_artwork_mrl, vlc_ml_playlist_t::psz_mrl, and vlc_ml_playlist_t::psz_name.
Referenced by vlc_ml_playlist_list_release(), and vlc_ml_playlist_release().
void vlc_ml_show_list_release | ( | vlc_ml_show_list_t * | p_list | ) |
void vlc_ml_show_release | ( | vlc_ml_show_t * | p_show | ) |
References vlc_ml_show_release_inner().
|
static |
References vlc_ml_show_t::psz_artwork_mrl, vlc_ml_show_t::psz_name, vlc_ml_show_t::psz_summary, and vlc_ml_show_t::psz_tvdb_id.
Referenced by vlc_ml_show_list_release(), and vlc_ml_show_release().
|
static |
References VLC_ML_THUMBNAIL_SIZE_COUNT.
Referenced by vlc_ml_album_release_inner(), vlc_ml_artist_release_inner(), vlc_ml_genre_release(), and vlc_ml_media_release_inner().
|
static |
Referenced by libvlc_MlCreate().