diff options
author | wm4 <wm4@nowhere> | 2020-08-13 15:19:50 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-08-13 15:19:50 +0200 |
commit | dec98ad00e731921f29308afadb3a0269677edb9 (patch) | |
tree | 50370751fb9e877533a2e145f889bf1824f94144 /player/command.c | |
parent | 1dac1112685348698af222c982a1655b45eb590b (diff) | |
download | mpv-dec98ad00e731921f29308afadb3a0269677edb9.tar.bz2 mpv-dec98ad00e731921f29308afadb3a0269677edb9.tar.xz |
command: fix current-tracks property notification
Also for track-list, because it contains the "selected" flag.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c index de33a14297..1a20962c29 100644 --- a/player/command.c +++ b/player/command.c @@ -3633,6 +3633,7 @@ static const char *const *const mp_event_property_change[] = { E(MPV_EVENT_FILE_LOADED, "*"), E(MP_EVENT_CHANGE_ALL, "*"), E(MPV_EVENT_TRACKS_CHANGED, "track-list", "current-tracks"), + E(MPV_EVENT_TRACK_SWITCHED, "track-list", "current-tracks"), E(MPV_EVENT_IDLE, "*"), E(MPV_EVENT_TICK, "time-pos", "audio-pts", "stream-pos", "avsync", "percent-pos", "time-remaining", "playtime-remaining", "playback-time", |