def METHOD_NAME(video, list_node_img, recording, media_name, zip):
    previousEnrichment = None
    i = 0
    Enrichment.objects.filter(video=video).delete()
    start_img = 1 if RECORDER_SKIP_FIRST_IMAGE else 0
    for item in list_node_img[start_img:]:  # skip the first
        i += 1
        add_comment(recording.id, ">> ITEM %s: %s" % (i, item.getAttribute("src")))
        filename = media_name + "/%s" % item.getAttribute("src")
        timecode = float("%s" % item.getAttribute("begin"))
        timecode = int(round(timecode))
        add_comment(recording.id, ">> timecode %s" % timecode)
        # Enrichment
        enrichment = Enrichment.objects.create(
            video=video,
            title="slide %s" % i,
            start=timecode,
            end=timecode + 1,
            stop_video=False,
        )
        # Enrichment Image
        data = zip.read(filename)
        save_slide(data, filename, video, enrichment, recording)
        if previousEnrichment is not None:
            previousEnrichment.end = (
                timecode - 1 if (timecode - 1 > 0) else previousEnrichment.end
            )
            previousEnrichment.save()
        previousEnrichment = enrichment
    video = Video.objects.get(id=video.id)
    if previousEnrichment is not None and video.duration and video.duration > 0:
        previousEnrichment.end = video.duration
        previousEnrichment.save()