def d_cdStartPlaying(packet): pB_audio.pause() pB_audio.play() pB_display.setDisplay(True) pB_ticker.disableAllFunc() writeCurrentTrack() _displayTrackInfo()
def d_cdStopPlaying(packet): pB_audio.pause() pB_display.setDisplay(False) cdSongHundreds, cdSong = _getTrackNumber() WRITER.writeBusPacket( '18', '68', ['39', '00', '02', '00', '3F', '00', cdSongHundreds, cdSong])
def d_cdStartPlaying(packet): pB_audio.pause() pB_audio.play() WRITER.writeBusPacket( 'c8', '80', ['23', '42', '32', '1e' ]) #clear IKEConsole LCD of messages before filling it with MPD info pB_display.setDisplay(True) pB_ticker.disableAllFunc() writeCurrentTrack() _displayTrackInfo()
def d_cdStopPlaying(packet): pB_audio.pause() pB_display.setDisplay(False) cdSongHundreds, cdSong = _getTrackNumber() WRITER.writeBusPacket( 'c8', '80', ['23', '42', '32', '1e' ]) #clear IKEConsole LCD of messages before filling it with MPD info WRITER.writeBusPacket( '18', '68', ['39', '00', '02', '00', '3F', '00', cdSongHundreds, cdSong])
def d_cdStartPlaying(packet): pB_audio.play() pB_display.setDisplay(True) writeCurrentTrack() _displayTrackInfo()
def d_cdStopPlaying(packet): pB_audio.pause() pB_display.setDisplay(False) cdSongHundreds, cdSong = _getTrackNumber() WRITER.writeBusPacket('18', '68', ['39', '00', '02', '00', '3F', '00', cdSongHundreds, cdSong])
def d_cdStartPlaying(packet): if not BLUETOOTH: pB_display.setDisplay(True) pB_ticker.disableAllFunc() toDisplay = pB_audio.playpause() pB_display.setQue(toDisplay)
def d_cdStopPlaying(packet): pB_audio.stop() pB_display.setDisplay(False)