Forum › Forums › General › Tips and Tricks › How to set up AntiX for new yt-dlp javascript requirement
- This topic has 1 reply, 2 voices, and was last updated Nov 22-8:21 pm by Robin.
-
AuthorPosts
-
November 22, 2025 at 5:58 pm #190817
chetter
MemberHow to set up AntiX for new yt-dlp javascript requirement
1. install new yt-dlp (version yt-dlp_2025.11.12-1 or newer) .
2. install deno javascrip runtime
curl -fsSL https://deno.land/install.sh | sh2a. Select Y to add deno to shell configs :
$ curl -fsSL https://deno.land/install.sh | sh ######################################################################## 100.0% Archive: /home/antix/.deno/bin/deno.zip inflating: /home/antix/.deno/bin/deno Deno was installed successfully to /home/antix/.deno/bin/deno Edit shell configs to add deno to the PATH? (Y/n) Y█2b. Press space bar to add deno to bash :
$ curl -fsSL https://deno.land/install.sh | sh ######################################################################## 100.0% Archive: /home/antix/.deno/bin/deno.zip inflating: /home/antix/.deno/bin/deno Deno was installed successfully to /home/antix/.deno/bin/deno Deno was added to the PATH. You may need to restart your shell for it to become available. Set up completions? > [x] bash3. Important . Install ejs scrips .
Need to run yt-dlp once with
--remote-components ejs:githubFor example, Type :
$ yt-dlp -F https://www.youtube.com/watch?v=foGVMegHBMA --remote-components ejs:githubYou good to use yt-dlp now .
- This topic was modified 10 months, 1 week ago by chetter.
November 22, 2025 at 8:21 pm #190819Robin
MemberMany thanks, chetter, for these detailed install instructions for the new javascript requirement. This is something really appreciated, since the workflow is not described that detailed for antiX on the yt-dlp site, and so you are one of the early birds testing how to make this thing work. Having said that, one additional remark, since you explicitly mention version 2025.11.12
install new yt-dlp (version yt-dlp_2025.11.12-1 or newer) .
Precisely for this version and most likely also its successors there is an upgrade warning currently, since while allowing youtube itself working, their currently latest version breaks the reception of several TV and radio streams from other sites completely, causing many channels on antiX TV and antiX Radio no longer functional. Only downgrading to the former version restored the proper functionality in some tests. So there is an upgrade warning now for precisely these most recent yt-dlp version. Users relying on TV or Radio streams being functional should not install it. I’m aware this is a double windmill for people in need for both, functional youtube and functional Radio and TV streams… See for details:
http://www.antixforum.com/forums/topic/upgrade-warning-for-yt-dlp-ver-2025-11-12-on-antix-23-x/
A possible temporary workaround could be to have both versions copied into the /usr/bin folder, and rename the two versions (latest functional for TV streams is 2025.10.22, and as you state the first version functional for new youtube requirement is 2025.11.12-1) interchangeably to yt-dlp in the executable path, when using one of the different functional scopes.
Alternatively keep 2025.10.22 as the default yt-dlp executable in your /usr/bin folder, and add the new 2025.11.12 version as yt-dlp-new or whatever manually to this very folder, and if you want to access videos from youtube via yt-dlp, replace the command you use on your command line by yt-dlp-new for now, which then calls the new version, while MPV then can accesses the currently latest functional version for other TV and Radio streams. (Other way around won’t work, since the path to yt-dlp executable is hard coded in MPV, relevant for the antiX TV and antiX Radio scripts, so no way to rename that version to yt-dlp-old instead while having the most recent version as yt-dlp)
In any case, don’t use yt-dlp -U until this situation is resolved properly and there is a new version restoring the functionality of TV and Radio, while additionally handling the new youtube requirements. Copy the file manually in place instead, as described.
Windows is like a submarine. Open a window and serious problems will start.
-
AuthorPosts
- You must be logged in to reply to this topic.