From 72bbba2c5ebd06bd6465bd6e311f502934706d22 Mon Sep 17 00:00:00 2001 From: jnolti <96271985+jnolti@users.noreply.github.com> Date: Fri, 17 Dec 2021 02:07:36 +0100 Subject: [PATCH 1/2] Update server.py --- ycast/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ycast/server.py b/ycast/server.py index 6d963da..0d129ce 100644 --- a/ycast/server.py +++ b/ycast/server.py @@ -133,6 +133,8 @@ def upstream(path): return my_stations_landing() if 'loginXML.asp' in path: return landing() + if 'LoginXML.asp' in path: + return landing() logging.error("Unhandled upstream query (/setupapp/%s)", path) abort(404) From ce04cbdd8e646d8b90c4d765776e9804e2a9ef85 Mon Sep 17 00:00:00 2001 From: jnolti <96271985+jnolti@users.noreply.github.com> Date: Sun, 19 Dec 2021 20:51:50 +0100 Subject: [PATCH 2/2] Update my_stations.py Replaced line 4 in stations.py with import oyaml as yaml Note: Install oyaml (https://github.com/wimglenn/oyaml) before using this version. Result: Stations from stations.yml now appear in the original order as written in the file. --- ycast/my_stations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycast/my_stations.py b/ycast/my_stations.py index 64df667..a14d0ae 100644 --- a/ycast/my_stations.py +++ b/ycast/my_stations.py @@ -1,7 +1,7 @@ import logging import hashlib -import yaml +import oyaml as yaml import ycast.vtuner as vtuner import ycast.generic as generic