summaryrefslogtreecommitdiff
path: root/voctogui/voctogui.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui/voctogui.py')
-rwxr-xr-xvoctogui/voctogui.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/voctogui/voctogui.py b/voctogui/voctogui.py
index 1ca6579..703bb67 100755
--- a/voctogui/voctogui.py
+++ b/voctogui/voctogui.py
@@ -103,18 +103,22 @@ def main():
logging.info('Python Version: %s', sys.version_info)
logging.info('GStreamer Version: %s', Gst.version())
- # connect to server
+ # establish a synchronus connection to server
Connection.establish(
Config.get('server', 'host'))
# fetch config from server
Config.fetchServerConfig()
+
+ # switch connection to nonblocking, event-driven mode
Connection.enterNonblockingMode()
# init main-class and main-loop
+ # (this binds all event-hander on the Connection)
logging.debug('initializing Voctogui')
voctogui = Voctogui()
+ # start the Mainloop and show the Window
logging.debug('running Voctogui')
voctogui.run()