def get_clip_index_by_media_id(clip_info, clip_list):
    """
    For a given clip info dict, will return the index at which it is found
    in the list by comparing media_id
    If nothing is found, return None
    """
    media_id_list = [item["media_id"] for item in clip_list]
    try:
        output = media_id_list.index(clip_info["media_id"])
    except ValueError:
        return None
    else:
        return output