DingoLingo icon indicating copy to clipboard operation
DingoLingo copied to clipboard

Running bot as .pyw prevents music from playing

Open dille12 opened this issue 3 years ago • 2 comments

I changed the run file to a no console .pyw, and all music related commands stopped working. I believe the issue is in FFMPEG conversion, which crashes if console is not present, since I found this: https://github.com/Zulko/moviepy/issues/517.

dille12 avatar Dec 14 '22 17:12 dille12

Actually the downloader.extract_info() returns nothing when not using the console in this section: https://github.com/Raptor123471/DingoLingo/blob/eec116646616148f7f189d1c031b29aee6ff2a0f/musicbot/audiocontroller.py#L148-L162 It causes the thread to crash.

dille12 avatar Dec 14 '22 19:12 dille12

Thanks for the detailed report on this issue. I've attempted to fix it in my fork, seems to work.

solaluset avatar Dec 26 '22 11:12 solaluset