From 8893f21e290805ad9b571d1208ea286cd7192960 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 11 Dec 2013 17:39:57 -0800 Subject: Change podcast cutoff point to 90% --- src/github/daneren2005/dsub/service/DownloadServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); } -- cgit v1.2.3