osx notifications: Use the players on_current_media_changed hook
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 15 Apr 2019 22:32:49 +0000 (00:32 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Mon, 15 Apr 2019 22:32:49 +0000 (00:32 +0200)
commit16b173aef53c34dfce09d8e26e759a2ea4094429
tree529b1e58a0b85dd33bdc2740c64e057bf7536003
parent0a7be713b7d5ea6115bb58f4d65cf448414995aa
osx notifications: Use the players on_current_media_changed hook

The previous implementation consistently used the old input item
to show its data. Now, the data of the new input is actually shown.
modules/notify/osx_notifications.m