mirror of
https://github.com/csd4ni3l/music-player.git
synced 2026-01-01 04:03:42 +01:00
add Nuitka action, minor bug fix
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user