From 2d787a977dc46ef94e5c569dab4358835891ca25 Mon Sep 17 00:00:00 2001 From: Carsen Yates Date: Mon, 3 Jul 2023 08:58:19 -0700 Subject: Add field "playlist_entry_id" to MpvEventEndFile --- mpv.py | 9 ++++++--- 1 file 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 -- cgit