summaryrefslogtreecommitdiff
path: root/src/sound_node.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_node.py')
-rwxr-xr-xsrc/sound_node.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sound_node.py b/src/sound_node.py
index 7d8ba1a..9d53362 100755
--- a/src/sound_node.py
+++ b/src/sound_node.py
@@ -3,7 +3,6 @@ import os
from typing import Optional
-from home.util import parse_addr
from home.config import config
from home.audio import amixer
from home.media import MediaNodeServer, SoundRecordStorage, SoundRecorder
@@ -87,5 +86,5 @@ if __name__ == '__main__':
server = SoundNodeServer(recorder=recorder,
storage=storage,
- addr=parse_addr(config['node']['listen']))
+ addr=config.get_addr('node.listen'))
server.run()