27#ifndef VLC_MEDIA_LIBRARY_H
28# define VLC_MEDIA_LIBRARY_H
939#define vlc_ml_instance_get(x) vlc_ml_instance_get( VLC_OBJECT(x) )
1028 const char* psz_mrl,
bool* p_res )
1129 uint32_t i_desired_width,
1130 uint32_t i_desired_height,
1134 size_type, i_desired_width, i_desired_height, position );
1163 int64_t i_media_id )
1165 assert( p_ml != NULL );
1176 assert( p_ml != NULL );
1183 assert( p_ml != NULL );
1190 const char* psz_desc )
1192 assert( p_ml != NULL );
1200 assert( p_ml != NULL );
1207 assert( p_ml != NULL );
1220 assert( p_ml != NULL );
1228 assert( p_ml != NULL );
1235 size_t i_media_id_count, uint32_t i_position )
1237 assert( p_ml != NULL );
1244 int64_t i_playlist_id, uint32_t i_from, uint32_t i_to, uint32_t i_count )
1246 assert( p_ml != NULL );
1254 assert( p_ml != NULL );
1262 assert( p_ml != NULL );
1273 const char* psz_mrl )
1284 const char* psz_mrl )
1344 int i_parent_type, int64_t i_parent_id )
1351 params, i_parent_type, i_parent_id, &res ) !=
VLC_SUCCESS )
1359 int i_parent_type, int64_t i_parent_id )
1366 params, i_parent_type, i_parent_id, &res ) !=
VLC_SUCCESS )
1374 int i_parent_type, int64_t i_parent_id )
1381 params, i_parent_type, i_parent_id, &res ) !=
VLC_SUCCESS )
1389 int i_parent_type, int64_t i_parent_id )
1396 params, i_parent_type, i_parent_id, &res ) !=
VLC_SUCCESS )
1963 int64_t i_folder_id)
1977 int64_t i_folder_id)
2019# define vlc_ml_release( OBJ ) _Generic( ( OBJ ), \
2020 vlc_ml_show_t*: vlc_ml_show_release, \
2021 vlc_ml_artist_t*: vlc_ml_artist_release, \
2022 vlc_ml_album_t*: vlc_ml_album_release, \
2023 vlc_ml_genre_t*: vlc_ml_genre_release, \
2024 vlc_ml_media_t*: vlc_ml_media_release, \
2025 vlc_ml_group_t*: vlc_ml_group_release, \
2026 vlc_ml_folder_t*: vlc_ml_folder_release, \
2027 vlc_ml_playlist_t*: vlc_ml_playlist_release, \
2028 vlc_ml_label_list_t*: vlc_ml_label_list_release, \
2029 vlc_ml_file_list_t*: vlc_ml_file_list_release, \
2030 vlc_ml_artist_list_t*: vlc_ml_artist_list_release, \
2031 vlc_ml_media_list_t*: vlc_ml_media_list_release, \
2032 vlc_ml_album_list_t*: vlc_ml_album_list_release, \
2033 vlc_ml_show_list_t*: vlc_ml_show_list_release, \
2034 vlc_ml_genre_list_t*: vlc_ml_genre_list_release, \
2035 vlc_ml_group_list_t*: vlc_ml_group_list_release, \
2036 vlc_ml_playlist_list_t*: vlc_ml_playlist_list_release, \
2037 vlc_ml_folder_list_t*: vlc_ml_folder_list_release, \
2038 vlc_ml_playback_states_all*: vlc_ml_playback_states_all_release, \
2039 vlc_ml_bookmark_t*: vlc_ml_bookmark_release, \
2040 vlc_ml_bookmark_list_t*: vlc_ml_bookmark_list_release \
struct vlc_param ** list
Definition core.c:402
size_t count
Definition core.c:403
#define VLC_USED
Definition fourcc_gen.c:32
#define VLC_API
Definition fourcc_gen.c:31
#define vlc_assert(pred)
Run-time assertion.
Definition vlc_common.h:290
#define VLC_SUCCESS
No error.
Definition vlc_common.h:478
const char name[16]
Definition httpd.c:1298
int i_type
Definition httpd.c:1299
Definition vlc_objects.h:103
Internal module descriptor.
Definition modules.h:76
Definition vlc_media_library.h:355
size_t i_nb_items
Definition vlc_media_library.h:356
vlc_ml_album_t p_items[]
Definition vlc_media_library.h:357
Definition vlc_media_library.h:323
bool b_is_favorite
Definition vlc_media_library.h:336
vlc_ml_thumbnail_t thumbnails[VLC_ML_THUMBNAIL_SIZE_COUNT]
Definition vlc_media_library.h:327
int64_t i_duration
Definition vlc_media_library.h:334
char * psz_summary
Definition vlc_media_library.h:326
int64_t i_artist_id
Definition vlc_media_library.h:329
unsigned int i_year
Definition vlc_media_library.h:335
char * psz_title
Definition vlc_media_library.h:325
uint32_t i_nb_tracks
Definition vlc_media_library.h:331
uint32_t i_nb_present_tracks
Definition vlc_media_library.h:332
char * psz_artist
Definition vlc_media_library.h:328
uint32_t i_nb_discs
Definition vlc_media_library.h:333
int64_t i_id
Definition vlc_media_library.h:324
Definition vlc_media_library.h:318
size_t i_nb_items
Definition vlc_media_library.h:319
vlc_ml_artist_t p_items[]
Definition vlc_media_library.h:320
Definition vlc_media_library.h:304
char * psz_mb_id
Definition vlc_media_library.h:309
char * psz_shortbio
Definition vlc_media_library.h:307
int64_t i_id
Definition vlc_media_library.h:305
unsigned int i_nb_album
Definition vlc_media_library.h:311
char * psz_name
Definition vlc_media_library.h:306
uint32_t i_nb_present_tracks
Definition vlc_media_library.h:313
bool b_is_favorite
Definition vlc_media_library.h:314
vlc_ml_thumbnail_t thumbnails[VLC_ML_THUMBNAIL_SIZE_COUNT]
Definition vlc_media_library.h:308
unsigned int i_nb_tracks
Definition vlc_media_library.h:312
Definition vlc_media_library.h:405
int64_t i_time
The bookmark time.
Definition vlc_media_library.h:407
char * psz_name
The bookmark name.
Definition vlc_media_library.h:408
int64_t i_media_id
The associated media ID.
Definition vlc_media_library.h:406
char * psz_description
The bookmark description.
Definition vlc_media_library.h:409
Definition vlc_media_library.h:413
size_t i_nb_items
Definition vlc_media_library.h:414
vlc_ml_bookmark_t p_items[]
Definition vlc_media_library.h:415
Definition medialibrary.c:35
Definition vlc_media_library.h:820
struct vlc_ml_event_t::@246::@253 entry_point_unbanned
struct vlc_ml_event_t::@246::@254 parsing_progress
struct vlc_ml_event_t::@246::@250 entry_point_added
uint8_t i_percent
Definition vlc_media_library.h:854
int64_t i_entity_id
Definition vlc_media_library.h:869
struct vlc_ml_event_t::@246::@256 modification
bool b_success
Definition vlc_media_library.h:835
union vlc_ml_event_t::@246::@255 creation
struct vlc_ml_event_t::@246::@257 deletion
struct vlc_ml_event_t::@246::@252 entry_point_banned
struct vlc_ml_event_t::@246::@251 entry_point_removed
const vlc_ml_artist_t * p_artist
Definition vlc_media_library.h:859
vlc_ml_history_type_t history_type
Definition vlc_media_library.h:887
const char * psz_entry_point
Definition vlc_media_library.h:826
struct vlc_ml_event_t::@246::@259 media_thumbnail_generated
int i_type
Definition vlc_media_library.h:821
const vlc_ml_album_t * p_album
Definition vlc_media_library.h:860
const vlc_ml_playlist_t * p_playlist
Definition vlc_media_library.h:862
const vlc_ml_folder_t * p_folder
Definition vlc_media_library.h:865
struct vlc_ml_event_t::@246::@260 history_changed
const vlc_ml_genre_t * p_genre
Definition vlc_media_library.h:863
const vlc_ml_media_t * p_media
Definition vlc_media_library.h:858
vlc_ml_thumbnail_size_t i_size
Definition vlc_media_library.h:882
struct vlc_ml_event_t::@246::@258 background_idle_changed
struct vlc_ml_event_t::@246::@248 discovery_progress
struct vlc_ml_event_t::@246::@249 discovery_failed
bool b_idle
Definition vlc_media_library.h:877
const vlc_ml_group_t * p_group
Definition vlc_media_library.h:861
const vlc_ml_bookmark_t * p_bookmark
Definition vlc_media_library.h:864
Definition vlc_media_library.h:166
size_t i_nb_items
Definition vlc_media_library.h:167
vlc_ml_file_t p_items[]
Definition vlc_media_library.h:168
Definition vlc_media_library.h:155
int64_t i_size
Definition vlc_media_library.h:157
bool b_present
Definition vlc_media_library.h:162
time_t i_last_modification_date
Definition vlc_media_library.h:158
bool b_external
Definition vlc_media_library.h:160
vlc_ml_file_type_t i_type
Definition vlc_media_library.h:159
char * psz_mrl
Definition vlc_media_library.h:156
bool b_removable
Definition vlc_media_library.h:161
Definition vlc_media_library.h:399
vlc_ml_folder_t p_items[]
Definition vlc_media_library.h:401
size_t i_nb_items
Definition vlc_media_library.h:400
Definition vlc_media_library.h:385
char * psz_mrl
The folder's MRL.
Definition vlc_media_library.h:388
bool b_present
The folder's presence state.
Definition vlc_media_library.h:394
bool b_banned
Will be true if the user required this folder to be excluded.
Definition vlc_media_library.h:395
char * psz_name
The folder's name.
Definition vlc_media_library.h:387
unsigned int i_nb_audio
The number of audio for this volder.
Definition vlc_media_library.h:391
int64_t i_id
The folder's MRL.
Definition vlc_media_library.h:386
unsigned int i_nb_media
The media count.
Definition vlc_media_library.h:389
unsigned int i_nb_video
The number of video for this folder.
Definition vlc_media_library.h:390
bool b_is_favorite
The folder's favorite state.
Definition vlc_media_library.h:393
int64_t i_duration
The sum of all the member durations of the folder in ms.
Definition vlc_media_library.h:392
Definition vlc_media_library.h:367
vlc_ml_genre_t p_items[]
Definition vlc_media_library.h:369
size_t i_nb_items
Definition vlc_media_library.h:368
Definition vlc_media_library.h:340
vlc_ml_thumbnail_t thumbnails[VLC_ML_THUMBNAIL_SIZE_COUNT]
Definition vlc_media_library.h:344
size_t i_nb_tracks
Definition vlc_media_library.h:343
bool b_is_favorite
Definition vlc_media_library.h:345
char * psz_name
Definition vlc_media_library.h:342
int64_t i_id
Definition vlc_media_library.h:341
Definition vlc_media_library.h:373
size_t i_nb_items
Definition vlc_media_library.h:374
vlc_ml_group_t p_items[]
Definition vlc_media_library.h:375
Definition vlc_media_library.h:251
uint32_t i_nb_video
Definition vlc_media_library.h:257
uint32_t i_nb_seen
Definition vlc_media_library.h:265
time_t i_creation_date
Definition vlc_media_library.h:270
int64_t i_id
Definition vlc_media_library.h:252
uint32_t i_nb_present_video
Definition vlc_media_library.h:261
uint32_t i_nb_present_audio
Definition vlc_media_library.h:262
char * psz_name
Definition vlc_media_library.h:254
uint32_t i_nb_unknown
Definition vlc_media_library.h:259
int64_t i_duration
Definition vlc_media_library.h:268
uint32_t i_nb_total_media
Definition vlc_media_library.h:256
uint32_t i_nb_present_media
Definition vlc_media_library.h:260
uint32_t i_nb_present_seen
Definition vlc_media_library.h:266
time_t i_last_modification_date
Definition vlc_media_library.h:271
uint32_t i_nb_present_unknown
Definition vlc_media_library.h:263
uint32_t i_nb_audio
Definition vlc_media_library.h:258
Definition vlc_media_library.h:149
size_t i_nb_items
Definition vlc_media_library.h:150
vlc_ml_label_t p_items[]
Definition vlc_media_library.h:151
Definition vlc_media_library.h:143
int64_t i_id
Definition vlc_media_library.h:144
char * psz_name
Definition vlc_media_library.h:145
Definition vlc_media_library.h:117
char * psz_imdb_id
Definition vlc_media_library.h:119
char * psz_summary
Definition vlc_media_library.h:118
Definition vlc_media_library.h:678
char * deinterlace
Definition vlc_media_library.h:687
char * current_audio_track
Definition vlc_media_library.h:683
char * current_video_track
Definition vlc_media_library.h:682
float zoom
Definition vlc_media_library.h:680
int current_title
Definition vlc_media_library.h:681
char * aspect_ratio
Definition vlc_media_library.h:685
char * crop
Definition vlc_media_library.h:686
float rate
Definition vlc_media_library.h:679
char * current_subtitle_track
Definition vlc_media_library.h:684
char * video_filter
Definition vlc_media_library.h:688
Definition vlc_media_library.h:379
size_t i_nb_items
Definition vlc_media_library.h:380
vlc_ml_playlist_t p_items[]
Definition vlc_media_library.h:381
Definition vlc_media_library.h:275
unsigned int i_nb_media
Definition vlc_media_library.h:284
int64_t i_duration
Definition vlc_media_library.h:296
char * psz_artwork_mrl
Definition vlc_media_library.h:282
char * psz_mrl
Definition vlc_media_library.h:280
uint32_t i_nb_unknown
Definition vlc_media_library.h:287
bool b_is_favorite
Definition vlc_media_library.h:300
uint32_t i_nb_present_audio
Definition vlc_media_library.h:291
unsigned int i_nb_present_media
Definition vlc_media_library.h:289
char * psz_name
Definition vlc_media_library.h:278
uint32_t i_nb_present_video
Definition vlc_media_library.h:290
uint32_t i_nb_duration_unknown
Definition vlc_media_library.h:297
bool b_is_read_only
Definition vlc_media_library.h:299
uint32_t i_nb_audio
Definition vlc_media_library.h:286
uint32_t i_nb_present_unknown
Definition vlc_media_library.h:292
int64_t i_id
Definition vlc_media_library.h:276
uint32_t i_creation_date
Definition vlc_media_library.h:294
uint32_t i_nb_video
Definition vlc_media_library.h:285
Generic parameter set for medialibrary queries.
Definition vlc_media_library.h:452
bool b_favorite_only
Definition vlc_media_library.h:458
const char * psz_pattern
Definition vlc_media_library.h:453
bool b_desc
Definition vlc_media_library.h:457
vlc_ml_sorting_criteria_t i_sort
Definition vlc_media_library.h:456
uint32_t i_offset
Definition vlc_media_library.h:455
bool b_public_only
Definition vlc_media_library.h:459
uint32_t i_nbResults
Definition vlc_media_library.h:454
Definition vlc_media_library.h:123
char * psz_summary
Definition vlc_media_library.h:124
uint32_t i_season_number
Definition vlc_media_library.h:127
uint32_t i_episode_nb
Definition vlc_media_library.h:126
char * psz_tvdb_id
Definition vlc_media_library.h:125
Definition vlc_media_library.h:361
vlc_ml_show_t p_items[]
Definition vlc_media_library.h:363
size_t i_nb_items
Definition vlc_media_library.h:362
Definition vlc_media_library.h:131
unsigned int i_release_year
Definition vlc_media_library.h:137
char * psz_tvdb_id
Definition vlc_media_library.h:136
uint32_t i_nb_episodes
Definition vlc_media_library.h:138
char * psz_artwork_mrl
Definition vlc_media_library.h:135
uint32_t i_nb_seasons
Definition vlc_media_library.h:139
char * psz_name
Definition vlc_media_library.h:133
int64_t i_id
Definition vlc_media_library.h:132
char * psz_summary
Definition vlc_media_library.h:134
Definition vlc_media_library.h:107
char * psz_mrl
Definition vlc_media_library.h:108
vlc_ml_thumbnail_status_t i_status
True if a thumbnail is available, or if thumbnail generation was attempted but failed.
Definition vlc_media_library.h:113
VLC object common members.
Definition vlc_objects.h:53
const char * psz_name
Definition text_style.c:33
This file is a collection of common definitions and types.
char psz_value[8]
Definition vout_intf.c:102