diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-12-11 17:39:57 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-12-11 17:39:57 -0800 |
commit | 8893f21e290805ad9b571d1208ea286cd7192960 (patch) | |
tree | 788e7928605451e79075762d3434225289cf9df8 /src | |
parent | 1ec1bd6386ed3e0b62d28522f02232018386772f (diff) | |
download | dsub-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.java | 4 |
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(); } |