def blit_path_representation(self):
        """Blit representation of video in current path."""
        image = self.image

        rect = (
            1,
            BUTTON_HEIGHT + 2,
            self.width - 2,
            self.height - ((BUTTON_HEIGHT * 2) + 2),
        )

        draw_rect(image, PATHPREVIEW_BG, rect)

        ###

        if self.current_path == ".":

            preview_surf = NOT_FOUND_SURF_MAP[(rect[2], rect[3])]

        ###

        else:

            preview_surf = FONT_PREVIEWS_DB[self.current_path][
                {
                    "font_size": 20,
                    "chars": PREVIEW_CHARS,
                    "width": rect[2],
                    "height": rect[3],
                    "not_found_width": rect[2],
                    "not_found_height": rect[3],
                }
            ]

        image.blit(preview_surf, rect)

        super().blit_path_representation()
Blit representation of video in current path.
nodezator/widget/pathpreview/font.py