From 8f736e8bd31b284381fe72028d8e22fd6e50463e Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 5 Dec 2020 18:28:20 -0500 Subject: [PATCH] We need the brackets for later --- resources/lib/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/lib/utils.py b/resources/lib/utils.py index f06883a..3408dc1 100644 --- a/resources/lib/utils.py +++ b/resources/lib/utils.py @@ -32,6 +32,9 @@ log = LazyLogger(__name__) def get_jellyfin_url(base_url, params): params["format"] = "json" url_params = urlencode(params) + # Filthy hack until I get around to reworking the network flow + # It relies on {thing} strings in downloadutils.py + url_params = url_params.replace('%7B', '{').replace('%7D', '}') return base_url + "?" + url_params