Merge branch 'wildestpixel-master'
commit
cdf2075168
|
@ -63,6 +63,12 @@ class RaspberryGPIOFrontend(pykka.ThreadingActor, core.CoreListener):
|
|||
else:
|
||||
self.core.playback.play()
|
||||
|
||||
def handle_play_stop(self, config):
|
||||
if self.core.playback.get_state().get() == core.PlaybackState.PLAYING:
|
||||
self.core.playback.stop()
|
||||
else:
|
||||
self.core.playback.play()
|
||||
|
||||
def handle_next(self, config):
|
||||
self.core.playback.next()
|
||||
|
||||
|
|
Loading…
Reference in New Issue