Page 1 of 1

New youtube.luac file to resolve yt consent issue

Posted: 03 Apr 2021 18:22
by Hitchhiker
A new youtube.luac file has just been released to resolve the youtube consent issue.

Copy the code from here:

Code: Select all

https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua#L1

To create a new youtube.luac file follow instructions here: https://forum.videolan.org/viewtopic.ph ... 26#p483226
The post dates from December 2018, but the link which is the same as the one in the Code field above has been updated automatically.

Re: New youtube.luac file to resolve yt consent issue

Posted: 04 Apr 2021 10:23
by Rémi Denis-Courmont
You can just erase youtube.luac and create youtube.lua. There are really no needs to perform the tokenisation.

VLC users must not install scripts from untrusted sources, as it is actually possible to deploy malware with a VLC Lua script.

Re: New youtube.luac file to resolve yt consent issue

Posted: 04 Apr 2021 13:15
by Hitchhiker

VLC users must not install scripts from untrusted sources, as it is actually possible to deploy malware with a VLC Lua script.
Apologies. I deleted the relevant info.

Re: New youtube.luac file to resolve yt consent issue

Posted: 10 Apr 2021 11:48
by taldetali
so can i substitute the old youtube.luac file with the one present in the link https://github.com/videolan/vlc/blob/ma ... ube.lua#L1 ?? without risks?

Re: New youtube.luac file to resolve yt consent issue

Posted: 10 Apr 2021 14:41
by Hitchhiker
so can i substitute the old youtube.luac file with the one present in the link https://github.com/videolan/vlc/blob/ma ... ube.lua#L1 ?? without risks?

Yes. The new file is 27KB. Here's a pix.

Image
(click to enlatge)

Re: New youtube.luac file to resolve yt consent issue

Posted: 11 Apr 2021 10:14
by Rémi Denis-Courmont
The official latest version can be downloaded from there:
https://code.videolan.org/videolan/vlc/ ... line=false

However please be aware that VLC Lua scripts are not always compatible across major VLC versions. At the time of writing, you can use Lua plug-ins for VLC 4.0 with VLC 3.0, but this could change in the future.