We need the brackets for later

This commit is contained in:
Matt
2020-12-05 18:28:20 -05:00
parent 65a9b11dc5
commit 8f736e8bd3

View File

@@ -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