use the plugin method for playback when transcoding, use native kodi playback for direct access

This commit is contained in:
Marcel van der Veldt 2015-03-28 19:04:32 +01:00
parent 7493e57fcb
commit 03d99ed0d8
4 changed files with 23 additions and 26 deletions

View file

@ -76,10 +76,11 @@ 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
return False
# Works out if the network quality can play directly or if transcoding is needed