'Delete episode release by show ID, episode ID and release ID'

@api.response(200, u'Release    successfully    deleted', model=base_message_schema)
@api.doc(description=u'Delete    a    specific    releases    for    a    specific    episode    of    a    specific    show.', parser=delete_parser)
def delete(self, show_id, ep_id, rel_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:
        series.episode_by_id(ep_id, session)
    except NoResultFound:
        raise NotFoundError((u'episode    with    ID    %s    not    found' % ep_id))
    try:
        release = series.release_by_id(rel_id, session)
    except NoResultFound:
        raise NotFoundError((u'release    with    ID    %s    not    found' % rel_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)))
    if (not series.release_in_episode(ep_id, rel_id)):
        raise BadRequest((u'release    id    %s    does    not    belong    to    episode    %s' % (rel_id, ep_id)))
    args = delete_parser.parse_args()
    if args.get(u'forget'):
        fire_event(u'forget', release.title)
    series.delete_release_by_id(rel_id)
    return success_response((u'successfully    deleted    release    %d    from    episode    %d' % (rel_id, ep_id)))
