Check for value of parsed `trusted` property. If the trusted
property is true, the metadata priority is elevated to VLC_META_PRIORITY_PLAYLIST.
If trusted is false, the metadata priority defaults to VLC_META_PRIORITY_BASIC.
Refs #4143
Add function `file_is_playlist` to parse the `trusted` property
of a file. This function will be used to upgrade the metadata
priority from `VLC_META_PRIORITY_BASIC` to `VLC_META_PRIORITY_PLAYLIST`
for files marked as trusted. Set the `trusted` property of CUE files
as they require playlist metadata priority.
Refs #4143
In TRY_META macro, replace input_item_Set##b() with vlc_meta_SetWithPriority().
Rename the TrackNum field to TrackNumber and ArtURL to ArtworkURL for
consistency with the vlc_meta_type_t enumeration.
Refs #4143
Allow medialibrary queries to process and list public media.
Public media are a new addition of the medialibrary 0.13 version. With
this, the users will have the opportunity to allow a subset of the
medialibrary to be exposed on network interfaces (notably the upnp
server and the HTTP remote control).
Community discussions around the subject can be found here:
https://code.videolan.org/videolan/vlc/-/merge_requests/269#note_274345
Use the API default initializer instead of zero initialization. Some
fields might be defaulted to non-zero values in the future versions of
the medialibrary.
The CMake find module uses the upper-case name "Lua", which causes Meson not to find the library on case-sensitive file systems of no pkgconfig files are available.
We should not rebuild a lot of Qt files when changing the subpictures.
It's still included in vlc_codec.h so all encoders/decoders are still
impacted by such changes.
The value can never be negative and it simplifies code in places.
We also need to change the i_body which is used as a pointer in some cases.
The value can never be negative and it simplifies code in places.
We also need to change the i_body which is used as a pointer in some cases.
Previous changes were transforming the error path as early return,
leaving a potential indentation level for each commit that could be
removed. This commit is removing them.
No functional changes.