diff options
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDPlayer/plugin.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDPlayer/plugin.py | 5 |
1 files changed, 5 insertions, 0 deletions
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) |
