From 25ecc9b668f1df320f46d11cce758be6b99da0bd Mon Sep 17 00:00:00 2001 From: Tom Matthews Date: Sun, 29 Nov 2020 11:20:17 +0000 Subject: [PATCH] Fix API endpoint for get_station_by_id Fixes https://github.com/milaq/YCast/issues/76 --- ycast/radiobrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ycast/radiobrowser.py b/ycast/radiobrowser.py index b220884..fe984a8 100644 --- a/ycast/radiobrowser.py +++ b/ycast/radiobrowser.py @@ -61,7 +61,7 @@ def request(url): def get_station_by_id(uid): - station_json = request('stations/byid/' + str(uid)) + station_json = request('stations/byuuid/' + str(uid)) if station_json and len(station_json): return Station(station_json[0]) else: