add Nuitka action, minor bug fix

This commit is contained in:
csd4ni3l
2025-05-24 10:38:19 +02:00
parent 26b9f17970
commit d3d36e5250
3 changed files with 93 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ class Downloader(arcade.gui.UIView):
try:
audio = AudioSegment.from_file("downloaded_music.mp3")
if audio.dBFS < self.settings_dict.get("normalized_volume", -8):
if int(audio.dBFS) != self.settings_dict.get("normalized_volume", -8):
change = self.settings_dict.get("normalized_volume", -8) - audio.dBFS
audio = audio.apply_gain(change)

View File

@@ -5,7 +5,6 @@ from utils.preload import *
from utils.constants import button_style, slider_style, audio_extensions, discord_presence_id
from utils.utils import FakePyPresence, UIFocusTextureButton, extract_metadata, truncate_end
from arcade.gui.property import bind
from thefuzz import process, fuzz
from pydub import AudioSegment