jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
531 stars 67 forks source link

Add field "playlist_entry_id" to MpvEventEndFile #260

Closed cyates559 closed 11 months ago

cyates559 commented 1 year ago

I was trying to figure out exactly which item in my playlist was creating the MpvEventEndFile and I noticed in the mpv.io docs that the MpvEventEndFile contains a playlist_entry_id field just like the MpvEventStartFile so I copied the field. Let me know if there's anything else needed such as a unit test. :)

jaseg commented 11 months ago

Wow, I haven't checked those structs in a while, and they have a number of new fields. Thanks for the PR, I'll merge this and add the other missing fields myself.