aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-11 17:39:57 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-11 17:39:57 -0800
commit8893f21e290805ad9b571d1208ea286cd7192960 (patch)
tree788e7928605451e79075762d3434225289cf9df8 /src
parent1ec1bd6386ed3e0b62d28522f02232018386772f (diff)
downloaddsub-8893f21e290805ad9b571d1208ea286cd7192960.tar.gz
dsub-8893f21e290805ad9b571d1208ea286cd7192960.tar.bz2
dsub-8893f21e290805ad9b571d1208ea286cd7192960.zip
Change podcast cutoff point to 90%
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/service/DownloadServiceImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
index 8b069217..51c32091 100644
--- a/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
+++ b/src/github/daneren2005/dsub/service/DownloadServiceImpl.java
@@ -514,8 +514,8 @@ public class DownloadServiceImpl extends Service implements DownloadService {
if(currentPlaying != null && currentPlaying.getSong() instanceof PodcastEpisode) {
int duration = getPlayerDuration();
- // Make sure > 95% of the way through
- int cutoffPoint = (int)(duration * 0.95);
+ // Make sure > 90% of the way through
+ int cutoffPoint = (int)(duration * 0.90);
if(duration > 0 && cachedPosition > cutoffPoint) {
currentPlaying.delete();
}