diff --git a/mumbleBot.py b/mumbleBot.py
index 3241959..97d356c 100644
--- a/mumbleBot.py
+++ b/mumbleBot.py
@@ -374,10 +374,13 @@ class MumbleBot:
rb_stations = radiobrowser.getstations_byname(parameter)
msg = var.config.get('strings', 'rbqueryresult') + " :"
msg += '\n
ID | Station Name |
'
- for s in rb_stations:
- msg += '' + s['id'] + ' | ' + s['stationname'] + ' |
'
- msg += '
'
- self.send_msg(msg, text)
+ if not rb_stations:
+ self.send_msg('No results for ' + parameter, text)
+ else:
+ for s in rb_stations:
+ msg += '' + s['id'] + ' | ' + s['stationname'] + ' |
'
+ msg += ''
+ self.send_msg(msg, text)
# Play a secific station (by id) from http://www.radio-browser.info API
elif command == var.config.get('command', 'rb_play'):
logging.debug('Play a station by ID')