]> git.sesse.net Git - vlc/commitdiff
luahttp: bump API and document /art changes
authorRafaël Carré <funman@videolan.org>
Thu, 22 Mar 2012 13:56:45 +0000 (09:56 -0400)
committerRafaël Carré <funman@videolan.org>
Thu, 22 Mar 2012 13:57:02 +0000 (09:57 -0400)
share/lua/http/requests/README.txt
share/lua/intf/modules/httprequests.lua

index 95d1f4e49ac0a6164f33a935ff16b9db507853a8..625081670c8504594e281ea1c8ae4113cca1f281 100644 (file)
@@ -22,6 +22,16 @@ where path attributes are provided in output, these should be ignored in favour
 path support is scheduled to be removed entirely from 1.3
 ---
 
+<root> (/)
+===========
+
+
+> Get album art for current input:
+  /art  (NB: not /requests/art)
+
+> Get album art for any playlist input (available from API version 3):
+  /art?item=123  (NB: not /requests/art)
+
 
 status.xml or status.json
 ===========
index 95996ccbf5c56f9fe580d99b840de8960b473193..1e66796ccde6cf39005112f41629e795277d8bb8 100644 (file)
@@ -437,7 +437,7 @@ local aout = vlc.object.aout()
     local s ={}
 
     --update api version when new data/commands added
-    s.apiversion=2
+    s.apiversion=3
     s.version=vlc.misc.version()
     s.volume=vlc.volume.get()