mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-09 18:06:35 +00:00
add dav
This commit is contained in:
parent
f7620cebc3
commit
7baeb716a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue