\ No newline at end of file
diff --git a/share/lua/http/dialogs/browse_window.html b/share/lua/http/dialogs/browse_window.html
index d578a0e296..38a24a1399 100644
--- a/share/lua/http/dialogs/browse_window.html
+++ b/share/lua/http/dialogs/browse_window.html
@@ -1,20 +1,11 @@
+
+
+
Preamp: 0dB
+
+
+
+
+
\ No newline at end of file
diff --git a/share/lua/http/dialogs/error_window.html b/share/lua/http/dialogs/error_window.html
new file mode 100644
index 0000000000..22639ace92
--- /dev/null
+++ b/share/lua/http/dialogs/error_window.html
@@ -0,0 +1,19 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/share/lua/http/mobile_browse.html b/share/lua/http/mobile_browse.html
new file mode 100644
index 0000000000..314da74ef3
--- /dev/null
+++ b/share/lua/http/mobile_browse.html
@@ -0,0 +1,54 @@
+
+
+
+ VLC media player - Web Interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Play List
+
+
+
+
+
\ No newline at end of file
diff --git a/share/lua/http/mobile_equalizer.html b/share/lua/http/mobile_equalizer.html
new file mode 100644
index 0000000000..310eb406c2
--- /dev/null
+++ b/share/lua/http/mobile_equalizer.html
@@ -0,0 +1,70 @@
+
+
+
+ VLC media player - Web Interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Preamp: 0dB
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/lua/http/mobile_view.html b/share/lua/http/mobile_view.html
new file mode 100644
index 0000000000..b84b2d7652
--- /dev/null
+++ b/share/lua/http/mobile_view.html
@@ -0,0 +1,55 @@
+
+
+
+ VLC media player - Web Interface
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/share/lua/http/requests/playlist.xml b/share/lua/http/requests/playlist.xml
index d8bbe02eb2..23fdb64b95 100644
--- a/share/lua/http/requests/playlist.xml
+++ b/share/lua/http/requests/playlist.xml
@@ -6,25 +6,25 @@ vim:syntax=lua
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
< Copyright (C) 2005-2006 the VideoLAN team
< $Id$
-<
+<
< Authors: Antoine Cellerier
-<
+<
< This program is free software; you can redistribute it and/or modify
< it under the terms of the GNU General Public License as published by
< the Free Software Foundation; either version 2 of the License, or
< (at your option) any later version.
-<
+<
< This program is distributed in the hope that it will be useful,
< but WITHOUT ANY WARRANTY; without even the implied warranty of
< MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
< GNU General Public License for more details.
-<
+<
< You should have received a copy of the GNU General Public License
< along with this program; if not, write to the Free Software
< Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
]] ?>
-
+
' ..name.. '')
- for _, child in ipairs(item.children) do
- print_playlist(child)
- end
- print('')
- else
- for _, child in ipairs(item.children) do
- print_playlist(child)
- end
- end
+ print('')
+ for _, child in ipairs(item.children) do
+ print_playlist(child)
+ end
+ print('')
else
local name, path = vlc.strings.convert_xml_special_chars(item.name or "", item.path or "")
local current_item = vlc.input.item()
@@ -63,7 +57,7 @@ function print_playlist(item)
current = 'current="current"'
end
end
- print('' ..name.. '')
+ print('')
end
end
@@ -82,4 +76,3 @@ end
--a(p) --Uncomment to debug
print_playlist(p)
?>
-
\ No newline at end of file
diff --git a/share/lua/http/requests/playlist_jstree.xml b/share/lua/http/requests/playlist_jstree.xml
new file mode 100644
index 0000000000..d8bbe02eb2
--- /dev/null
+++ b/share/lua/http/requests/playlist_jstree.xml
@@ -0,0 +1,85 @@
+'?>
+
+< playlist.xml: VLC media player web interface
+< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
+< Copyright (C) 2005-2006 the VideoLAN team
+< $Id$
+<
+< Authors: Antoine Cellerier
+<
+< This program is free software; you can redistribute it and/or modify
+< it under the terms of the GNU General Public License as published by
+< the Free Software Foundation; either version 2 of the License, or
+< (at your option) any later version.
+<
+< This program is distributed in the hope that it will be useful,
+< but WITHOUT ANY WARRANTY; without even the implied warranty of
+< MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+< GNU General Public License for more details.
+<
+< You should have received a copy of the GNU General Public License
+< along with this program; if not, write to the Free Software
+< Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+]] ?>
+
+' ..name.. '')
+ for _, child in ipairs(item.children) do
+ print_playlist(child)
+ end
+ print('')
+ else
+ for _, child in ipairs(item.children) do
+ print_playlist(child)
+ end
+ end
+ else
+ local name, path = vlc.strings.convert_xml_special_chars(item.name or "", item.path or "")
+ local current_item = vlc.input.item()
+ local current = ""
+ -- Is the item the one currently played
+ if(current_item ~= nil) then
+ if(vlc.input.item().uri(current_item) == path) then
+ current = 'current="current"'
+ end
+ end
+ print('' ..name.. '')
+ end
+end
+
+local p
+if _GET["search"] then
+ if _GET["search"] ~= "" then
+ _G.search_key = _GET["search"]
+ else
+ _G.search_key = nil
+ end
+ local key = vlc.strings.decode_uri(_GET["search"])
+ p = vlc.playlist.search(key)
+else
+ p = vlc.playlist.get()
+end
+--a(p) --Uncomment to debug
+print_playlist(p)
+?>
+
\ No newline at end of file
diff --git a/share/lua/http/view.html b/share/lua/http/view.html
index e1d646b9ac..99fd531d60 100644
--- a/share/lua/http/view.html
+++ b/share/lua/http/view.html
@@ -1,16 +1,39 @@
-
+
VLC media player - Flash Viewer
+
+
-
-
+
+