Revert "lua/http: add pl_sd_(add|remove) HTTP requests"
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 20 Nov 2020 20:18:27 +0000 (22:18 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 20 Nov 2020 20:20:48 +0000 (22:20 +0200)
This reverts commit 9708665a0fbd7c4961caaae70f0684881123214a,
broken by 3159dad5eb99b3c2a3267efc8af2fcc9c113cd55.

share/lua/http/requests/README.txt
share/lua/intf/modules/httprequests.lua

index 79b118a..82adbf3 100644 (file)
@@ -116,12 +116,6 @@ status.xml or status.json
 > toggle fullscreen:
   ?command=fullscreen
 
-> enable services discovery module <val>:
-  ?command=pl_sd_add&val=<val>
-
-> disable services discovery module <val>:
-  ?command=pl_sd_remove&val=<val>
-
 > set volume level to <val> (can be absolute integer, percent or +/- relative value):
   ?command=volume&val=<val>
   Allowed values are of the form:
index db648b2..381cf42 100644 (file)
@@ -136,10 +136,6 @@ processcommands = function ()
         vlc.playlist.loop()
     elseif command == "pl_repeat" then
         vlc.playlist.repeat_()
-    elseif command == "pl_sd_add" then
-        vlc.sd.add(val)
-    elseif command == "pl_sd_remove" then
-        vlc.sd.remove(val)
     elseif command == "fullscreen" then
         if vlc.object.vout() then
             vlc.video.fullscreen()