Update sync_mpv_client.py

Fix "toggle play/pause" on Windows.
main
mdnghtman 2023-02-22 23:38:14 +01:00 committed by GitHub
parent 57573d2861
commit f6314d00f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def handle_server(server, addr, MPV_PATH):
# when space pressed inform other clients of play/pause
@mpv.on_key_press("space")
@mpv.on_key_press("SPACE")
def toggle_playback():
toggle_play(mpv)
send(client_socket, "toggle play")