From a03fffca895411929be65cb3ce8d334c93ab3654 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 6 Mar 2025 15:23:31 +0100 Subject: [PATCH] Chore: some textual changes --- music_assistant/helpers/audio.py | 1 - music_assistant/helpers/ffmpeg.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/music_assistant/helpers/audio.py b/music_assistant/helpers/audio.py index b2b5c42a..9630dbdc 100644 --- a/music_assistant/helpers/audio.py +++ b/music_assistant/helpers/audio.py @@ -537,7 +537,6 @@ async def get_stream_details( in (MediaType.TRACK, MediaType.AUDIOBOOK, MediaType.PODCAST_EPISODE) and streamdetails.stream_type in (StreamType.HTTP, StreamType.ENCRYPTED_HTTP, StreamType.CUSTOM, StreamType.HLS) - and streamdetails.audio_format.content_type != ContentType.UNKNOWN and get_chunksize(streamdetails.audio_format, streamdetails.duration) < 100000000 ) diff --git a/music_assistant/helpers/ffmpeg.py b/music_assistant/helpers/ffmpeg.py index 151fcd16..204b36d5 100644 --- a/music_assistant/helpers/ffmpeg.py +++ b/music_assistant/helpers/ffmpeg.py @@ -79,14 +79,12 @@ class FFMpeg(AsyncProcess): clean_args.append("") elif "/" in arg and "." in arg: clean_args.append("") - elif arg.startswith("/tmp/"): # noqa: S108 - clean_args.append("") elif arg.startswith("data:application/"): clean_args.append("") else: clean_args.append(arg) args_str = " ".join(clean_args) - self.logger.debug("started with args: %s", args_str) + self.logger.log(VERBOSE_LOG_LEVEL, "started with args: %s", args_str) self._logger_task = asyncio.create_task(self._log_reader_task()) if isinstance(self.audio_input, AsyncGenerator): self._stdin_task = asyncio.create_task(self._feed_stdin()) -- 2.34.1