Jump to content

AstroSkipper

Member
  • Posts

    4,888
  • Joined

  • Days Won

    651
  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by AstroSkipper

  1. The LUA script yt-dlp4vlc reads the video quality preset by the user in VLC's settings only once while starting the player. If this setting is changed by the user at some point, the player has of course to be restarted to take the new setting into account.
  2. Although the LUA script yt-dlp4vlc,, originally created by FalloNero on GitHub, is still working, I modified it once again but already months ago. I didn't like his solution from April 2025 to have to add the video quality to the link every time it was transferred to VLC. It is easier to only enter the raw YouTube link as was the case in the past. In the LUA script, I therefore added code to be able to read and use the video quality which the user has preset in the video settings of VLC. Furthermore, I added a new variable containing a limit to use no better codec than h264 (an important switch for older hardware). I also changed the content of the format_string variable. Both can of course be changed by the users according to their needs. Finally, I reduced the hidecon command to start yt-dlp hidden. Here is my new mod of the LUA script yt-dlp4vlc: -- YouTube Link Resolver for VLC with Separate Video and Audio URLs -- Place this script in VLC's lua/playlist directory local yt_dlp_path = 'yt-dlp.exe'; local yt_dlp_silent_path = 'yt-dlp-silent.exe'; function sleep(s) local ntime = os.time() + s repeat until os.time() > ntime end function probe() -- Check if the input is a YouTube link return vlc.access == "http" or vlc.access == "https" and (string.match(vlc.path, "youtube%.com") or string.match(vlc.path, "youtu%.be")) end function parse() -- Construct the full YouTube URL local youtube_url = vlc.access .. "://" .. vlc.path -- Extract "quality" query parameter if present local quality = youtube_url:match("[&?]quality=(%d+)[pP]?") youtube_url = youtube_url:gsub("[&?]quality=%d+[pP]?", ""):gsub("[&?]$", "") -- Remove trailing ? or & -- Get the preferred resolution preset by the user in VLC local prefres = vlc.var.inherit(nil, "preferred-resolution") if prefres < 0 then prefres = 2160 -- Best quality set to 2160p to overwrite VLC's native value of -1 end local allowed_qualities = { ["240"] = true, ["360"] = true, ["480"] = true, ["720"] = true, ["1080"] = true, ["2160"] = true } -- Default quality limited to the preferred resolution taken from VLC's settings local format_string = string.format("bestvideo[height<=%i]+bestaudio", prefres) if quality and allowed_qualities[quality] then format_string = string.format("bestvideo[height<=%i]+bestaudio", quality) vlc.msg.info("Using requested quality: " .. quality .. "p") else vlc.msg.info("No valid quality specified. Defaulting to best available.") end local cmd_hidden = yt_dlp_silent_path -- No better codec than h264 (an important switch for older hardware). This can of course be changed by the users according to their needs. local codec_limit = '-S "codec:h264"' local video_url = '' local audio_url = '' local yt_dlp_silent_exists = io.open(yt_dlp_silent_path, "r") ~= nil if not yt_dlp_silent_exists then vlc.msg.info(yt_dlp_silent_path .. " not found. Falling back to " .. yt_dlp_path) cmd_hidden = 'hidecon &' -- Start cmd hidden and ... local cmd = string.format( '%s "%s" %s -f \"%s\" -g "%s"', cmd_hidden, yt_dlp_path, codec_limit, format_string, youtube_url ) local handle = io.popen(cmd) video_url = handle:read("*l") audio_url = handle:read("*l") handle:close() else vlc.msg.info(yt_dlp_silent_path .. " found. Running program") local cmd = string.format( '%s -s "%s %s -f \"%s\" -g %s"', cmd_hidden, yt_dlp_path, codec_limit, format_string, youtube_url ) local process = io.popen("start /B " .. cmd) process:close() local output_file = "yt-dlp-output.txt" local file_exists = false local timeout = 0 local timeout_limit = 10 while not file_exists do local file_test = os.rename(output_file, output_file) if file_test then file_exists = true else vlc.msg.info("Waiting for output file...") sleep(1) timeout = timeout + 1 if timeout > timeout_limit then vlc.msg.warn("Timeout reached. The output file was not created.") break end end end vlc.msg.info("File found") local file = io.open(output_file, "r") video_url = file:read("*l") audio_url = file:read("*l") file:close() os.remove(output_file) end video_url = video_url and video_url:gsub("^%s+", ""):gsub("%s+$", "") or "" audio_url = audio_url and audio_url:gsub("^%s+", ""):gsub("%s+$", "") or "" vlc.msg.info("[YouTube Resolver] Original URL: " .. youtube_url) vlc.msg.info("[YouTube Resolver] Video URL: " .. video_url) if audio_url and audio_url ~= "" then return { { path = video_url, name = vlc.path .. " (Video)", options = { ":input-slave=" .. audio_url } } } else return { { path = video_url, name = vlc.path .. " (Video + Audio)" } } end end Don't forget to download hidecon (see the quoted post) and copy it to the main progranmme folder of VLC! From now on, the user's default settings for video quality will be respected again. Simply enter any YouTube link in VLC and the preset quality will be played. Cheers, AstroSkipper
  3. The old download link I used in my ytBATCH releases was https://github.com/nicolaasjan/yt-dlp/releases/latest/download/yt-dlp_x86_Windows-XP.zip which is no longer working. As you can see, at some point you changed the file name of the ZIP archive. For me. no problem. I have already rewritten the yt-dlp update module for the upcoming release of ytBATCH.
  4. @nicolaasjan changed the download link to his Windows XP release of yt-dlp. Moreover, it is no longer provided as a ZIP file but an executable one. Therefore, the yt-dlp update module inside my ytBATCH versions doesn't work anymore. I have already fixed that and am in testing phase. Additionally, I made further changes and implemented new features. When all is finished, I will release ytBATCH for Windows XP 1.7. Cheers, AstroSkipper
  5. Many programmes come with their own OpenSSL modules to establish secure connections. If such a programme is no longer updated, it is only a matter of time before secure connections can no longer be established. Local updating of the OpenSSL files by the user, if possible at all, can then help. A global installation of a current OpenSSL version will not help at all in such cases, as it is simply not used.
  6. Without a correctly installed and running HTTPSProxy, you will get this message each time under Windows XP when trying to activate Panda. Whether the proxy is working correctly or not, you can see in its console window. If you are not familiar with these proxies, then you should read my article ProxHTTPSProxy and HTTPSProxy in Windows XP for future use.
  7. For example, I updated the OpenSSL Shared Library inside the programme folder of MusicBrainz Picard to get their last XP-compatible version 1.4.2 working again.
  8. Programmes which need OpenSSL for establishing connections can be manually updated to a more recent OpenSSL version if the old one doesn't work properly anymore. I did that in the past to revive programmes which are no longer supported by the author. Installing it globally under Windows XP has never been necessary on my computer.
  9. Thanks for the info! Leaving Windows XP,.. that's too bad.
  10. Where do these releases come from? Who is the creator? You?
  11. Fileinfo is a lister plugin for the file manager Total Commander. If interested, you should install version 2.2.3 since the more recent version 2.2.4 doesn't install under Windows XP.
  12. My article about Panda Antivirus Free has been updated to include all recent information:
  13. Yep! It works. A working login form appears. But a login is only possible for school or business accounts. Private accounts are not supported. I tried to configure my old, private hotmail.com account but a message came up that private accounts were not supported.
  14. I'm not so sure about that. If you take a closer look at the scan results for the completely clean cmdow.exe file, you'll see that Kaspersky flags the file, but Panda Antivirus and Avast do not. Everyone can draw their own conclusions from this.
  15. This confirms my statement: And the moral of the story: don't trust scanners blindly.
  16. The archive is definitely virus-free. It was password-protected by me since MediaFire uses scanner which tend to produce many false alarms. Kaspersky is as bad as the virus scanner which MediaFire is using. These files are all clean and virus-free. The cacert_Updater.exe file has been fixed by me as the original version from @heinoganda stopped working. It is totally clean. And the cmdow.exe file is a DOS file from a trusted source and checked by me. Unfortunately, some scanners don't like it but it is totally clean, too. So, forget about Kaspersky and similar scanners. Set exclusions if you trust me. And if not, don't use it. In any case, I will not change anything in my packages because of faulty or overly cautious virus scanners. I have invested a lot of time in programming and am not going to start compensating for the inadequacies of certain virus scanners now. BTW, many virus scanners don't like exe files which have been generated by BatToExe converters due to their compression type. I use such converters and don't care about false positives of those scanners. Excluding such files from scanning is my way of dealing with this nonsense.
  17. Yes. Install my package ProxHTTPSProxy's PopMenu TLS 1.3 3V3! Inside the archive, there is a short and a long, more detailed user manual. The user should read it carefully. All in all, installing my package is very easy, and the configuring of the PopMenu is done automatically. When done, start the proxy. Finally, you have to set the proxy in Panda's settings menu. The address is 127.0.0.1 with the port 8079. You need this proxy only once for the activation. When done, you can delete the proxy settings and close the proxy.
  18. Russia, China, United States and so on. All these totalitarian, undemocratically run regimes spy on people and collect data in order to gain total control. Fortunately, I am European and, above all, German. I have my privacy and the data I disclose well under control. I have no problem disclosing a specific email address for contacting a company like Panda.
  19. The activation of a Panda account needs a TLS connection. That's why you have to use ProxHTTPSProxy or similar technology under Windows XP. No chance without it since Windows XP lacks modern, secure protocols natively. And any contact to Panda support without a registered account is not possible.
  20. I have different email addresses. Therefore, I don't care at all if I get flooded with advertising emails on certain email accounts. But I wouldn't use a temporary address for the Panda account, as this email address is used to register the products used and for support enquiries.
  21. One thing is clear. Panda Antivirus Free is a cloud-based anti-malware programme. You have to be connected to the internet and perform scans only online and not offline to get a reasonable detection rate.
  22. This review is 7 years old and therefore obsolete. My linked test is from this month, December 2025. On this side, you can read that its online protection score was a strong 99.25%. Of course, you can always pick out whatever you need for your argument.
  23. @VistaLover didn't talk about your "ancient version" but about Panda Antivirus Free. BTW, it doesn't make any sense to talk about your ancient version as it is no longer available for other users and therefore no option. Furthermore, I doubt the tests you carried out regarding Panda's detection rate. Panda has always achieved reasonable results in official tests. It is better to leave such tests to the professionals. Here is a current test with a comparison of 28 antivirus programmes from December 2025: https://softwarelab.org/best-antivirus-software/ Panda came in fourth place in this test with a detection rate of 99%. Here is a quotation from this test: Your detection rate of 6% is rubbish. Does Kaspersky pay you to spread such nonsense?
  24. Panda Free Antivirus is more or less the last anti-malware programme with real-time protection for Windows XP free of charge. There are a few others, but they need a paid licence. The firewall I have been using for many years is the Sphinx Windows 10 Firewall Control Plus XP. Personally, I consider this firewall to be the best under Windows XP. And I've tried almost all of them.
  25. Did you enable under Settings -> Antivirus the scanning of archives? The default is disabled if I remember correctly.
×
×
  • Create New...