[vlc-commits] Revert "lua/http: add pl_sd_(add|remove) HTTP requests"

Rémi Denis-Courmont git at videolan.org
Fri Nov 20 21:21:05 CET 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Nov 20 22:18:27 2020 +0200| [f42783cd70625208adc57318c5cf94d9768b2c72] | committer: Rémi Denis-Courmont

Revert "lua/http: add pl_sd_(add|remove) HTTP requests"

This reverts commit 9708665a0fbd7c4961caaae70f0684881123214a,
broken by 3159dad5eb99b3c2a3267efc8af2fcc9c113cd55.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f42783cd70625208adc57318c5cf94d9768b2c72
---

 share/lua/http/requests/README.txt      | 6 ------
 share/lua/intf/modules/httprequests.lua | 4 ----
 2 files changed, 10 deletions(-)

diff --git a/share/lua/http/requests/README.txt b/share/lua/http/requests/README.txt
index 79b118ad79..82adbf3c2c 100644
--- a/share/lua/http/requests/README.txt
+++ b/share/lua/http/requests/README.txt
@@ -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:
diff --git a/share/lua/intf/modules/httprequests.lua b/share/lua/intf/modules/httprequests.lua
index db648b2c38..381cf422fb 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -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()



More information about the vlc-commits mailing list