From 87681ee8507906331a871e749d3b35c07aba10b4 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 7 May 2015 16:33:50 -0500 Subject: [PATCH] Adjustment for playback os.path.exists does not return True with nfs protocol. Less strict "FileExists" --- resources/lib/PlayUtils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/lib/PlayUtils.py b/resources/lib/PlayUtils.py index ad1f8d41..f0e7d3bc 100644 --- a/resources/lib/PlayUtils.py +++ b/resources/lib/PlayUtils.py @@ -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 \ No newline at end of file