Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open video downloader not updating to yt-dlp binary #483

Open
amarant24 opened this issue Apr 1, 2023 · 6 comments
Open

Open video downloader not updating to yt-dlp binary #483

amarant24 opened this issue Apr 1, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@amarant24
Copy link

Open Video Downloader will not download any new videos due to outdated yt-dl binary without support.
The yt-dlp binary will work but isn't being downloaded by the app.
Maybe add an option to use yt-dlp binary or scrap the yt-dl binary all together and just upgrade to yt-dlp.
How to reproduce? Try and download any video...

@amarant24 amarant24 added the bug Something isn't working label Apr 1, 2023
@AdamGalt
Copy link

AdamGalt commented Apr 6, 2023

As a workaround for others finding this thread, you can download the latest yt-dlp binary here:
https://github.com/yt-dlp/yt-dlp/releases

and then copy it to here:
C:\Users$user\AppData\Local\Programs\youtube-dl-gui\resources\app.asar.unpacked\binaries

that will get things working again until the updater issue is fixed.

@amarant24
Copy link
Author

Whats the work around for OSX?

@AdamGalt
Copy link

AdamGalt commented Apr 7, 2023

Whats the work around for OSX?

I'm sorry but I don't have OSX available to test. The principle should be the same though.
Grab the latest binary from https://github.com/yt-dlp/yt-dlp/releases and use it to replace the current binary in your installation path.

@Stefifox
Copy link

Stefifox commented Apr 9, 2023

I found a work around for OSX
Use your terminal to navigate into the package of youtube-dl-gui
path: "/Applications/Open\ Video\ Downloader.app/Contents/Resources/app.asar.unpacked/binaries/"
Screenshot 2023-04-09 alle 11 19 11

Then use the update comand on the binary "./yt-dlp-unix -U"
You also need to open the ytdlVersion file with a text editor and update the version number inside

@omaerkhan
Copy link

FYI - I got the MacOS version...
For anyone not so tech-savvy, who needs help, the following commands should help (run them in the Terminal App)...
(The commands assume that Open Video Downloader is stored in the /Applications/ folder - if not, then adjust the first cd /Applications/Open\ Video\ Downloader.app/ command appropriately).
(Note I start each command with sudo sh just incase sudo is required, but on my system everything worked without the sudo... And you'll have to type your password after the sudo sh command).

sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/ 

mv ./yt-dlp-unix ./yt-dlp-unix-backup
mv ./ytdlVersion ./ytdlVersion-backup
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ./yt-dlp-new
mv ./yt-dlp-new ./yt-dlp-unix
chmod a+rx ./yt-dlp-unix
echo "{\"version\":\"$(./yt-dlp-unix --version)\"},\"ytdlp\":true}" > ytdlVersion

exit

If this doesn't work, then you can undo the changes by using:

sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/

mv  ./yt-dlp-unix-backup ./yt-dlp-unix
mv ./ytdlVersion-backup ./ytdlVersion

exit

On the other hand, if this does work, then you can clean up the backup files:

sudo sh
cd /Applications/Open\ Video\ Downloader.app/
cd Contents/Resources/app.asar.unpacked/binaries/

rm  ./yt-dlp-unix-backup
rm ./ytdlVersion-backup

exit

@electr1cBugaloo
Copy link

electr1cBugaloo commented Jan 23, 2024

For those not aware, open video downloader in this repo hasn't been updated since 2020. The fork below seems to actively maintained and has fixed this issue, so switching to this fork seems to be the better option going forward:

https://github.com/StefanLobbenmeier/youtube-dl-gui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants