diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java index d4d97fd5..c953823b 100644 --- a/src/github/daneren2005/dsub/service/DownloadService.java +++ b/src/github/daneren2005/dsub/service/DownloadService.java @@ -1015,6 +1015,8 @@ public class DownloadService extends Service { if(size() == 1) { seekTo(getPlayerPosition() + FAST_FORWARD); return; + } else if(playerState == PREPARING || playerState == PREPARED) { + return; } // Delete podcast if fully listened to @@ -1563,6 +1565,7 @@ public class DownloadService extends Service { subtractPosition = 0; mediaPlayer.setOnCompletionListener(null); mediaPlayer.setOnPreparedListener(null); + mediaPlayer.setOnErrorListener(null); mediaPlayer.reset(); setPlayerState(IDLE); try { |