Fixed opening video player when starting video

This commit is contained in:
ByteHamster 2020-05-03 17:24:40 +02:00
parent bf216cbfac
commit 10c533ecb3
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));
}
}
}