mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-29 18:09:21 +01:00
Switch to new external media even if service is running
This commit is contained in:
parent
42874fbd43
commit
1c6e1cbc6d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user