aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-10-27 22:05:50 -0700
committerScott Jackson <daneren2005@gmail.com>2014-10-27 22:05:50 -0700
commit2c1748691df839eb6543c14732e598cc60c3aa89 (patch)
tree8de8332c24d582d4d806c5140e0080efbb49ca59
parent805d1067441c31a3dececb1287115fb99ea1ea4d (diff)
downloaddsub-2c1748691df839eb6543c14732e598cc60c3aa89.tar.gz
dsub-2c1748691df839eb6543c14732e598cc60c3aa89.tar.bz2
dsub-2c1748691df839eb6543c14732e598cc60c3aa89.zip
Fix typo in isAudioBook
-rw-r--r--src/github/daneren2005/dsub/domain/MusicDirectory.java2
-rw-r--r--src/github/daneren2005/dsub/service/DownloadService.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/domain/MusicDirectory.java b/src/github/daneren2005/dsub/domain/MusicDirectory.java
index 79472a89..d0bc173b 100644
--- a/src/github/daneren2005/dsub/domain/MusicDirectory.java
+++ b/src/github/daneren2005/dsub/domain/MusicDirectory.java
@@ -453,7 +453,7 @@ public class MusicDirectory implements Serializable {
public boolean isPodcast() {
return this instanceof PodcastEpisode || type == TYPE_PODCAST;
}
- public boolean isAudiBook() {
+ public boolean isAudioBook() {
return type == TYPE_AUDIO_BOOK;
}
diff --git a/src/github/daneren2005/dsub/service/DownloadService.java b/src/github/daneren2005/dsub/service/DownloadService.java
index afa91d90..c2ff73b8 100644
--- a/src/github/daneren2005/dsub/service/DownloadService.java
+++ b/src/github/daneren2005/dsub/service/DownloadService.java
@@ -1987,7 +1987,7 @@ public class DownloadService extends Service {
int duration = getPlayerDuration();
// If song is podcast or long go ahead and auto add a bookmark
- if(entry.isPodcast() || entry.isAudiBook() || duration > (10L * 60L * 1000L)) {
+ if(entry.isPodcast() || entry.isAudioBook() || duration > (10L * 60L * 1000L)) {
final Context context = this;
final int position = getPlayerPosition();