[vlc-commits] lua/http: remove pl_sd

Rémi Denis-Courmont git at videolan.org
Sun Mar 3 18:37:00 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 19:29:08 2019 +0200| [86ac34177aaeee56a430dd3a5c1991e89ef24621] | committer: Rémi Denis-Courmont

lua/http: remove pl_sd

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

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

diff --git a/share/lua/http/requests/README.txt b/share/lua/http/requests/README.txt
index e2723e7831..79b118ad79 100644
--- a/share/lua/http/requests/README.txt
+++ b/share/lua/http/requests/README.txt
@@ -113,14 +113,6 @@ status.xml or status.json
 > toggle repeat:
   ?command=pl_repeat
 
-> toggle enable service discovery module <val>:
-  ?command=pl_sd&val=<val>
-  Typical values are:
-    sap
-    shoutcast
-    podcast
-    hal
-
 > toggle fullscreen:
   ?command=fullscreen
 
diff --git a/share/lua/intf/modules/httprequests.lua b/share/lua/intf/modules/httprequests.lua
index 31de728aa2..ca6716354e 100644
--- a/share/lua/intf/modules/httprequests.lua
+++ b/share/lua/intf/modules/httprequests.lua
@@ -142,12 +142,6 @@ processcommands = function ()
         if vlc.playlist.repeat_() then
             vlc.playlist.loop("off")
         end
-    elseif command == "pl_sd" then
-        if vlc.sd.is_loaded(val) then
-            vlc.sd.remove(val)
-        else
-            vlc.sd.add(val)
-        end
     elseif command == "pl_sd_add" then
         vlc.sd.add(val)
     elseif command == "pl_sd_remove" then



More information about the vlc-commits mailing list