Merge pull request #28 from jr-k/develop

Release v1.8
This commit is contained in:
JRK 2024-05-07 13:48:11 +02:00 committed by GitHub
commit 8d1149d014
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,6 +90,13 @@ class ConfigManager:
if self.map().get('autoconfigure_lx_file'):
self.autoconfigure_lxconf()
self.autoconfigure_player_url()
def autoconfigure_player_url(self) -> str:
self._CONFIG['player_url'] = 'http://localhost:{}'.format(self.map().get('port'))
return self._CONFIG['player_url']
def autoconfigure_lxconf(self) -> None:
destination_path = self.map().get('autoconfigure_lx_file')
player_url = self.map().get('player_url')