fix mediascanner list handling, thx to mechatron
authorFraxinas <andreas.frisch@multimedia-labs.de>
Wed, 19 Nov 2008 16:39:20 +0000 (17:39 +0100)
committerFraxinas <andreas.frisch@multimedia-labs.de>
Wed, 19 Nov 2008 16:39:20 +0000 (17:39 +0100)
lib/python/Plugins/Extensions/PicturePlayer/plugin.py

index e9da3e2fe3c49a949e6b7d5acdd8ff296a7bfe40..05adb633fe1d16c2a9a4828f2aca5c05a1738e14 100644 (file)
@@ -452,6 +452,11 @@ class Pic_Full_View(Screen):
                                        self.filelist.append(path + x[0][0])
                                else:
                                        self.dirlistcount += 1
+                       elif len(filelist[0]) == 2: #scanlist
+                               if x[0][1] == False:
+                                       self.filelist.append(x[0][0])
+                               else:
+                                       self.dirlistcount += 1
                        else: # thumbnaillist
                                self.filelist.append(x[T_FULL])