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) {
|
||||
Log.e(TAG, "Could not determine if media is playing", e);
|
||||
}
|
||||
if (wasSkipped) {
|
||||
try {
|
||||
castMgr.stop();
|
||||
} catch (CastException | TransientNetworkDisconnectionException | NoConnectionException e) {
|
||||
Log.e(TAG, "Could not stop remote playback when skipping", e);
|
||||
}
|
||||
}
|
||||
// if (wasSkipped) {
|
||||
// try {
|
||||
// castMgr.stop();
|
||||
// } catch (CastException | TransientNetworkDisconnectionException | NoConnectionException e) {
|
||||
// Log.e(TAG, "Could not stop remote playback when skipping", e);
|
||||
// }
|
||||
// }
|
||||
if (playerStatus != PlayerStatus.INDETERMINATE) {
|
||||
setPlayerStatus(PlayerStatus.INDETERMINATE, media);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue