Jump to content

panda_zzz

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Ukraine

Everything posted by panda_zzz

  1. If you need a solution for Windows XP, you can try my QJS build - it's certainly not super fast, but it's lightweight and native to XP. https://postimg.cc/9D5NQkZ2 https://postimg.cc/HcVt20XF https://www.mediafire.com/file/b2yx0shb0ncfp2c/qjs.zip/file
  2. I rewrote part of the functionality and replaced the automatic recommendations with manual ones that can be activated by clicking a button youtube_search.lua
  3. @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.
  4. Given the issues with finding yt-dlp.exe, I've added variables for the absolute path. If USER_YTDLP_PATH is set and the file exists, it is used; otherwise, yt-dlp.exe is searched for in the VLC directory; hidecon.exe is taken from USER_HIDECON_PATH; otherwise, it is searched for next to the found yt-dlp.exe; if nothing is found - fallback to yt-dlp.exe from the PATH. As shown in the log in the screenshot, yt-dlp is taken from the specified path C:\test\yt-dlp.exe
  5. My plugin works on the same principle as your script, and it requires yt-dlp.exe and hidecon.exe in the VLC folder to function. Of course, it’s possible that something has changed in newer versions of the player itself - I’m using versions 3.0.17 and 2.2.8. I haven’t quite finished working on the subtitles yet - the automatic translation into other languages isn’t working well for me, but if the video is in English, the English subtitles will be displayed - you can see this in my screenshot below. You can send me the log file, and I’ll try to help.
  6. Based on your script, you can create an entire VLC plugin - for example, here's what I came up with: youtube_search.lua
  7. I made a few changes to AstroSkipper's script: Set the video format to avc1, Made some adjustments to how yt-dlp output is handled, Parsed the video title into the VLC window title, Added logging of yt-dlp errors to the VLC console, Made a few minor tweaks to how hidecon is handled Tested on VLC version 2.2.8 on Windows XP & Windows 7. If you have any comments or suggestions, I’ll try to stay in touch youtube.lua
×
×
  • Create New...