fix in playutils

This commit is contained in:
Marcel van der Veldt 2015-03-28 19:07:57 +01:00
parent 03d99ed0d8
commit 74f96b2e13

View file

@ -76,10 +76,9 @@ class PlayUtils():
# Works out if we are direct playing or not
def isDirectPlay(self, result):
# if (self.fileExists(result) or (result.get("LocationType") == "FileSystem" and self.isNetworkQualitySufficient(result) == True and self.isLocalPath(result) == False)):
# return True
# else:
# return False
if (self.fileExists(result) or (result.get("LocationType") == "FileSystem" and self.isNetworkQualitySufficient(result) == True and self.isLocalPath(result) == False)):
return True
else:
return False