'Get the coming episodes'

def run(self):

    grouped_coming_episodes = ComingEpisodes.get_coming_episodes(self.type, self.sort, True, self.paused)
    data = {section: [] for section in grouped_coming_episodes.keys()}
    for (section, coming_episodes) in six.iteritems(grouped_coming_episodes):
        for coming_episode in coming_episodes:
            data[section].append({u'airdate': coming_episode['airdate'], u'airs': coming_episode['airs'], u'ep_name': coming_episode['name'], u'ep_plot': coming_episode['description'], u'episode': coming_episode['episode'], u'indexerid': coming_episode['indexer_id'], u'network': coming_episode['network'], u'paused': coming_episode['paused'], u'quality': coming_episode['quality'], u'season': coming_episode['season'], u'show_name': coming_episode['show_name'], u'show_status': coming_episode['status'], u'tvdbid': coming_episode['tvdbid'], u'weekday': coming_episode['weekday']})
    return _responds(RESULT_SUCCESS, data)
