Merge pull request #4105 from ByteHamster/video-open-correct-player

Fixed opening video player when starting video
This commit is contained in:
H. Lehmann 2020-05-03 17:58:37 +02:00 committed by GitHub
commit 98cc288e1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class PlayActionButton extends ItemActionButton {
.start();
if (media.getMediaType() == MediaType.VIDEO) {
context.startActivity(PlaybackService.getPlayerActivityIntent(context));
context.startActivity(PlaybackService.getPlayerActivityIntent(context, media));
}
}
}

View File

@ -49,7 +49,7 @@ public class StreamActionButton extends ItemActionButton {
.start();
if (media.getMediaType() == MediaType.VIDEO) {
context.startActivity(PlaybackService.getPlayerActivityIntent(context));
context.startActivity(PlaybackService.getPlayerActivityIntent(context, media));
}
}
}