added GetPlaylist()

This commit is contained in:
2025-06-28 13:36:09 +02:00
parent 4fef37ceca
commit bca0e0bf3a
2 changed files with 12 additions and 0 deletions

8
playlist_entry.go Normal file
View File

@ -0,0 +1,8 @@
package mpvipc
type PlaylistEntry struct {
Filename string `json:"filename"`
Current bool `json:"current"`
Playing bool `json:"playing"`
ID int `json:"id"`
}