Adjustment for playback

os.path.exists does not return True with nfs protocol. Less strict
"FileExists"
This commit is contained in:
angelblue05 2015-05-07 16:33:50 -05:00
parent 5ac32f467a
commit 87681ee850

View file

@ -305,5 +305,9 @@ class PlayUtils():
# Verify the device has access to the direct path
if os.path.exists(path):
return True
elif ":\\" not in path:
# Give benefit of the doubt for nfs protocol
# Does not behave with os.path.exists
return True
else:
return False