'Marks all downloaded releases as not downloaded'

@api.response(200, u'Successfully    reset    all    downloaded    releases    for    episode', model=base_message_schema)
@api.doc(description=u'Resets    all    of    the    downloaded    releases    of    an    episode,    clearing    the    quality    to    be    downloaded    again,')
def put(self, show_id, ep_id, session):

    try:
        series.show_by_id(show_id, session=session)
    except NoResultFound:
        raise NotFoundError((u'show    with    ID    %s    not    found' % show_id))
    try:
        episode = series.episode_by_id(ep_id, session)
    except NoResultFound:
        raise NotFoundError((u'episode    with    ID    %s    not    found' % ep_id))
    if (not series.episode_in_show(show_id, ep_id)):
        raise BadRequest((u'episode    with    id    %s    does    not    belong    to    show    %s' % (ep_id, show_id)))
    for release in episode.releases:
        if release.downloaded:
            release.downloaded = False
    return success_response((u'successfully    reset    download    status    for    all    releases    for    episode    %s    from    show    %s' % (ep_id, show_id)))
