'Populates the showList with shows from the database'

def loadShowsFromDB(self):

    for s in [s[u'doc'] for s in sickrage.srCore.mainDB.db.all(u'tv_shows', with_doc=True)]:
        try:
            curShow = TVShow(int(s[u'indexer']), int(s[u'indexer_id']))
            curShow.saveToDB()
            curShow.loadFromDB(skipNFO=True)
            sickrage.srCore.SHOWLIST.append(curShow)
        except Exception:
            pass
