Minor text changes
This commit is contained in:
parent
fc22e5487d
commit
4dec525627
@ -104,7 +104,7 @@ no_possible = it's not possible to do that
|
|||||||
removing_item = Removing entry %s from queue
|
removing_item = Removing entry %s from queue
|
||||||
user_ban = You are ban, not allowed to do that !
|
user_ban = You are ban, not allowed to do that !
|
||||||
url_ban = This url isn't allowed !
|
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:
|
help = Command available:
|
||||||
<br />!file [path]
|
<br />!file [path]
|
||||||
|
@ -366,11 +366,11 @@ class MumbleBot:
|
|||||||
logging.info('Querying radio stations')
|
logging.info('Querying radio stations')
|
||||||
if not parameter:
|
if not parameter:
|
||||||
logging.debug('rbquery without 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)
|
self.send_msg(msg, text)
|
||||||
else:
|
else:
|
||||||
logging.debug('Found query parameter: ' + parameter)
|
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)
|
rb_stations = radiobrowser.getstations_byname(parameter)
|
||||||
msg = var.config.get('strings', 'rbqueryresult') + " :"
|
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>'
|
msg += '\n<table><tr><th>!rbplay ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th></tr>'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user