Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
528
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
1a9ba63d
Commit
1a9ba63d
authored
2 years ago
by
Nicolas Pomepuy
Committed by
Duncan McNamara
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Broadcast the right metadata title for internet radio
Fixes #2721
parent
f01152cc
No related branches found
No related tags found
1 merge request
!1579
Broadcast the right metadata title for internet radio
Pipeline
#273510
passed with stage
in 20 minutes and 37 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
+1
-1
1 addition, 1 deletion
...ation/vlc-android/src/org/videolan/vlc/PlaybackService.kt
with
1 addition
and
1 deletion
application/vlc-android/src/org/videolan/vlc/PlaybackService.kt
+
1
−
1
View file @
1a9ba63d
...
...
@@ -1242,7 +1242,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
)
...
...
This diff is collapsed.
Click to expand it.
Nicolas Pomepuy
@Aza
mentioned in commit
eeeb65b0
·
2 years ago
mentioned in commit
eeeb65b0
mentioned in commit eeeb65b03b38c9e7be995a54d650e75dd6563dcc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment