osc: avoid using a deprecated event

The new code is pretty much equivalent.
This commit is contained in:
wm4 2020-03-21 14:04:34 +01:00
parent 4a2fd2daf6
commit 9815887435
1 changed files with 1 additions and 1 deletions

View File

@ -2578,7 +2578,7 @@ validate_user_opts()
mp.register_event("shutdown", shutdown)
mp.register_event("start-file", request_init)
mp.register_event("tracks-changed", request_init)
mp.observe_property("track-list", nil, request_init)
mp.observe_property("playlist", nil, request_init)
mp.register_script_message("osc-message", show_message)