diff --git a/screenless/bureau/audio/audio.py b/screenless/bureau/audio/audio.py index 0e16391..f343ef3 100644 --- a/screenless/bureau/audio/audio.py +++ b/screenless/bureau/audio/audio.py @@ -160,6 +160,7 @@ class Audio(Bureau): # if line startswith #EXTINF: title = first comma to EOL # if line startswith Title then title = first '=' to EOL title = "" + self.log.debug("PLAYLIST TEXT: \n" + resp.text) for line in resp.text: if line.startswith("#EXTINF:"): # this is m3u playlist - title is from first comma to EOL @@ -170,7 +171,7 @@ class Audio(Bureau): # TODO: create barcode # small print title, url, barcode - txt = "RADIO STATION:\r\n" + title + "\r\n" + url + txt = "RADIO STATION:\r\n\r\n" + title + "\r\n\r\n" + url self.print_small(txt, cut=False) bc_img = kode256.image("AUp." + shortcode)