add support for opening m3u, pls, extended m3u and extended pls playlists
[enigma2.git] / lib / python / Components / FileList.py
index ce1f236..0d8245c 100644 (file)
@@ -95,7 +95,7 @@ class FileList(MenuList, HTMLComponent, GUIComponent):
                        tmpfiles = files[:]
                        for x in tmpfiles:
                                if os.path.isdir(directory + x):
-                                       directories.append(x)
+                                       directories.append(directory + x + "/")
                                        files.remove(x)
                
                if directory != "/" and self.showDirectories and not self.isTop: