[vlc-commits] youtube.lua: add comments about classic parameters fallen out of use
Pierre Ynard
git at videolan.org
Mon Jul 20 12:25:33 CEST 2020
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Jul 20 11:46:44 2020 +0200| [1532a8f274b1b53a9c53754fbcf46864ede06c52] | committer: Pierre Ynard
youtube.lua: add comments about classic parameters fallen out of use
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1532a8f274b1b53a9c53754fbcf46864ede06c52
---
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