def g(self, name="", genre="", randomlist='false'):
        list = searchradio(name.decode('utf8'), genre)
        count = 0

        # Randomlist
        if randomlist == 'true' : shuffle(list)

        listhtml = '''<table class="table table-condensed">'''
        for id,radio,gen,url in list:
            listhtml += '''<tr>'''
            listhtml += '''<td width="200px"><a href="#" onClick="fmodradio('%s')" alt="%s">%s</a></td>''' % (id, url, radio)
            listhtml += '''<td width="100px">%s</td>''' % gen
            listhtml += '''<td ><a href="#" onClick="fplayradio('%s')">Play <span class="glyphicon glyphicon-play"></span></a></td>''' % (id)
            listhtml += '''</tr>'''
            count += 1
        listhtml += '''</table>'''
        listhtml += '''</div> </div>'''

        html = ''
        html += '''<div class="row"> <div class="col-md-8"> '''
        if randomlist == 'false':
            html += '''<h2><a href="#" onClick="frandom(name='%s', genre='%s', randomlist='true')">%d Results for '%s' + '%s'</a></h2>''' % (name, genre, count, name, genre)
        else:
            html += '''<h2><a href="#" onClick="fsearch(name='%s', genre='%s')">%d Random for '%s' + '%s'</a></h2>''' % (name, genre, count, name, genre)

        html += listhtml

        return html