Update use of media_dir following change in Libervia Media:
Libervia Media is now a Python package instead of files to put in a directory to specify in settings. The discovery is now automatic, removing the need for settings and enabling easier installation. Furthermore, it should now work even if the package is zipped. `libervia_media` can now be specified as a dependency for frontends requiring it.
This commit is contained in:
parent
2e7ada2b6d
commit
919cafc68c
1 changed files with 12 additions and 20 deletions
|
|
@ -151,7 +151,6 @@ class LiberviaCli:
|
|||
self.console = console.Console(theme=C.THEME_DEFAULT)
|
||||
self.settings = main_config
|
||||
self.cli_settings = main_config.get_settings(CLISettings)
|
||||
self.media_dir = main_config.common.media_dir
|
||||
self.set_color_theme()
|
||||
bridge_module = dynamic_import.bridge(bridge_name, "libervia.frontends.bridge")
|
||||
if bridge_module is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue