Jump to content

Recommended Posts

Posted (edited)
3 hours ago, Cixert said:

2.- YTBatch for Windows XP 1.5
Problem detected. The script is not able to unzip the download "yt-dlp_x86_windows-xp.zip" (See in my screenshot the message permission denied). If I enter the folder \ytBATCH for Windows XP 1.5\exe\ and unzip it manually the program continues with the download of "ffmpeg-7.1-2362-6aafe61-win32-static-xpmod-sse.7z". But with this file the same problem occurs, it must be unzipped manually so that finally, now yes, ytBATCH for Windows XP starts.

All is working fine here. :thumbup Downloading, unzipping and so on. If you get a message "permission denied", then it is a limitation by your system for whatever reason. Maybe, by your security software or by some security policies. I don't know. I only can confirm that on a normal Windows XP installation, all commands executed by the scripts are working as intended. :yes: So, the problem is unfortunately on your side. Check your security settings!

Edited by AstroSkipper
Update of content

Posted (edited)
4 hours ago, AstroSkipper said:
6 hours ago, Cixert said:

2.- YTBatch for Windows XP 1.5
Problem detected. The script is not able to unzip the download "yt-dlp_x86_windows-xp.zip" (See in my screenshot the message permission denied). If I enter the folder \ytBATCH for Windows XP 1.5\exe\ and unzip it manually the program continues with the download of "ffmpeg-7.1-2362-6aafe61-win32-static-xpmod-sse.7z". But with this file the same problem occurs, it must be unzipped manually so that finally, now yes, ytBATCH for Windows XP starts.

All is working here fine. :thumbup Downloading, unzipping and so on. If you get a message "permission denied", then it is a limitation by your system for whatever reason. Maybe, by your security software or by some security policies. I don't know. I only can confirm that on a normal Windows XP installation, all commands executed by the scripts are working as intended. :yes: So, the problem is unfortunately on your side. Check your security settings!

And here is a proof for what I said above:

Setting-up-yt-BATCH-for-Windows-XP-1-6.g

@Cixert As you can see, downloading and unzipping automatically by the script works like a charm. Please come and get your special treatment!  piqure.gif :buehehe:

Edited by AstroSkipper
Update of content
Posted (edited)
4 hours ago, Lirk said:

I noticed a problem with YouTube playback in Daum PotPlayer. After manual updating parser you need to clear %USERPROFILE%\Cookies directory from filenames, which contains "*youtube*" or "*daum*".

I have updated the YouTube files in the last XP-compatible PotPlayer version some days ago, taken from the most recent PotPlayer release. It works like a charm. :w00t: No problems with cookies or anything else here. BTW, this last XP-compatible, slightly older PotPlayer is still the best media player under Windows XP, IMHO. :thumbup 

Edited by AstroSkipper
Update of content
Posted (edited)
1 hour ago, genieautravail said:

@AstroSkipper

Just a question a little out of subject. :angel

In the YTBatch package, where did you find Window.exe ?

Regards

@genieautravail Long time ago, I downloaded a package of DOS auxiliary tools. Inside this package was the Window.exe tool. I can't remember from where exactly. But I always download programmes only from trusted sources and developers. I now have large archives with all kinds of tools. These little tools are simply great and can be of help when programming new projects. A good source for command line tools is GitHub and DosTips. However, since the end of March, DosTips's certificate has unfortunately expired, which is of course immediately recognised and warned by all browsers. Not really a problem for me. I hope this will be fixed soon.

Edited by AstroSkipper
Update of content
Posted (edited)
20 hours ago, Cixert said:

1.- YouTube-DL Gui 0.4

For some reason, the video download didn't work; perhaps the internet connection failed. It's working now.
The confusion arises here because the program is no longer able to download "youtube-dl exe" to the path "Documents and Settings \ Your Username \ Application Data \ YouTube-Dlg" and in the folder is missing this file.
For clarity, I think it should be noted that "youtube-dl exe" must be pasted into that path.
From what I'm seeing, the latest official version of youtube-dl is compatible with Windows XP, but only with SSE2 processors.
I think it's important to point this out so the user can decide between the official version and the @nicolaasjan fork compatible with SSE1 processors.
Is there any other difference on XP?

The latest official version of youtube-dl is from 2021. To get a more recent one, the user would have to compile an executable with all recent changes. Fortunately, @nicolaasjan has been doing this even for SSE only CPUs. When it comes to YouTube-DL Gui 0.4, I now have tested it again. Basically, it still works with both youtube-dl and yt-dlp. But the internal switches are from 2017 and cause problems. The subtitles option has to be switched off as it stopped working. The different, pre-adjusted switches for the video quality do not really work well. If you set 480p, you get something with 398p. To get the programme running smoothly again, the source code would have to be considerably revised and recompiled. ytBATCH for Windows XP, on the other hand, can be set so perfectly that you get exactly what you want. :w00t:

Edited by AstroSkipper
correction
Posted (edited)
1 hour ago, AstroSkipper said:

ytBATCH for Windows XP, on the other hand, can be set so perfectly that you get exactly what you want. :w00t:

I have completely changed and rewritten the original ytBATCH from eppic so that it now works perfectly with both YouTube downloaders youtube-dl and yt-dlp. :thumbup All bugs and inconsistencies have been fixed by me. Especially the fact that the command line options of both downloaders are not identical, I have taken into account by assigning separate configuration files to each downloader. This allows the user to enter the desired options for each downloader and then receive the media files exactly as desired. superouais.gif ytBATCH for Windows XP is totally customised for the use of youtube-dl and yt-dlp, and ideal as a user interface for these two YouTube downloaders. ssuper5sur5.gif And due to the new update module, the user can easily get the most recent versions of these two YouTube downloaders compatible with older OSes like Windows XP when ever wanted. This is very important regarding the permanent changes which are done by YouTube:yes:

Edited by AstroSkipper
Update of content
Posted (edited)
On 4/19/2025 at 9:16 PM, AstroSkipper said:

I have updated the YouTube files in the last XP-compatible PotPlayer version some days ago, taken from the most recent PotPlayer release. It works like a charm. :w00t: No problems with cookies or anything else here. BTW, this last XP-compatible, slightly older PotPlayer is still the best media player under Windows XP, IMHO. :thumbup 

It's good solution, but for SSE2 CPUs. Also I tried to use MPC-HC 1.7.11 with youtube-dl. It works properly, also it may works on non-SSE2 CPUs, but I have "Certificate selection" prompt four times, which should be accepted or canceled, but video plays properly. I tried to hide it with "Do not prompt for client certificate selection when no certificates or only one certificate exists" option in IE settings, but without results. In MPC-HC LAV splitter memory size must be set to 8MB instead of 256MB.

@echo off
:begin
setlocal EnableDelayedExpansion
set /p LINK=YOUTUBE LINK: 
if not defined LINK goto :end

for /F "delims=" %%a in ('youtube-dl.exe -g -f "bestvideo[ext=mp4][height<=720][vcodec^=avc]+bestaudio[ext=m4a]/best[ext=mp4][height<=720][vcodec^=avc]/best[ext=mp4]/best/bestvideo[height<=720]+bestaudio" "%LINK%"') do set /a "url+=1" & set "url!url!=%%a"

if defined url2 (goto :dash) else (goto :non-dash)

:dash
echo Playing Dash...
"C:\Program Files\MPC-HC\mpc-hc.exe" "!url1!" /dub "!url2!"
goto :end

:non-dash
echo Playing Non-Dash...
"C:\Program Files\MPC-HC\mpc-hc.exe" "!url1!"

:end
endlocal
cls
goto :begin

Another solution - using MPlayer instead of MPC-HC (mplayer "!url1!" -audiofile "!url2!"), but it doesn't have GUI.

