wip
This commit is contained in:
@@ -259,7 +259,7 @@ class Soundd:
|
|||||||
# theme_name = theme_configuration.get(custom_sounds)
|
# 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/" + 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:
|
if self.sound_directory != self.previous_sound_directory:
|
||||||
self.load_sounds()
|
self.load_sounds()
|
||||||
|
|||||||
Reference in New Issue
Block a user