Add field "playlist_entry_id" to MpvEventEndFile

This commit is contained in:
Carsen Yates 2023-07-03 08:58:19 -07:00 committed by jaseg
parent f6d1269531
commit 2d787a977d

7
mpv.py
View file

@ -443,8 +443,11 @@ 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