aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/DownloadFile.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/DownloadFile.java b/subsonic-android/src/github/daneren2005/dsub/service/DownloadFile.java
index c7d5f542..bfb238d0 100644
--- a/subsonic-android/src/github/daneren2005/dsub/service/DownloadFile.java
+++ b/subsonic-android/src/github/daneren2005/dsub/service/DownloadFile.java
@@ -81,7 +81,9 @@ public class DownloadFile {
* Returns the effective bit rate.
*/
public int getBitRate() {
- bitRate = Util.getMaxBitrate(context);
+ if(!partialFile.exists()) {
+ bitRate = Util.getMaxBitrate(context);
+ }
if (bitRate > 0) {
return bitRate;
}