X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b68fe12ef5f0587353988eac7619adcb8e38ce58..a11730521d4961659036039c9462e09541c3facd:/lib/python/Plugins/Extensions/DVDPlayer/plugin.py diff --git a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py index 4c66a5c4..101166bb 100644 --- a/lib/python/Plugins/Extensions/DVDPlayer/plugin.py +++ b/lib/python/Plugins/Extensions/DVDPlayer/plugin.py @@ -56,6 +56,11 @@ class FileBrowser(Screen): self.close(filename[0:-9]) if self["filelist"].canDescent(): # isDir self["filelist"].descent() + pathname = self["filelist"].getCurrentDirectory() + print self["filelist"].getFilename() + if fileExists(pathname+"VIDEO_TS.IFO"): + print "dvd structure found, trying to open..." + self.close(pathname) else: self.close(filename)