forslund / spotify-skill

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

Added feedback when commands fail #63

Closed g3rb3n closed 5 years ago

g3rb3n commented 5 years ago

Changed constructs like:

def shuffle_on(self):
    if self.spotify:
        self.spotify.shuffle(True)

To

def shuffle_on(self):
    if not self.spotify:
        self.speak_dialog('NotConnected')
        return
    self.spotify.shuffle(True)