Fix WAVE as output format (#344)
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 27 May 2022 22:44:20 +0000 (00:44 +0200)
committerGitHub <noreply@github.com>
Fri, 27 May 2022 22:44:20 +0000 (00:44 +0200)
music_assistant/models/enums.py
music_assistant/models/player.py
music_assistant/models/player_queue.py

index b0046a04818e52d8d1ac3e3469730791a452785c..e3bb43cdede8605c7d4d6b36882f4a9666de97e3 100644 (file)
@@ -86,7 +86,7 @@ class ContentType(Enum):
     AAC = "aac"
     MPEG = "mpeg"
     ALAC = "alac"
-    WAVE = "wave"
+    WAV = "wav"
     AIFF = "aiff"
     WMA = "wma"
     M4A = "m4a"
@@ -121,7 +121,7 @@ class ContentType(Enum):
             ContentType.OGG,
             ContentType.FLAC,
             ContentType.MP3,
-            ContentType.WAVE,
+            ContentType.WAV,
             ContentType.AIFF,
         ]
 
index f5168389adb340f8f9dfa7925a9f80e1c7f0df8e..26c2dfa6b4e22ee405ff66407ace788be362f318 100755 (executable)
@@ -23,7 +23,7 @@ DEFAULT_SUPPORTED_CONTENT_TYPES = (
     # if a player does not report/set its supported content types, we use a pretty safe default
     ContentType.FLAC,
     ContentType.MP3,
-    ContentType.WAVE,
+    ContentType.WAV,
     ContentType.PCM_S16LE,
     ContentType.PCM_S24LE,
 )
index 38fac75917aee774e4f8d8bb5f59f95a8df16d6d..24181b87be6d0f47879917dbf41ee60166a211ea 100644 (file)
@@ -200,7 +200,7 @@ class QueueSettings:
             x
             for x in (
                 ContentType.FLAC,
-                ContentType.WAVE,
+                ContentType.WAV,
                 ContentType.PCM_S16LE,
                 ContentType.MP3,
                 ContentType.MPEG,