summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsen Yates <fatburgeriii@gmail.com>2023-07-03 08:58:19 -0700
committerjaseg <136313+jaseg@users.noreply.github.com>2023-07-22 14:32:53 +0200
commit2d787a977dc46ef94e5c569dab4358835891ca25 (patch)
tree6b8a688fe573c8c9df68c84077ece6618ed5c4d3
parentf6d1269531de44f8f92fa0b03a92d82089f266ce (diff)
downloadpython-mpv-2d787a977dc46ef94e5c569dab4358835891ca25.tar.gz
python-mpv-2d787a977dc46ef94e5c569dab4358835891ca25.tar.bz2
python-mpv-2d787a977dc46ef94e5c569dab4358835891ca25.zip
Add field "playlist_entry_id" to MpvEventEndFile
-rw-r--r--mpv.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/mpv.py b/mpv.py
index 18dec07..51eaae8 100644
--- a/mpv.py
+++ b/mpv.py
@@ -443,9 +443,12 @@ class MpvEventLogMessage(Structure):
return lazy_decoder(self._text)
class MpvEventEndFile(Structure):
- _fields_ = [('reason', c_int),
- ('error', c_int)]
-
+ _fields_ = [
+ ('reason', c_int),
+ ('error', c_int),
+ ('playlist_entry_id', c_ulonglong),
+ ]
+
EOF = 0
RESTARTED = 1
ABORTED = 2