From af1766697f603cd13865a9090a83787ff4515c7a Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Mon, 1 May 2017 11:04:13 +0200 Subject: [PATCH] Remove obsolete method --- resources/lib/playutils.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 410819c5..b153086e 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -115,28 +115,6 @@ class PlayUtils(): return playurl - def fileExists(self): - - if 'Path' not in self.item: - # File has no path defined in server - return False - - # Convert path to direct play - path = self.directPlay() - log.info("Verifying path: %s" % path) - - if xbmcvfs.exists(path): - log.info("Path exists.") - return True - - elif ":" not in path: - log.info("Can't verify path, assumed linux. Still try to direct play.") - return True - - else: - log.info("Failed to find file.") - return False - def mustTranscode(self): """ Returns True if we need to transcode because