[vlc-commits] HTTP intf: support opening of playlists in the browse dialog
Jean-Baptiste Kempf
git at videolan.org
Fri Jul 27 04:10:01 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jul 26 23:08:34 2012 +0200| [df3b867cf33330a3e75055722aff7dd54ca99f88] | committer: Jean-Baptiste Kempf
HTTP intf: support opening of playlists in the browse dialog
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df3b867cf33330a3e75055722aff7dd54ca99f88
---
share/lua/http/js/controlers.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/http/js/controlers.js b/share/lua/http/js/controlers.js
index 6ef5782..ab59bcf 100644
--- a/share/lua/http/js/controlers.js
+++ b/share/lua/http/js/controlers.js
@@ -172,7 +172,7 @@ function browse(dir) {
$('#browse_elements').empty();
$('element', data).each(function () {
var ext = $(this).attr('name').substr($(this).attr('name').lastIndexOf('.') + 1).toLowerCase();
- if ($(this).attr('type') == 'dir' || $.inArray(ext, video_types) != -1 || $.inArray(ext, audio_types) != -1) {
+ if ($(this).attr('type') == 'dir' || $.inArray(ext, video_types) != -1 || $.inArray(ext, audio_types) != -1 || $.inArray(ext, playlist_types) != -1) {
$('#browse_elements').append(createElementLi($(this).attr('name'), $(this).attr('type'), $(this).attr('uri'), ext));
}
});
More information about the vlc-commits
mailing list