lint, docs
This commit is contained in:
parent
907158cd95
commit
1d7e390d01
3 changed files with 21 additions and 2 deletions
|
|
@ -828,6 +828,26 @@ used with no modifications.
|
|||
set to the entry's title and ``chapter_index``, ``chapter_count`` are both set to 1.
|
||||
|
||||
|
||||
----------------------------------------------------------------------------------------------------
|
||||
|
||||
square_thumbnail
|
||||
----------------
|
||||
Whether to make thumbnails square. Supports both file and embedded-based thumbnails. Ideal
|
||||
for representing audio albums.
|
||||
|
||||
:Usage:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
square_thumbnail: True
|
||||
|
||||
``format_string``
|
||||
|
||||
Returns
|
||||
-------
|
||||
The literal format string, unformatted.
|
||||
|
||||
|
||||
----------------------------------------------------------------------------------------------------
|
||||
|
||||
static_nfo_tags
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ from ytdl_sub.utils.file_handler import FileMetadata
|
|||
from ytdl_sub.utils.logger import Logger
|
||||
from ytdl_sub.validators.audo_codec_validator import AUDIO_CODEC_EXTS
|
||||
from ytdl_sub.validators.string_formatter_validators import OverridesBooleanFormatterValidator
|
||||
from ytdl_sub.validators.validators import BoolValidator
|
||||
|
||||
logger = Logger.get("embed-thumbnail")
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ def square_thumbnail_subscription_dict(output_directory) -> Dict:
|
|||
"music_video_artist": "JMC",
|
||||
"url": "https://your.name.here",
|
||||
"perform_square_thumbnail": True,
|
||||
"perform_embed_thumbnail": False
|
||||
"perform_embed_thumbnail": False,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue