Closed naxay07 closed 2 years ago
This is like revert of this https://github.com/cniw/mpv-discordRPC/commit/4692413931f84051dbc120ef8566eefff23e94be commit, but if it can make the script avoiding an error and make it works more universal i think it's good enough. LGTM
nb: python 2 was already reach the end-of-life since January 1st 2020 so you shouldn't have that in your system nowaday.
When pypresence selected as rpc wrapper, a typo in the code causes it to refer to python 2 instead of python 3 in macOS and most Linux systems. As a result code exits with the error
ImportError: No module named pypresence
and this can be observed in the mpv output in CLI. This change has not been tested on Windows.