Open tylerpnn opened 3 years ago
The issue you've described is about mpv directly. Two solutions can be here:
The code for changing mpv player to SMplayer can be found here: https://github.com/Thann/play-with-mpv/blob/07a9c1dd57d9e16538991b13fd3e2ed54d6e3a2d/play_with_mpv.py#L50
Works for me perfectly.
Note: I am on windows. Using python 3.9.
The first time I open a video using the extension, it opens the video only once. But after I close that window and open any other video via the extension, it opens the video twice. I have double and triple checked that there is only one instance of play-with-mpv.exe running. If i force quit the process, it always works correctly for the first video, but opens two instances of mpv for every video after that.