Spotify dbus events no longer always include Metadata and Playback
authorJacob Casper <dev@jacobcasper.com>
Thu, 17 Aug 2023 17:21:08 +0000 (12:21 -0500)
committerJacob Casper <dev@jacobcasper.com>
Thu, 17 Aug 2023 17:21:08 +0000 (12:21 -0500)
commitbe7f5d4dbc41d4267ddded3c7e00a79079de99e7
treeda71cc4188ca5513a5a9b6923d31e67d6faf7462
parent6d3ac36bd8cf04e1357e6853a059692e42089288
Spotify dbus events no longer always include Metadata and Playback

Where these could previously be referenced unconditionally, the code now
panics due to spotify not always sending these in the dbus properties
changed when songs change.

Add more match clauses when pulling them from the hash map.
src/main.rs