Skip to content

MediaWrapper: stop using libvlcTitle when it contains '://'

Description

When VLC Android is playing udp multicast streams (like the m3u8 provided) and you skip tracks in the VLC ui or the mediacontrol widget in android's notification area, the shown track information is wrong and will be overwritten by the URL (without the @ sign).

m3u8 to test:

#EXTM3U
#EXTINF:0,ORF 1
#EXTVLCOPT:network-caching=1000
udp://@239.200.199.100:20000
#EXTINF:0,ORF2
#EXTVLCOPT:network-caching=1000
udp://@239.200.199.101:20000

Expected behavior

when an m3u8 #EXTINF was provided and no metadata was received in the stream, it should not use the URL as title. In this case it should preserve the m3u8 EXTINF.

Actual behavior

it useses the URL as title

Steps to reproduce

  1. start VLC with the provided m3u8 (you need a multicast streamer in your network for this to work)
  2. initial the playlist #EXTINF infos are loaded/shown
  3. skip forward/backward multiple times using the ui
  4. look at the playlist, the track infos are now overwritten with URL

Id dont know if the issue also happens on other stream protocols than udp://

Context

App version

3.5.4 Android armv8

Android version

Android 10 & 11

Device model

Android Studio Emulator (Nexus 10) but also several different tablets

App mode

Smartphone

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Resolves

Fixes: #3007 (closed)

Edited by Robert Stone

Merge request reports