Page 1 of 1

Need help with the batch file for yt-dlp_x86.exe

Posted: 10 Sep 2022 14:10
by cpm1a+_
i replaced youtube-dl.exe with yt-dlp_x86.exe and set the correct path to VLC.exe:
==============
@echo off
set VLC="d:\Programs\vlc-3.0.17.4\vlc.exe"
set /p yturl=Youtube URL (right-click):
yt-dlp_x86.exe -F %yturl:&=^&%
set /p ytdlfmt=Format:
yt-dlp_x86.exe -g -f %ytdlfmt% %yturl:&=^&% > yt-dl.m3u
echo VLC...
%VLC% --meta-title=youtube-dl yt-dl.m3u
=============
Then i run it: right click for pasting the Youtube URL, and when it asks for the format I enter 22

VLC reports an error:
Your input can't be opened:
VLC is unable to open the MRL 'file:///D:/wavs/yt-dl.m3u'. Check the log for details.

whai am i doing wrong?

Re: Need help with the batch file for yt-dlp_x86.exe

Posted: 12 Sep 2022 13:53
by Lotesdelere
Well, I've already explained in your Youtube thread that recent x86 versions of YT-DLP require at least Vista SP2. The latest available version for XP is from 9 june 2021 so it's possible that this version can't extract the video links of some Youtube URLs.
https://forum.videolan.org/viewtopic.ph ... 37#p530837

Live with it. Or drop XP for Windows 7, at least.
That said, you're trying to open the yt-dl.m3u file from a folder called WAVS which doesn't appear anywhere in your batch file. The yt-dl.m3u file is created where yt-dlp_x86.exe is.
BTW, what's wrong with the latest LUA script ? That should work on any Windows version.

Re: Need help with the batch file for yt-dlp_x86.exe

Posted: 12 Sep 2022 14:24
by cpm1a+_
>BTW, what's wrong with the latest LUA script ? That should work on any Windows version.
NOW the latest LUA script works perfectly, but wil it be updated IN THE FUTURE?

Re: Need help with the batch file for yt-dlp_x86.exe

Posted: 13 Sep 2022 09:48
by Lotesdelere
It's a non stop cat and mouse game :)