Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
GUI #635
GUI #635
Comments
|
Currently, you interact with youtube-dl via a subprocess. Therefore, I see little reason why the GUI should be tied to a specific version of youtube-dl, and could not simply be an external program. Also, at least in my experience, virtually all URLs come from the webbrowser. Therefore, a webbrowser plugin may be a more suitable interface than a desktop program. I'm leaving this issue open for a couple of days to get some visibility, but after that, I'm closing it. If you want to integrate the GUI into mainline youtube-dl, feel free to submit a pull request, but make sure that:
Thanks! |
|
Thanks for response. I will try to adjust code to your requirements. I don't have knowledge about making webbrowsers plugin so I will continue developing desktop aplication. |
|
Hm, but I have one more question. Why do you want to use calls, Popen is from some reason bad? :P |
|
command-line interaction with youtube-dl is certainly fine, but it's a way too heavy passing mechanism if the GUI should be integrated into mainline youtube-dl; if both GUI and core are from the same package, they should communicate via a more efficient mechanism. Otherwise, it's hard to avoid a number of obscure bugs. For example, the current GUI will cause significant power consumption and will be laggy because of the various |
I started to write my user interface for youtube-dl here:
https://github.com/Yuri20/youtube-dl
It's only idea, i started this today. I know it's using about few percent of all youtube-dl options but as I said it's only an idea. Currently it have a lot small thinkgs to repair, I will do it later. What do you think about that? Maybe somebody wants to help?