From daeda480bbff81bcd89d4f4b72b9ad6e95f98d42 Mon Sep 17 00:00:00 2001 From: elpatron68 Date: Sun, 28 Jul 2019 16:26:06 +0200 Subject: [PATCH] Minor text changes --- configuration.default.ini | 2 +- mumbleBot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration.default.ini b/configuration.default.ini index 844d78a..04f3d52 100644 --- a/configuration.default.ini +++ b/configuration.default.ini @@ -104,7 +104,7 @@ no_possible = it's not possible to do that removing_item = Removing entry %s from queue user_ban = You are ban, not allowed to do that ! url_ban = This url isn't allowed ! -rbqueryresult = This is the result of your query, send !rbplay ID to play a station +rbqueryresult = This is the result of your query, send !rbplay 'ID' to play a station help = Command available:
!file [path] diff --git a/mumbleBot.py b/mumbleBot.py index 45de372..c6eb560 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -435,13 +435,13 @@ class MumbleBot: bitrate = rstation[0]['bitrate'] genre = rstation[0]['tags'] homepage = rstation[0]['homepage'] - msg = 'Start playing radio station:' + msg = 'Radio station added to playlist:' # msg += '' + \ # f'
IDStation NameGenreCodec/BitrateCountryHomepage
{parameter}{stationname}{genre}{codec}/{bitrate}{country}{homepage}
' msg += '' + \ '
IDStation NameGenreCodec/BitrateCountryHomepage
%s%s%s%s/%s%s%s
' \ % (parameter, stationname, genre, codec, bitrate, country, homepage) - logging.debug('Play radio station %s' % stationname) + logging.debug('Added station to playlist %s' % stationname) self.send_msg(msg, text) url = radiobrowser.geturl_byid(parameter) if url != "-1":