summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-04-17 23:52:29 +0200
committerjaseg <git@jaseg.de>2022-04-17 23:52:29 +0200
commit607bd3ff12f0da96f4ad7f747f6cfb646288c151 (patch)
treef8091af4c3b4788da6e3fec0f18dbe3ba1ce9ccf
parent8d448d49f1b23f556dd04b4325d7f6a006fe823d (diff)
downloadpython-mpv-607bd3ff12f0da96f4ad7f747f6cfb646288c151.tar.gz
python-mpv-607bd3ff12f0da96f4ad7f747f6cfb646288c151.tar.bz2
python-mpv-607bd3ff12f0da96f4ad7f747f6cfb646288c151.zip
Add missing new event types
-rw-r--r--mpv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpv.py b/mpv.py
index 2e0d81b..8d7aebc 100644
--- a/mpv.py
+++ b/mpv.py
@@ -295,6 +295,8 @@ class MpvEventID(c_int):
PLAYBACK_RESTART = 21
PROPERTY_CHANGE = 22
CHAPTER_CHANGE = 23
+ EVENT_QUEUE_OVERFLOW = 24
+ EVENT_HOOK = 25
ANY = ( SHUTDOWN, LOG_MESSAGE, GET_PROPERTY_REPLY, SET_PROPERTY_REPLY, COMMAND_REPLY, START_FILE, END_FILE,
FILE_LOADED, TRACKS_CHANGED, TRACK_SWITCHED, IDLE, PAUSE, UNPAUSE, TICK, SCRIPT_INPUT_DISPATCH,