demux: playlist: fix playlist track data overriding issue in M3U file
- Aug 15, 2024
-
-
Replace input_item_Set* calls with vlc_meta_SetWithPlaylistPriority() calls, setting the priority to VLC_META_PRIORITY_PLAYLIST. This change elevates the priority of the metadata parsed from the M3U file, ensuring it is not overridden by metadata from subsequently played audio files(having priority of VLC_META_PRIORITY_BASIC). Fixes the bug where metadata parsed from the M3U file was being overridden by metadata from subsequently played audio files.
03625632 -
Add macro `vlc_meta_SetWithPlaylistPriority` to set metadata with the priority of VLC_META_PRIORITY_PLAYLIST.
86caaaf0 -
Moved the input_item_SetPublisher() call above the input_item_AddInfo() call. This change is necessary for upcoming commits to prevent double locking issues.
c69f69ff
-