From 7baeb716a8e018f741742e86b00cf279ea52e929 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Sun, 27 Aug 2023 20:03:49 -0700 Subject: [PATCH] add dav --- jellyfin_kodi/helper/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/helper/api.py b/jellyfin_kodi/helper/api.py index 79e67409..dfd80ac7 100644 --- a/jellyfin_kodi/helper/api.py +++ b/jellyfin_kodi/helper/api.py @@ -215,7 +215,7 @@ class API(object): protocol = path.split('://')[0] path = path.replace(protocol, protocol.lower()) - if path.startswith('http') or path.startswith('ftp') or path.startswith('sftp'): + if path.startswith('http') or path.startswith('ftp') or path.startswith('sftp') or path.startswith('dav'): rs = re.search("(.*?://.+?/)(.+)", path) if rs: path = rs.group(1) + urlquote(rs.group(2))