'Get the list of seasons of a show'

def run(self):

    showObj = findCertainShow(sickrage.srCore.SHOWLIST, int(self.indexerid))
    if (not showObj):
        return _responds(RESULT_FAILURE, msg=u'Show    not    found')
    if (self.sort == u'asc'):
        seasonList = sorted([x[u'doc'][u'season'] for x in sickrage.srCore.mainDB.db.get_many(u'tv_episodes', self.indexerid, with_doc=True)], key=(lambda d: d[u'season']))
    else:
        seasonList = sorted([x[u'doc'][u'season'] for x in sickrage.srCore.mainDB.db.get_many(u'tv_episodes', self.indexerid, with_doc=True)], key=(lambda d: d[u'season']), reverse=True)
    return _responds(RESULT_SUCCESS, seasonList)
