Minor text changes
This commit is contained in:
parent
4dec525627
commit
daeda480bb
@ -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]
|
||||||
|
@ -435,13 +435,13 @@ class MumbleBot:
|
|||||||
bitrate = rstation[0]['bitrate']
|
bitrate = rstation[0]['bitrate']
|
||||||
genre = rstation[0]['tags']
|
genre = rstation[0]['tags']
|
||||||
homepage = rstation[0]['homepage']
|
homepage = rstation[0]['homepage']
|
||||||
msg = 'Start playing radio station:'
|
msg = 'Radio station added to playlist:'
|
||||||
# msg += '<table><tr><th>ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th><th>Homepage</th></tr>' + \
|
# msg += '<table><tr><th>ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th><th>Homepage</th></tr>' + \
|
||||||
# f'<tr><td>{parameter}</td><td>{stationname}</td><td>{genre}</td><td>{codec}/{bitrate}</td><td>{country}</td><td>{homepage}</td></tr></table>'
|
# f'<tr><td>{parameter}</td><td>{stationname}</td><td>{genre}</td><td>{codec}/{bitrate}</td><td>{country}</td><td>{homepage}</td></tr></table>'
|
||||||
msg += '<table><tr><th>ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th><th>Homepage</th></tr>' + \
|
msg += '<table><tr><th>ID</th><th>Station Name</th><th>Genre</th><th>Codec/Bitrate</th><th>Country</th><th>Homepage</th></tr>' + \
|
||||||
'<tr><td>%s</td><td>%s</td><td>%s</td><td>%s/%s</td><td>%s</td><td>%s</td></tr></table>' \
|
'<tr><td>%s</td><td>%s</td><td>%s</td><td>%s/%s</td><td>%s</td><td>%s</td></tr></table>' \
|
||||||
% (parameter, stationname, genre, codec, bitrate, country, homepage)
|
% (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)
|
self.send_msg(msg, text)
|
||||||
url = radiobrowser.geturl_byid(parameter)
|
url = radiobrowser.geturl_byid(parameter)
|
||||||
if url != "-1":
|
if url != "-1":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user