From 03d1f57c6fb21c17ffcee5195e105b13be22f1b4 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Tue, 27 Sep 2022 22:16:58 -0700 Subject: [PATCH] better docstrings --- src/ytdl_sub/plugins/output_directory_nfo_tags.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/ytdl_sub/plugins/output_directory_nfo_tags.py b/src/ytdl_sub/plugins/output_directory_nfo_tags.py index a023e3c7..1dcc37cf 100644 --- a/src/ytdl_sub/plugins/output_directory_nfo_tags.py +++ b/src/ytdl_sub/plugins/output_directory_nfo_tags.py @@ -50,20 +50,12 @@ class OutputDirectoryNfoTagsOptions(SharedNfoTagsOptions): @property def tags(self) -> NfoTagsValidator: """ - Tags within the nfo_root tag. In the usage above, it would look like - - .. code-block:: xml - - - - Sweet youtube TV show - - - Also supports xml attributes and duplicate keys: + Tags within the nfo_root tag. Also supports xml attributes and duplicate keys: .. code-block:: yaml tags: + title: "Sweet youtube TV show" namedseason: - tag: "{season_name}" attributes: @@ -76,7 +68,7 @@ class OutputDirectoryNfoTagsOptions(SharedNfoTagsOptions): .. code-block:: xml - Sweet youtube TV show</season> + <title>Sweet youtube TV show Comedy Drama Some Playlist