From 7e584d95f8f26e2e9f1d711b9ee3a82b051aad94 Mon Sep 17 00:00:00 2001 From: Domingos Lopes Date: Wed, 27 Apr 2016 23:57:53 -0400 Subject: [PATCH] fix (hopefully skipping episode) problem was: apparently stopping was taking over any load command that immediately followed it --- .../core/service/playback/RemotePSMP.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java index 203633b3c..c1ea07f2b 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java +++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/RemotePSMP.java @@ -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); }