Closed AndreasWidmer closed 4 years ago
Hi, what platform are you using?
YouTubeDL opens up a CMD window on Windows for FFMpeg which I attempted to hide using creationflags. I wasn't aware this was a platform specific trait and am happy to try and find an alternative option.
At the top of ytm/apis/YouTubeMusicDL/YouTubeMusicDL.py the code underneath the # Monkey patch ffmpeg's popen: comment is what's used. If you comment out the redirection of subprocess.Popen does it work?
Oh yeah, OS is a good information, sorry about that missing information. I tried on unix systems: Ubuntu 20.04 and MacOs 10.15
It seems like commenting out that redirection works!
That's great to hear, I'll leave it commented for now then until I have a working platform independent solution.
The YouTubeMusicDL class is still a work in progress and I aim to make it more robust soon 👍
Hi,
thanks for this lib! I tried to use the YouTubeMusicDL class and get the following error:
Do you have any idea why this error occurs? I simply did: