Skip to content
Snippets Groups Projects
Commit eeeb65b0 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Broadcast the right metadata title for internet radio

Fixes #2721


(cherry picked from commit 1a9ba63d)
parent 99adb7bc
No related branches found
No related tags found
No related merge requests found
......@@ -1249,7 +1249,7 @@ class PlaybackService : MediaBrowserServiceCompat(), LifecycleOwner, CoroutineSc
if (media == null || isVideoPlaying) return
if (lifecycleScope.isActive) lifecycleScope.launch(Dispatchers.Default) {
sendBroadcast(Intent("com.android.music.metachanged")
.putExtra("track", media.title)
.putExtra("track", media.nowPlaying ?: media.title)
.putExtra("artist", media.artist)
.putExtra("album", media.album)
.putExtra("duration", media.length)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment