Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/19/2026 in Posts

  1. @AstroSkipper I think I'll spend the weekend doing a thorough debugging session on Windows XP because I initially tested the extension on Windows 7. Unfortunately, I can't completely avoid using BAT files, but I'll try to optimize the process.
    3 points
  2. Of course, you can resolve relative path issues in such Lua scripts by using hard-coded, absolute paths, but that’s not exactly the pinnacle of programming. If you copy my youtube.lua(c) script into the lua\playlists subfolder of VLC, it automatically recognises yt-dlp.exe and hidecon.exe without the user having to set any absolute paths. This is how it should work in the youtube_search.lua script as well. When looking into your log, you can clearly see that the script doesn't add any path to the yt-dlp.exe file: lua: [yt-ext] cmd: yt-dlp.exe "ytsearch10:Adele" -J --flat-playlist --no-warnings --encoding utf-8 lua: [yt-ext] bat cmd: yt-dlp.exe "ytsearch10:Adele" -J --flat-playlist --no-warnings --encoding utf-8 Of course, this only works if the BAT file or the CMD file is run from VLC’s programme folder.
    2 points
  3. @panda_zzz Your youtube_search.lua script isn't able to find yt-dlp.exe in the VLC directory under Windows XP.
    2 points
  4. Just an idea. You could also modify the youtube_search.lua script so that it only performs the YouTube search, but when a link is clicked, it passes it on to VLC, which then plays the YouTube link using the perfectly functioning youtube.lua script. That would streamline the script and make use of existing code. In such a case, there would be no need to reinvent the wheel. But as initially said, it's just an alternative approach. An AIO solution is of course fine, too. And optimisation is great, but first comes fixing as your script doesn't work at all under Windows XP.
    1 point
  5. @panda_zzz Your youtube_search.lua script is actually well written and the YouTube Search GUI is well implemented. However, it needs to be put on the workbench and everything relating to paths needs to be revised. The comments need to be significantly reduced, and the entire script needs to be streamlined. The YouTube links that are called up should be processed in exactly the same way as in the youtube.lua script. However, your solution of accessing YouTube links via a temporary BAT file is prone to errors when it comes to file paths.
    1 point
  6. I also tried the youtube_search.lua script in a normal VLC 2.2.8 installation without any success. This script is unfortunately not working.
    1 point
  7. 4.0.0.1005 but also work e.g. 4.0.0.1009: https://web.archive.org/web/20190528070909/https://www.passmark.com/products/wirelessmonitor/index.php
    1 point
  8. No because the denial to access a site comes before and then javascript is needed to pass. Disabling javascript is for a different problem where the site obstructs part of the content with a paywall or doesn't let you select text or right-click.
    1 point
  9. Hey... Sorry, that I wasn't here for some ~3 years but mostly always put the new releases to my tools page (https://soggi.org/misc/tools.htm) as a mirror. The last two releases didn't made it to my page since they are both much slower than the 0516 release and (a minor thing) the tabs don't have the grey border any more. Here are screenshots of the 0516 and 0530 release of New Moon 28 (32-bit/SSE2) together with task manager and Blank / MSFN / WayBack Machine tabs loaded after exactly 4:00 minutes, nothing other has been changed except starting NM28. As you can see the 0516 release took 2:23 minutes and the 0530 release took 3:15 minutes CPU time on a dual core in those 4:00. Edit: Screenshots removed, see this post for the next screenshots! kind regards soggi
    1 point
×
×
  • Create New...