aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-01-02 18:49:04 -0800
committerScott Jackson <daneren2005@gmail.com>2014-01-02 18:49:04 -0800
commit0eacecbc74537d76f7b411325f436312b829243a (patch)
tree08ea2568baecbe1c8bc9f6305fe2037b5a3b100b /src
parentd9c36e236bb1c2b728ca6a2c0ff3599976df1bcd (diff)
downloaddsub-0eacecbc74537d76f7b411325f436312b829243a.tar.gz
dsub-0eacecbc74537d76f7b411325f436312b829243a.tar.bz2
dsub-0eacecbc74537d76f7b411325f436312b829243a.zip
#236 Fix playing two songs when using playNext
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index aaf8c533..a6d7ff4d 100644
--- a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -301,6 +301,7 @@ public class DownloadServiceImpl extends Service implements DownloadService {
downloadList.add(getCurrentPlayingIndex() + offset, downloadFile);
offset++;
}
+ setNextPlaying();
revision++;
} else {
int size = size();