mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Adjustment for playback
os.path.exists does not return True with nfs protocol. Less strict "FileExists"
This commit is contained in:
parent
5ac32f467a
commit
87681ee850
1 changed files with 4 additions and 0 deletions
|
@ -305,5 +305,9 @@ class PlayUtils():
|
||||||
# Verify the device has access to the direct path
|
# Verify the device has access to the direct path
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
return True
|
return True
|
||||||
|
elif ":\\" not in path:
|
||||||
|
# Give benefit of the doubt for nfs protocol
|
||||||
|
# Does not behave with os.path.exists
|
||||||
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
Loading…
Reference in a new issue