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

Playing a new video on TV while in PiP opens the player again

parent 770992ea
No related branches found
No related tags found
1 merge request!7113.3 fixes
Pipeline #22238 passed with stage
in 20 minutes and 28 seconds
......@@ -318,6 +318,10 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
skipMedia()
return
}
//PiP TV
if (AndroidDevices.isTv && isVideoPlaying) {
VideoPlayerActivity.startOpened(ctx, mw.uri, currentIndex)
}
val title = mw.getMetaLong(MediaWrapper.META_TITLE)
if (title > 0) uri = "$uri#$title".toUri()
val start = getStartTime(mw)
......
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