[vlc-commits] VLSub: Reorder LogIn parameters

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 8 12:20:31 CEST 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr  8 12:09:57 2020 +0200| [9cacaab3c974520b6579a56274c0ec952e66dfc4] | committer: Hugo Beauzée-Luyssen

VLSub: Reorder LogIn parameters

Any other order, or explicitely naming parameters, causes either a 401
or a 411

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

 share/lua/extensions/VLSub.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index a8e5edaf40..d044192c7f 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1113,8 +1113,8 @@ openSub = {
         return {
           { value={ string=openSub.option.os_username } },
           { value={ string=openSub.option.os_password } },
+          { value={ string=openSub.conf.useragent } },
           { value={ string=openSub.movie.sublanguageid } },
-          { value={ string=openSub.conf.useragent } }
         }
       end,
       callback = function(resp)



More information about the vlc-commits mailing list