summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-01-29 20:16:46 +0100
committerByteHamster <info@bytehamster.com>2022-01-29 20:16:46 +0100
commitcda22a8c5f90b4e3a8f5f4a5ac4721409292ab8b (patch)
tree0436a5be4e1ce36e3f04f6fa8793019305f5912c
parent37eec9902b8a92d1cda8cdbdbe93d9254b2e4034 (diff)
downloadantennapod-cda22a8c5f90b4e3a8f5f4a5ac4721409292ab8b.zip
Manually detect m4b on devices that don't do it
-rw-r--r--parser/feed/src/main/java/de/danoeh/antennapod/parser/feed/util/MimeTypeUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/feed/src/main/java/de/danoeh/antennapod/parser/feed/util/MimeTypeUtils.java b/parser/feed/src/main/java/de/danoeh/antennapod/parser/feed/util/MimeTypeUtils.java
index be1048050..99faaa133 100644
--- a/parser/feed/src/main/java/de/danoeh/antennapod/parser/feed/util/MimeTypeUtils.java
+++ b/parser/feed/src/main/java/de/danoeh/antennapod/parser/feed/util/MimeTypeUtils.java
@@ -16,7 +16,7 @@ public class MimeTypeUtils {
// based on https://developer.android.com/guide/topics/media/media-formats
static final Set<String> AUDIO_FILE_EXTENSIONS = new HashSet<>(Arrays.asList(
- "3gp", "aac", "amr", "flac", "imy", "m4a", "mid", "mkv", "mp3", "mp4", "mxmf", "oga",
+ "3gp", "aac", "amr", "flac", "imy", "m4a", "m4b", "mid", "mkv", "mp3", "mp4", "mxmf", "oga",
"ogg", "ogx", "opus", "ota", "rtttl", "rtx", "wav", "xmf"
));