1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-24 20:48:52 +02:00
Commit Graph

90 Commits

Author SHA1 Message Date
Hugo Beauzée-Luyssen
a5eb80ea3d medialib: Expose missing album properties 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
bab97ff0ba medialib: Use proper types for album properties 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
53797783a0 medialib: Bind artist number of present tracks 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
8f168f446f medialib: Use correct types for media group properties
Date are now exposed as time_t
Duration should have always been an int64_t
And replace unsigned int by uint32_t for coherence
2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
0c4e0191e7 medialib: Bind new media group properties 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
12572d1bea medialib: Bind duration properties 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
79905ca608 medialib: Expose playlist nb audio/video/unknown properties 2022-02-26 08:08:10 +00:00
Hugo Beauzée-Luyssen
c7a10410ac medialibrary: Bind folder modifications callbacks 2022-02-25 15:37:01 +00:00
Benjamin Arnaud
6f2b25fac0 medialibrary: Udpate folder support 2022-02-20 14:18:57 +00:00
Pierre Lamot
7866b1be2f medialibrary: Add audio(s) list and count functions
Co-authored-by: Benjamin Arnaud <benjamin.arnaud@videolabs.io>
2022-02-20 14:18:57 +00:00
Pierre Lamot
a4e5e0ce26 medialibrary: Add video(s) list and count functions
Co-authored-by: Benjamin Arnaud <benjamin.arnaud@videolabs.io>
2022-02-20 14:18:57 +00:00
Hugo Beauzée-Luyssen
0102a531e4 medialibrary: Update to 0.11.x API
Fix #26491
2022-02-19 15:47:05 +00:00
Alexandre Janniaux
b9a270574a include: fix typos
Typos found and reworked from codespell.
2022-01-08 15:19:32 +00:00
Prince Gupta
3b1c3d7249 medialibrary: add VLC_ML_MEDIA_SET_GENRE_THUMBNAIL 2021-11-06 16:52:39 +00:00
Prince Gupta
329758a9ec medialibrary: add thumbnail to vlc_ml_genre_t 2021-11-06 16:52:39 +00:00
Hugo Beauzée-Luyssen
5e40633713 medialibrary: Update to recent API changes 2021-09-10 08:49:48 +00:00
Benjamin Arnaud
9e43f884cb medialibrary: Add nb_media and nb_present_media for playlists 2021-05-20 11:15:31 +00:00
Alaric Senat
b82eb43c7b medialibrary: add folder listing
This adds new functions to list and access the medialibrary folder
interface.
2021-05-02 12:26:03 +00:00
Alaric Senat
e4ac8d8f08 medialibrary: move entry point listing calls to list
As theses ml calls actually simply list folders, moving them to the
"VLC_ML_LIST" interface makes more sense.
2021-05-02 12:26:03 +00:00
Alaric Senat
eab292c465 medialibrary: unify enum documentation indent 2021-05-02 12:26:03 +00:00
Alaric Senat
f897f6b89f medialibrary: use a va_arg bool to list banned entry points 2021-05-02 12:26:03 +00:00
Alaric Senat
cc15256b7b medialibrary: rename now confusing enum values
Now that the `vlc_ml_folder_list_t` replaced `vlc_ml_entry_point_list_t`
the VLC_ML_LIST_FOLDER enum value is a bit confusing and is renamed
VLC_ML_LIST_ENTRY_POINTS to better reflect its functionnality.
2021-05-02 12:26:03 +00:00
Alaric Senat
cecd6d016a medialibrary: expose folder id field to vlc_ml_folder 2021-05-02 12:26:03 +00:00
Alaric Senat
4cf84822f3 medialibrary: add a vlc_ml_folder release function 2021-05-02 12:26:03 +00:00
Alaric Senat
3cb3b1f647 medialibrary: rename vlc_ml_entry_point_t to vlc_ml_folder_t
This better reflects the medialibrary internals while also allowing more
flexible medialibrary folder listing as vlc_ml_folder_t is now available
through a more generic name.
2021-05-02 12:26:03 +00:00
Alaric Senat
80864e9975 medialibrary: expose new ml_file_t values
The medialibrary has files sizes and last modification dates in its
database. This patch exposes theses two previously ignored values.
2021-05-02 10:31:06 +00:00
Hugo Beauzée-Luyssen
d7c96121cf medialibrary: Bump required version and adapt to API changes
Co-authored-by: Romain Vimont <rom1v@videolabs.io>
2021-05-01 17:26:49 +00:00
Benjamin Arnaud
4ece37e179 medialibrary: Add comprehensive group support
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Benjamin Arnaud
d5836cb399 medialibrary: Fix and update the playlist 'Convert' function
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-16 13:44:21 +02:00
Benjamin Arnaud
5a5b2836a2 medialibrary: Add playlist insert, move and remove
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-03-15 09:48:05 +01:00
Prince Gupta
d26d57d224 medialibrary: add function to get banned entry points
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-03-01 11:22:45 +01:00
Benjamin Arnaud
b431e9da08 medialibrary: Add playlist support
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-02-23 09:36:43 +01:00
Pierre Lamot
b03d64acfb medialib: add function to get media history by type 2020-12-14 14:34:54 +01:00
Pierre Lamot
d91ce0b082 medialib: add function to get history count 2020-10-28 18:13:37 +01:00
Prince Gupta
cda11063bd medialibrary: add function to get stream history count
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2020-09-28 10:13:22 +02:00
Hugo Beauzée-Luyssen
452897761d medialib: Expose the thumbnails states
This allows the UI not to ask for a thumbnail generation if the previous
one lead to a crash, or if it's been failing multiple times before.
2020-08-24 13:27:35 +02:00
Hugo Beauzée-Luyssen
fb68c410d5 medialib: Bump contrib & reflect API changes 2020-08-24 13:27:35 +02:00
Hugo Beauzée-Luyssen
7cbdb33cce medialib: Add bookmark support 2020-06-22 15:12:29 +02:00
Hugo Beauzée-Luyssen
9c73bd3ad6 medialib: Fix invalid helper return type 2020-04-16 10:15:42 +02:00
Hugo Beauzée-Luyssen
008920ff9c player: medialib: save track StrIds instead of legacy int
Co-authored-by Thomas Guillem <thomas@gllm.fr>

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
2020-02-28 20:35:14 +01:00
Hugo Beauzée-Luyssen
aa84a30ecc medialibrary: Allow media type to be set 2020-01-09 16:25:58 +01:00
Hugo Beauzée-Luyssen
c2bcb9952b medialibrary: Bump contrib version & adapt to API changes 2019-12-16 11:55:43 +01:00
Hugo Beauzée-Luyssen
7b81168938 contrib: medialibrary: Bump version
And reflect the API changes
2019-10-29 11:57:49 +01:00
Hugo Beauzée-Luyssen
f12cd172a9 medialibrary: Expose onHistoryChange event 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen
f4c8acd04c medialib: Allow playback preferences to be get/set as batches 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen
9f6b3be3c7 medialibrary: Fix typo 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen
79835e0b33 medialibrary: Rename playback_pref to playback_state 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen
caf1a4af37 Update to medialibrary API changes 2019-09-24 14:12:03 +02:00
Hugo Beauzée-Luyssen
5961eeaa01 medialibrary: Bump version & update API usages
- Multiple thumbnail can now be used
- Discovery, thumbnailing & metadata extractions are now interruptible
- An entry_point_added event has been added
2019-06-26 18:15:46 +02:00
Hugo Beauzée-Luyssen
70d5c4debc medialibrary: Add media/input_item getters through mrl 2019-06-26 18:15:46 +02:00