fix (hopefully skipping episode)
problem was: apparently stopping was taking over any load command that immediately followed it
This commit is contained in:
parent
0fecbcb87b
commit
7e584d95f8
|
@ -546,13 +546,13 @@ public class RemotePSMP extends PlaybackServiceMediaPlayer {
|
||||||
} catch (TransientNetworkDisconnectionException | NoConnectionException e) {
|
} catch (TransientNetworkDisconnectionException | NoConnectionException e) {
|
||||||
Log.e(TAG, "Could not determine if media is playing", e);
|
Log.e(TAG, "Could not determine if media is playing", e);
|
||||||
}
|
}
|
||||||
if (wasSkipped) {
|
// if (wasSkipped) {
|
||||||
try {
|
// try {
|
||||||
castMgr.stop();
|
// castMgr.stop();
|
||||||
} catch (CastException | TransientNetworkDisconnectionException | NoConnectionException e) {
|
// } catch (CastException | TransientNetworkDisconnectionException | NoConnectionException e) {
|
||||||
Log.e(TAG, "Could not stop remote playback when skipping", e);
|
// Log.e(TAG, "Could not stop remote playback when skipping", e);
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
if (playerStatus != PlayerStatus.INDETERMINATE) {
|
if (playerStatus != PlayerStatus.INDETERMINATE) {
|
||||||
setPlayerStatus(PlayerStatus.INDETERMINATE, media);
|
setPlayerStatus(PlayerStatus.INDETERMINATE, media);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue