mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-26 08:44:13 +01:00
Fixed playback speed not changing when episode ended and next started playing
This commit is contained in:
parent
044fd7e7f9
commit
de78c0e31e
@ -245,6 +245,7 @@ public class LocalPSMP extends PlaybackServiceMediaPlayer {
|
|||||||
try {
|
try {
|
||||||
media.loadMetadata();
|
media.loadMetadata();
|
||||||
callback.onMediaChanged(false);
|
callback.onMediaChanged(false);
|
||||||
|
setPlaybackParams(UserPreferences.getPlaybackSpeed(media), UserPreferences.isSkipSilence());
|
||||||
if (stream) {
|
if (stream) {
|
||||||
mediaPlayer.setDataSource(media.getStreamUrl());
|
mediaPlayer.setDataSource(media.getStreamUrl());
|
||||||
} else if (media.getLocalMediaUrl() != null && new File(media.getLocalMediaUrl()).canRead()) {
|
} else if (media.getLocalMediaUrl() != null && new File(media.getLocalMediaUrl()).canRead()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user