diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 15:25:52 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-08-29 15:25:52 -0700 |
commit | 1739dec2588fb69ac9f36eaf8b87133c3c48dd02 (patch) | |
tree | b1bc756dd8d190288e1dc2ceebf54781a84a7a30 /src | |
parent | c05ab279cb3f07feb7489387b54f71260c53774c (diff) | |
download | dsub-1739dec2588fb69ac9f36eaf8b87133c3c48dd02.tar.gz dsub-1739dec2588fb69ac9f36eaf8b87133c3c48dd02.tar.bz2 dsub-1739dec2588fb69ac9f36eaf8b87133c3c48dd02.zip |
Fix a repeat download of a video sometimes reverting to song bitrates
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/DownloadFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadFile.java b/src/github/daneren2005/dsub/service/DownloadFile.java index 6ded4343..2a1306d5 100644 --- a/src/github/daneren2005/dsub/service/DownloadFile.java +++ b/src/github/daneren2005/dsub/service/DownloadFile.java @@ -75,7 +75,7 @@ public class DownloadFile implements BufferFile { this.song = song; this.save = save; saveFile = FileUtil.getSongFile(context, song); - bitRate = Util.getMaxBitrate(context); + bitRate = getActualBitrate(); partialFile = new File(saveFile.getParent(), FileUtil.getBaseName(saveFile.getName()) + ".partial." + FileUtil.getExtension(saveFile.getName())); completeFile = new File(saveFile.getParent(), FileUtil.getBaseName(saveFile.getName()) + |