From 2b0c26b532df94a4483bdc3bff2ea4f0c18452ac Mon Sep 17 00:00:00 2001 From: Moritz Venn Date: Sun, 26 Feb 2012 15:53:39 +0100 Subject: [PATCH] VlcServer.py: show directories again with vlc 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit streaming still broken though… funny to say this in connection with an enigma2 plugin, but I really dislike the lack of a clear documentation ;) --- vlcplayer/src/VlcServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlcplayer/src/VlcServer.py b/vlcplayer/src/VlcServer.py index 277209f3..22e9c19d 100644 --- a/vlcplayer/src/VlcServer.py +++ b/vlcplayer/src/VlcServer.py @@ -169,7 +169,7 @@ class VlcServer: path = normpath(element.getAttribute("path").encode("utf8")) if path is not None: elementType = element.getAttribute("type") - if elementType == "directory": + if elementType == "directory" or elementType == "dir": directories.append([name, path]) elif elementType == "file": if regex is None or regex.search(path): -- 2.20.1