thumbnail_enricher
==================

.. py:module:: thumbnail_enricher


Submodules
----------

.. toctree::
   :maxdepth: 1

   /autoapi/thumbnail_enricher/thumbnail_enricher/index




Package Contents
----------------

.. py:class:: ThumbnailEnricher

   Bases: :py:obj:`auto_archiver.core.Enricher`


   Generates thumbnails for all the media


   .. py:method:: enrich(to_enrich: auto_archiver.core.Metadata) -> None

      Uses or reads the video duration to generate thumbnails
      Calculates how many thumbnails to generate and at which timestamps based on the video duration, the number of thumbnails per minute and the max number of thumbnails.
      Thumbnails are equally distributed across the video duration.



