fix now-playing to query through the new playlist

workspace
Brendan Howell 4 years ago
parent dc2705b56b
commit 7108240781

@ -169,11 +169,15 @@ class Audio(Bureau):
# TODO: create barcode
# small print title, url, barcode
txt = "RADIO STATION:\r\n\r\n" + title + "\r\n\r\n" + url
self.print_small(txt, cut=False)
prn = self._get_small_printer()
bc_img = kode256.image("AUp." + shortcode)
self.print_small_image(bc_img)
prn.textln("RADIO STATION:")
prn.textln(title)
prn.textln(url)
prn.soft_barcode("CODE128", "AUp." + shortcode)
#TODO: cut
prn.close()

Loading…
Cancel
Save