Edited by Lirk
Posted (edited)
12 hours ago, AstroSkipper said:

The latest official version of youtube-dl is from 2021. To get a more recent one, the user would have to compile an executable with all recent changes. Fortunately, @nicolaasjan has been doing this even for SSE only CPUs. When it comes to YouTube-DL Gui 0.4, I now have tested it again. Basically, it still works with both youtube-dl and yt-dlp. But the internal switches are from 2017 and cause problems. The subtitles option has to be switched off as it stopped working. The different, pre-adjusted switches for the video quality do not really work well. If you set 480p, you get something with 398p. To get the programme running smoothly again, the source code would have to be considerably revised and recompiled. ytBATCH for Windows XP, on the other hand, can be set so perfectly that you get exactly what you want. :w00t:

I'm new to YouTube-dl and YT-dlp.
It's something I haven't worked with before.
I have some questions that I'm trying to answer.
When does a program use YouTube-dl and when does it use YT-dlp if the program has both installed?
I've seen that there is an official YouTube-dl for 2025 compiled for SSE2. These are just nightly versions. They work correctly on XP.
See here
https://github.com/ytdl-org/ytdl-nightly/releases/

I'd like a YouTube downloader for XP that allows me to download playlists. aTube Catcher allows this, but it no longer works on XP, despite the official website saying that it is compatible.
https://www.atube.me/
Would it be possible to make it work, or is there another program that can download playlists?

Edited by Cixert
Posted (edited)
40 minutes ago, Cixert said:

When does a program use YouTube-dl and when does it use YT-dlp if the program has both installed?

Your question can only be answered if you specify "a program". :dubbio: ytBATCH for Windows XP, for example, has an option to switch between youtube-dl and yt-dlp in the Preferences window. Just type Y. And it can also deal with playlists whose option can be toggled from false to true in the Enter Action window by the key P.

Edited by AstroSkipper
Update of content
Posted
35 minutes ago, Cixert said:

I'd like a YouTube downloader for XP that allows me to download playlists.

https://github.com/ytdl-org/youtube-dl#video-selection

--playlist-start NUMBER              Playlist video to start at (default is
                                     1)
--playlist-end NUMBER                Playlist video to end at (default is
                                     last)
--playlist-items ITEM_SPEC           Playlist video items to download.
                                     Specify indices of the videos in the
                                     playlist separated by commas like: "--
                                     playlist-items 1,2,5,8" if you want to
                                     download videos indexed 1, 2, 5, 8 in
                                     the playlist. You can specify range: "
                                     --playlist-items 1-3,7,10-13", it will
                                     download the videos at index 1, 2, 3,
                                     7, 10, 11, 12 and 13.

 

37 minutes ago, Cixert said:

I'm new to YouTube-dl and YT-dlp

... Then make sure you have perused ALL available CLI options (aka switches) for BOTH; for youtube-dl (often abbreviated as just yt-dl), the place to start is:

https://github.com/ytdl-org/youtube-dl#options

