add support for opening m3u, pls, extended m3u and extended pls playlists
[enigma2.git] / lib / python / Components / FileList.py
index ce1f236f4246af6f019e27daaecec840769e7ecd..0d8245c29320b5708bbc826ab14274345b021f17 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: