diff --git a/mumbleBot.py b/mumbleBot.py index b32e5d6..a6dc766 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -397,13 +397,10 @@ class MumbleBot: codec = rstation[0]['codec'] bitrate = rstation[0]['bitrate'] genre = rstation[0]['tags'] - imageurl = rstation[0]['favicon'] homepage = rstation[0]['homepage'] - logging.info(f'hp: {homepage}') - logging.info(f'img: {imageurl}') - msg = f'Start playing radio station: {stationname} ({codec}/{bitrate} kbit, Country: {country}, Genre: {genre})' - if homepage and imageurl: - msg += f'' + msg = f'Start playing radio station:' + msg += '' + \ + f'
IDStation NameGenreCodec/BitrateCountryHomepage
{parameter}{stationname}{genre}{codec}, {bitrate}{country}{homepage}
' logging.debug(f'Play radio station {stationname}') self.send_msg(msg, text) url = radiobrowser.geturl_byid(parameter)