diff options
Diffstat (limited to 'src/de/danoeh/antennapod/util/ChapterUtils.java')
-rw-r--r-- | src/de/danoeh/antennapod/util/ChapterUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/de/danoeh/antennapod/util/ChapterUtils.java b/src/de/danoeh/antennapod/util/ChapterUtils.java index e60e971ab..ac8149119 100644 --- a/src/de/danoeh/antennapod/util/ChapterUtils.java +++ b/src/de/danoeh/antennapod/util/ChapterUtils.java @@ -88,8 +88,8 @@ public class ChapterUtils { public static void readID3ChaptersFromPlayableFileUrl(Playable p) { if (AppConfig.DEBUG) Log.d(TAG, "Reading id3 chapters from item " + p.getEpisodeTitle()); - if (p != null && p.localFileAvailable() && p.getFileUrl() != null) { - File source = new File(p.getFileUrl()); + if (p != null && p.localFileAvailable() && p.getLocalMediaUrl() != null) { + File source = new File(p.getLocalMediaUrl()); if (source.exists()) { ChapterReader reader = new ChapterReader(); InputStream in = null; @@ -152,8 +152,8 @@ public class ChapterUtils { } public static void readOggChaptersFromPlayableFileUrl(Playable media) { - if (media != null && media.getFileUrl() != null) { - File source = new File(media.getFileUrl()); + if (media != null && media.getLocalMediaUrl() != null) { + File source = new File(media.getLocalMediaUrl()); if (source.exists()) { InputStream input = null; try { |