From f04b233126d2ba045d876278b36fd971adee3556 Mon Sep 17 00:00:00 2001 From: Felix Steghofer Date: Sat, 20 Jan 2018 10:20:58 +0100 Subject: [PATCH] fixed stream; thx Moe from shinobi --- custom_components/shinobi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/shinobi.py b/custom_components/shinobi.py index 04a1568..4eae23c 100644 --- a/custom_components/shinobi.py +++ b/custom_components/shinobi.py @@ -117,7 +117,7 @@ def set_monitor_state(monitor_id, mode): def monitor_stream_url(monitor_id): """Get the stream url. See https://shinobi.video/docs/api#content-embedding-streams for more information.""" - return SHINOBI['server_origin'] + '/' + SHINOBI['api_key'] + '/embed/' + SHINOBI['group_key'] + '/' + monitor_id + return SHINOBI['server_origin'] + '/' + SHINOBI['api_key'] + '/mjpeg/' + SHINOBI['group_key'] + '/' + monitor_id def monitor_still_url(monitor_id):