From dec98ad00e731921f29308afadb3a0269677edb9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 13 Aug 2020 15:19:50 +0200 Subject: command: fix current-tracks property notification Also for track-list, because it contains the "selected" flag. --- player/command.c | 1 + 1 file changed, 1 insertion(+) 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", -- cgit v1.2.3