From 1acc39885fa503b09006c3467e0cccb8254295d6 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 7 Aug 2016 19:40:28 +0200 Subject: [PATCH] Keep wait_for_playback in waiting state during PAUSE ...to allow proper playback of network resources even in case of buffering --- mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpv.py b/mpv.py index 148e9a3..d45682f 100644 --- a/mpv.py +++ b/mpv.py @@ -309,7 +309,7 @@ def _event_loop(event_handle, playback_cond, event_callbacks, property_handlers, try: devent = event.as_dict() # copy data from ctypes eid = devent['event_id'] - if eid in (MpvEventID.SHUTDOWN, MpvEventID.END_FILE, MpvEventID.PAUSE): + if eid in (MpvEventID.SHUTDOWN, MpvEventID.END_FILE): with playback_cond: playback_cond.notify_all() if eid == MpvEventID.PROPERTY_CHANGE: