Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window Hi!Sorry for the double post, but as a tip for those in the future, I eventually tracked down a stack over flow answer which made reference to creationflags = subprocess.CREATE_NO_WINDOWThis solved my issue. URL: https://forum.audiogames.net/post/571378/#p571378 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window ha, fair enough.I admit I was not entirely clear on what the above answers give me?In so far as I've looked into the subprocess module and studied the shell attribute, though with only limiting success.I simply wonder whether there is an easier solution! I mean look at youtube DLG, that does not flash up with command lines.Never the less, I shall keep looking and figuring out URL: https://forum.audiogames.net/post/571305/#p571305 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window @6The problem is, it is answered, but I was trying to be polite about pointing that out. Go read the subprocess documentation as @2 says to do, that can run anything in the background so long as whatever it is doesn't try to open windows of its own (which youtube-dl doesn't).Or, go read the youtube-dl source code and figure out their embedding API. Whichever.An answer to a question doesn't mean "and here is some code". it only means that on audiogames.net. URL: https://forum.audiogames.net/post/571250/#p571250 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window isnt there a quiet flag, i havent used that in a while but that should be an option URL: https://forum.audiogames.net/post/571217/#p571217 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window @5 yeah, usually I don't bump threads (didn't on this one for a day or two) but I also was concerned that maybe people thought it was answered and it was not? complications URL: https://forum.audiogames.net/post/571117/#p571117 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window This is probably not the ideal support avenue. If this thread didn't get answers before I'm not sure why bumping it would now. Stack Overflow exists. URL: https://forum.audiogames.net/post/571116/#p571116 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window Bump, because I also can not figure this one out and it's bugging the crap out of me. URL: https://forum.audiogames.net/post/571115/#p571115 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window youtube-dl contains a section on imbedding in a program. They could have definitely done a better job as far as modularity, but I hardly think that was a priority. URL: https://forum.audiogames.net/post/567694/#p567694 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
Re: running youtube-dl in the background without a window
Re: running youtube-dl in the background without a window Look to the subprocess module, the documentation of which can be found here. URL: https://forum.audiogames.net/post/567391/#p567391 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
running youtube-dl in the background without a window
running youtube-dl in the background without a window Hi. I have playd arround with youtube-dl and python modules to search youtube and have build a little client. I only have one small but pritty anoying problem. Every time the client interacts with youtube-dl, youtube-dl opens it's command line window, taking focus away from the client. Someetimes it even bugs out so hart that the focus doesn't go back as expected. Is there a way to run youtube-dl in the background so it doesn't take focus away? URL: https://forum.audiogames.net/post/567369/#p567369 -- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector