From ab80bbf22670c93b1884be6307dda065a07b48fe Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 7 Mar 2026 14:23:29 +0000 Subject: [PATCH] use host kwarg/env var in examples --- examples/gui/__main__.py | 2 +- examples/obs/__main__.py | 2 +- examples/observer/__main__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/gui/__main__.py b/examples/gui/__main__.py index 21c6534..a116555 100644 --- a/examples/gui/__main__.py +++ b/examples/gui/__main__.py @@ -103,7 +103,7 @@ class App(tk.Tk): def main(): KIND_ID = 'banana' conn = { - 'ip': os.environ.get('VBANCMD_IP', 'localhost'), + 'host': os.environ.get('VBANCMD_HOST', 'localhost'), 'port': int(os.environ.get('VBANCMD_PORT', 6980)), 'streamname': os.environ.get('VBANCMD_STREAMNAME', 'Command1'), } diff --git a/examples/obs/__main__.py b/examples/obs/__main__.py index 9838e84..fb6bf6a 100644 --- a/examples/obs/__main__.py +++ b/examples/obs/__main__.py @@ -94,7 +94,7 @@ class Observer: def main(): KIND_ID = 'potato' conn = { - 'ip': os.environ.get('VBANCMD_IP', 'localhost'), + 'host': os.environ.get('VBANCMD_HOST', 'localhost'), 'port': int(os.environ.get('VBANCMD_PORT', 6980)), 'streamname': os.environ.get('VBANCMD_STREAMNAME', 'Command1'), } diff --git a/examples/observer/__main__.py b/examples/observer/__main__.py index e6c5e48..6de1085 100644 --- a/examples/observer/__main__.py +++ b/examples/observer/__main__.py @@ -25,7 +25,7 @@ class App: def main(): KIND_ID = 'banana' conn = { - 'ip': os.environ.get('VBANCMD_IP', 'localhost'), + 'host': os.environ.get('VBANCMD_HOST', 'localhost'), 'port': int(os.environ.get('VBANCMD_PORT', 6980)), 'streamname': os.environ.get('VBANCMD_STREAMNAME', 'Command1'), }