This commit is contained in:
Your Name
2024-05-11 15:55:30 -05:00
parent 0f8ac77321
commit 65472c8165

View File

@@ -259,7 +259,7 @@ class Soundd:
# theme_name = theme_configuration.get(custom_sounds)
# self.sound_directory = BASEDIR + ("/selfdrive/clearpilot/theme/" + theme_name + "/sounds/" if custom_sounds != 0 else "/selfdrive/assets/sounds/")
self.sound_directory = BASEDIR + ("/selfdrive/clearpilot/theme/clearpilot/sounds/" if custom_sounds != 0 else "/selfdrive/assets/sounds/")
self.sound_directory = BASEDIR + ("/selfdrive/clearpilot/theme/clearpilot/sounds/")
if self.sound_directory != self.previous_sound_directory:
self.load_sounds()