diff --git a/controllers/subsonic/media_retrieval.py b/controllers/subsonic/media_retrieval.py index 9fdc3be..2870ff5 100644 --- a/controllers/subsonic/media_retrieval.py +++ b/controllers/subsonic/media_retrieval.py @@ -59,7 +59,9 @@ def stream(self, **kwargs): # As specified in Subsonic API: if maxBitRate is set to zero, no limit is imposed. We also # avoid any upsampling. - if fn_ext[1:] == output_format and (not maxBitRate or maxBitRate >= track.bitrate): + if output_format == "raw" or ( + fn_ext[1:] == output_format and (not maxBitRate or maxBitRate >= track.bitrate) + ): return http.send_file(track.path) Transcoder = (