From: jmberg Date: Mon, 16 Jun 2025 07:35:42 +0000 (+0200) Subject: Add Opus to audiobook extensions (#2216) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=bb7f427074463457f88aaf3c0abddcf94c5270bf;p=music-assistant-server.git Add Opus to audiobook extensions (#2216) --- diff --git a/music_assistant/providers/filesystem_local/constants.py b/music_assistant/providers/filesystem_local/constants.py index 98d95a6d..1a553b20 100644 --- a/music_assistant/providers/filesystem_local/constants.py +++ b/music_assistant/providers/filesystem_local/constants.py @@ -101,7 +101,7 @@ TRACK_EXTENSIONS = { } PLAYLIST_EXTENSIONS = {"m3u", "pls", "m3u8"} IMAGE_EXTENSIONS = {"jpg", "jpeg", "png", "gif"} -AUDIOBOOK_EXTENSIONS = {"aa", "aax", "m4b", "m4a", "mp3", "mp4", "flac", "ogg"} +AUDIOBOOK_EXTENSIONS = {"aa", "aax", "m4b", "m4a", "mp3", "mp4", "flac", "ogg", "opus"} PODCAST_EPISODE_EXTENSIONS = {"aa", "aax", "m4b", "m4a", "mp3", "mp4", "flac", "ogg"} PLAYLIST_EXTENSIONS = {"m3u", "pls", "m3u8"} SUPPORTED_EXTENSIONS = {