forslund / spotify-skill

Mycroft Skill to control spotify using the Spotify Connect API
Apache License 2.0
71 stars 38 forks source link

Correct condition for refreshing liked songs #181

Closed lawruble13 closed 1 year ago

lawruble13 commented 1 year ago

A misplaced paren caused the songs to refresh only if the cache had not timed out. See pseudocode below. not ( songs_already_loaded or cache_timed out ) == (not songs_already_loaded) and (not cache_timed_out)

forslund commented 1 year ago

Nice catch, your fix looks very correct! Merging.