aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/view/SongView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
index 4da03c72..042d8031 100644
--- a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
+++ b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
@@ -143,7 +143,7 @@ public class SongView extends UpdateView implements Checkable {
durationTextView.setText(Util.formatDuration(song.getDuration()));
checkedTextView.setVisibility(checkable && !song.isVideo() ? View.VISIBLE : View.GONE);
- revision = 0;
+ revision = -1;
updateBackground();
update();
}
@@ -158,7 +158,7 @@ public class SongView extends UpdateView implements Checkable {
}
long newRevision = downloadService.getDownloadListUpdateRevision();
- if(revision != newRevision) {
+ if(revision != newRevision || downloadFile == null) {
downloadFile = downloadService.forSong(song);
revision = newRevision;
}