VLC not sending station name with intent com.android.music.metachanged on online streams
I am using an app with an broadcast receiver for intent "com.android.music.metachanged". This intent get's fired by VLC in file application/vlc-android/src/org/videolan/vlc/PlaybackService.kt with function broadcastMetadata().
When VLC Android is playing online radio stream the track from the stream is now broadcasted with an intent and the correct track metadata. See closed & merged issue here: #2721 (closed)
The mediacontrol widget in android's notification area and VLC in the UI itself shows the correct track name (see picture - top line) and the station name (see picture - bottom line), so the station name info is there and just get's not correctly broadcasted.
I know that currently the following intents extra strings are sent:
- track (which now also broadcasts title (= artist - track)), see issue #2721 (closed)
Now it's a design decision in which extra intent string to put the station name!?
m3u8 to test:
broadcast the station name (like in the widget & ui) as an intent extra string
it's not sent at all, here is the debug output of my app on android:
artist: null, album: null, track: Kelvin Jones - Ghost
Steps to reproduce
- start VLC with the provided m3u8 which has some radio streams in it
- look at the playlist in the ui or notification media control widget, the track infos are now overwritten with the track name (fixed in 2721) and correct station name
- sadly the station name is not broadcasted (see my app debug log above)
Screenshot / video
Android Studio Emulator (Nexus 10) but also several different tablets