hankhank10 / music-screen-api

Display the playing Sonos track in real time on an e-ink display - also includes functionality for last.fm
120 stars 17 forks source link

Handle incomplete data from Sonos API #10

Closed jjlawren closed 4 years ago

jjlawren commented 4 years ago

I've encountered this issue a few times where the Sonos API returns some data, but playbackState is missing from the dictionary. When that happens, the script stops working.