def redirect_show(show_tuple, redirections, tracker_list):
    """ Use a redirection dictionary and return the new show ID and episode acordingly """
    if not redirections:
        return show_tuple
    show, ep = show_tuple
    showlist = tracker_list[0]
    if show['id'] in redirections:
        for redirection in redirections[show['id']]:
            src_eps, dst_id, dst_eps = redirection
            if src_eps[1] == -1 and ep > src_eps[0] or ep in range(src_eps[
                0], src_eps[1] + 1):
                new_show_id = dst_id
                new_ep = ep + (dst_eps[0] - src_eps[0])
                if new_show_id in showlist:
                    return showlist[new_show_id], new_ep
    return show_tuple
