Minor text changes

This commit is contained in:
elpatron68 2019-07-28 15:43:12 +02:00
parent fc22e5487d
commit 4dec525627
2 changed files with 3 additions and 3 deletions

View File

@ -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:
<br />!file [path]

View File

@ -366,11 +366,11 @@ class MumbleBot:
logging.info('Querying radio stations')
if not parameter:
logging.debug('rbquery without parameter')
msg += 'You have to add a query text to search for a specific radio station.'
msg += 'You have to add a query text to search for a matching radio stations.'
self.send_msg(msg, text)
else:
logging.debug('Found query parameter: ' + parameter)
self.send_msg('Searching for stations - this may take some seconds...', text)
# self.send_msg('Searching for stations - this may take some seconds...', text)
rb_stations = radiobrowser.getstations_byname(parameter)
msg = var.config.get('strings', 'rbqueryresult') + " :"
msg += '\n<table><tr><th>!rbplay ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th></tr>'