FWIW, yt-dlp is a more "advanced" tool (with more complex syntax and options), that requires some additional expertise on the part of the user :whistle:; yt-dlp is not guaranteed to continue to work under XP (and Vista) after this October, when its devs drop py3.9 support (to this day, no py3.10+ fork has been made public that can run on NT 5.x/6.0 :( ) ....

Posted (edited)
On 4/19/2025 at 7:11 PM, AstroSkipper said:


@Cixert As you can see, downloading and unzipping automatically by the script works like a charm. Please come and get your special treatment!  piqure.gif :buehehe:

Hmm, if all developers provided these tips, I don't think any program would evolve.
I think my Windows XP installation is correct.
I've run tests on other computers, and the problem persists.
On all my computers, the XP installation is not in C:\ but in D:\.
I followed the instructions to the letter, and the errors mentioned are two:
First:
-Error 3 The system cannot find the path specified.
Despite this error, the installation seems to be successful.

Second:
The script is unable to unzip files.
Just because it works on your computer doesn't mean it will work on other computers.
I don't have specific security guidelines for my installation that might be related.

Why do you announce ytBATCH for Windows XP Release 1.5 in the main post and not version 1.6?
Is 1.6 a beta?

I'm currently testing 1.6; the results are different.
Error 3 still occurs, but the Permission denied error doesn't appear on the screen, and the program doesn't loop. In this 1.6 version, the program simply freezes without doing anything else and without issuing any error messages.
I have to close the program, unzip "yt-dlp_x86_Windows-XP.zip", and run ytBATCH.bat again.

When it reaches the FFmpeg step, it also doesn't issue an error message, but the program does loop, repeatedly requesting the download on its first attempt.

On a second attempt, starting from scratch, the program says it's proceeding to unzip "ffmpeg-7.1-2362-6aafe61-win32-static-xpmod-sse.7z" and asks if I want to replace the existing files when unzipping. BUT THERE IS NO FILE IN THE FOLDER THAT HAS BEEN PREVIOUSLY UNZIPPED.
After a file search, I see that the program is unzipping to a path I didn't choose: C:\exe\
Both versions of "ytBATCH for Windows XP" have a problem with the working paths in the programming.
In case it helps, my Windows XP installation is not in C:\ but in D:\
I'm telling you this in case you want to fix it.
If I don't want to fix it, then that's up to you, but it's advisable to stop taking these injections; they have side effects.:cheerleader:

Edited by Cixert
Posted (edited)
22 hours ago, Cixert said:

Why do you announce ytBATCH for Windows XP Release 1.5 in the main post and not version 1.6?
Is 1.6 a beta?

The current final is version 1.6. It was clearly announced. :rolleyes: Where did you read anything about a beta:dubbio: The versions 1.5 and 1.6 are final ones. The programme ytBATCH for Windows XP usually does not use any absolute paths but relative ones or those stored in system variables. When installing it, you can choose between the location stored in the system variable %ProgramFiles% or the current location of the extracted archive folder. When setting up on drive C:, it works fine. Of course, I didn't expect anyone to come up with the idea of setting it up on a different drive. :P The information that you tried to set up ytBATCH for Windows XP on other drive than C: is of course important. Thanks for that! :) You have exceptional skills and really came through here. :buehehe: And now, you get your special treatment. vaccin.gifI had a short look into my code and directly found the cause of the inability to unpack both archives on a drive other than C:. I have tested it on my drive D: and then directly fixed the code. But no system error 3 or message "permission denied" here. :no: @Cixert In which format has your D: drive been partitioned? Possibly in NTFS with some restrictions? :dubbio: I urgently need an answer to this question from you. a080.gif

P.S: I'm glad that there are individualists like you who do things differently from the rest of us. Thank you for that! 
smilie_schild_025.gif

Edited by AstroSkipper
Update of content
Posted (edited)

FYI, all releases of  ytBATCH for Windows XP have been fixed by me so that the setup routine does not only work correctly on drive C: but also on any other drive. Please, re-download the desired release! ytBATCH for Windows XP 1.6 is currently the most recent, final release and recommended by me. :thumbup

Cheers, AstroSkipper matrix.gif

Edited by AstroSkipper
Posted (edited)

@Cixert Both your system error 3 and the message "permission denied" do not happen here in any case and therefore can't be reproduced by me. They seem to be related to your system only. So, solving that is up to you. smilie_denk_24.gif On the other hand, the inability of correct unzipping on your drive D: was caused by a 7zip command which was actually relatively created by me but was unintentionally bound to drive C: exclusively. However, this had no negative effect on standard computers with C: as the system drive. That's why I didn't notice it. Anyway! ytBATCH for Windows XP should now be able to be set up automatically and without any errors (at least, no erros caused by ytBATCH for Windows XP), even on a non-standard computer as yours. Thus, thanks again for your report here and for being non-standard! :P

Edited by AstroSkipper
Update of content

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...