def _displayTrackInfo(text=True): infoQue = [] textQue = [] if text: textQue = _getTrackTextQue() infoQue = _getTrackInfoQue() pB_display.setQue(textQue + infoQue)
def _displayTrackInfo(text=True): infoQue = [] textQue = [] if text: textQue = _getTrackTextQue() infoQue = _getTrackInfoQue() WRITER.writeBusPacket( 'c8', '80', ['23', '42', '32', '1e' ]) #clear IKEConsole LCD of messages before filling it with MPD info pB_display.setQue(textQue + infoQue)
def d_cdStartPlaying(packet): if not BLUETOOTH: pB_display.setDisplay(True) pB_ticker.disableAllFunc() toDisplay = pB_audio.playpause() pB_display.setQue(toDisplay)
def d_cdPrev(packet): if not BLUETOOTH: toDisplay = pB_audio.previous() pB_display.setQue(toDisplay)
def d_cdNext(packet): if not BLUETOOTH: toDisplay = pB_audio.next() pB_display.setQue(toDisplay)