aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();