[vlc-commits] youtube.lua: add comments about classic parameters fallen out of use

Pierre Ynard git at videolan.org
Mon Jul 20 12:37:47 CEST 2020


vlc/vlc-3.0 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Jul 20 11:46:44 2020 +0200| [5091a0ef6b13e873ee6e448f7f338969c5a67366] | committer: Pierre Ynard

youtube.lua: add comments about classic parameters fallen out of use

(cherry picked from commit 1532a8f274b1b53a9c53754fbcf46864ede06c52)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

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

 share/lua/playlist/youtube.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index 753f5c5f4e..f120a440bc 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -356,7 +356,7 @@ function parse()
                     js_url = string.gsub( js_url, "^//", vlc.access.."://" )
                 end
 
-                -- Classic parameters
+                -- Classic parameters - out of use since early 2020
                 if not fmt then
                     fmt_list = string.match( line, "\"fmt_list\": *\"(.-)\"" )
                     if fmt_list then
@@ -423,7 +423,7 @@ function parse()
     elseif string.match( vlc.path, "/get_video_info%?" ) then -- video info API
         local line = vlc.readline() -- data is on one line only
 
-        -- Classic parameters
+        -- Classic parameters - out of use since early 2020
         local fmt = get_url_param( vlc.path, "fmt" )
         if not fmt then
             local fmt_list = string.match( line, "&fmt_list=([^&]*)" )



More information about the vlc-commits mailing list