Mopidy Discourse

Playlists - track added - do something with track?

Is there a way for an Extension to know when a track is added to or removed from a playlist (including knowing which track)?

CoreListener.playlist_changed looks like a start, but is it possible to know what the change was?

https://docs.mopidy.com/en/latest/api/core/#mopidy.core.CoreListener.playlist_changed

It provides the updated playlist but it does not tell you specifically what changed.

Thanks - that’s what I thought. Sounds like it’s not possible, then?

Cheers
Nik

The playback state change receives both the old and new state. It would be nice if this worked the same way.
Or maybe is could take some additional information with what was added or removed.