This commit is contained in:
user committed 2024-04-06 11:36:18 +03:00
1 parent 64e3070a67
commit 3035a39083
1 file changed
-1
-1
View File
@@ -173,7 +173,6 @@ async def s_api_v1_storage_get(request, file_hash=None):
except BaseException as e:
make_log("Storage", f"Error loading audio from binary: {e}", level="debug")
audio = AudioSegment(content_file_bin)
audio = audio[:seconds_limit * 1000] if seconds_limit else audio
audio.export(tempfile_path, format="mp3", cover=cover_tempfile_path)
except BaseException as e: