Add field "playlist_entry_id" to MpvEventEndFile
This commit is contained in:
parent
f6d1269531
commit
2d787a977d
1 changed files with 6 additions and 3 deletions
7
mpv.py
7
mpv.py
|
|
@ -443,8 +443,11 @@ class MpvEventLogMessage(Structure):
|
||||||
return lazy_decoder(self._text)
|
return lazy_decoder(self._text)
|
||||||
|
|
||||||
class MpvEventEndFile(Structure):
|
class MpvEventEndFile(Structure):
|
||||||
_fields_ = [('reason', c_int),
|
_fields_ = [
|
||||||
('error', c_int)]
|
('reason', c_int),
|
||||||
|
('error', c_int),
|
||||||
|
('playlist_entry_id', c_ulonglong),
|
||||||
|
]
|
||||||
|
|
||||||
EOF = 0
|
EOF = 0
|
||||||
RESTARTED = 1
|
RESTARTED = 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue