Switch to new external media even if service is running

This commit is contained in:
ByteHamster 2019-10-05 23:29:32 +02:00
parent 42874fbd43
commit 1c6e1cbc6d
1 changed files with 1 additions and 0 deletions

View File

@ -866,6 +866,7 @@ public abstract class MediaplayerActivity extends CastEnabledActivity implements
ExternalMedia media = new ExternalMedia(intent.getData().getPath(), type);
new PlaybackServiceStarter(this, media)
.callEvenIfRunning(true)
.startWhenPrepared(true)
.shouldStream(false)
.prepareImmediately(true)