'Populates the showlist with shows from the database'

def load_shows(self):

    for dbData in [x[u'doc'] for x in self.mainDB.db.all(u'tv_shows', with_doc=True)]:
        try:
            self.srLogger.debug(u'Loading    data    for    show:    [%s]', dbData[u'show_name'])
            show = TVShow(int(dbData[u'indexer']), int(dbData[u'indexer_id']))
            show.nextEpisode()
            self.NAMECACHE.build(show)
            self.SHOWLIST += [show]
        except Exception as e:
            self.srLogger.error((u'Show    error    in    [%s]:    %s' % (dbData[u'location'], e.message)))
