Booplicate / MAS-Submods-YouTubeMusic

A submod for MAS which allows you to listen to music from youtube
9 stars 9 forks source link

SSL support for UNIX systems #4

Closed Booplicate closed 4 years ago

Booplicate commented 4 years ago

Closes #3 This will allow us to make encrypted requests on any OS that RenPy supports.

@d3adpan you'll need to install it as a normal submod, start the game, and try to play some audios. Please test both long songs (with the size more than 15 MB) and short ones (with the size less than 15 MB). If you encounter any errors, do not close the game. First, find 2 log files: mas_log.txt and traceback.txt, and send them to me. After that you can close the game.

Not sure how familiar you are with GitHub, so I'll attach the test build here.

ghost commented 4 years ago

I installed the test build, both short and long songs are playing as usual - no errors to report.

ghost commented 4 years ago

I'm sorry, I think I might have misunderstood. When you mentioned song size I thought you meant to play songs in my custom_bgm library. Trying to pull songs from YouTube does not work however, and gives me this report in mas_log:

Sun May 17 08:20:24 2020 Linux-5.4.0-29-generic-x86_64-with-debian-bullseye-sid Ren'Py 6.99.12.4.2187

VERSION: 0.11.2 [exp] OSError(2, 'No such file or directory') [exp] OSError(2, 'No such file or directory') [YTM ERROR]: Failed to request audio stream. Exception: ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),)) [YTM ERROR]: Failed to request HTML data. Exception: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>