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

Is there a way to point to pre-existing installation of yt-dlg.exe and or youtube-dl.exe? #140

Open
DumbJoe opened this issue Jul 10, 2023 · 4 comments
Labels
question Further information is requested

Comments

@DumbJoe
Copy link

DumbJoe commented Jul 10, 2023

For example if you moved them from roaming folder to somewhere else and wish it be executed there rather than in the roaming folder or already have it downloaded as part of something else (or have them all in the same folder as youtube-dl-gui) that you could also use since this is just a front end gui which should be able to point to an existing copy and run commands to that?

Speaking of commands, are you able to output the commands in a different window too to see what sort of commands are being automated into the cli programs? And have them editable so before you hit confirm, you can decide you want something extra in there so you edit the command and then hit confirm/accept?

@oleksis
Copy link
Owner

oleksis commented Jul 10, 2023

You can download the executable example yt-dlg.exe , this binary has embedded Python 3 interpreter and dependencies embedded so you don't need to have Python installed on your operating system. You can run the .exe from any directory

The commands yt-dlg pass to the CLI Backend like yt-dlp/youtube-dl you need check the Debug option and see commands in the windows View logs

Check Frequently Asked Questions

@oleksis oleksis added the question Further information is requested label Jul 10, 2023
@DumbJoe
Copy link
Author

DumbJoe commented Jul 17, 2023

If the compiled executable file has python 3 and all dependencies to run the program(effectively making it 100% portable), how come it tries to download youtube-dl.exe or yt-dlp.exe to %AppData%\yt-dlg? And when you don't have python installed or wxPython and PyPubSub, it complains about it until you install them and it starts?

@oleksis
Copy link
Owner

oleksis commented Jul 17, 2023

For the executable(.exe) we use PyInstaller, it added all the dependencies with the bundle Python interpreter

You can share the steps or logs how you get the error or this behaviour?

@DumbJoe
Copy link
Author

DumbJoe commented Jul 19, 2023

Try it yourself; uninstall python and those two addons, then download your own program and try to run it without having python and those addons installed. It will complain your missing stuff.... As for the other bit, if you go to %AppData%\yt-dlg and then sit there, then open up your program and try to download whatever video, it will first download either youtube-dl.exe or yt-dlp.exe depending on which on your chose before passing the commands to them. Either that or it extracts its copy of them into that folder (for some reason) and then executes commands to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@DumbJoe @oleksis and others