better docstrings
This commit is contained in:
parent
263b9bcf10
commit
03d1f57c6f
1 changed files with 3 additions and 11 deletions
|
|
@ -50,20 +50,12 @@ class OutputDirectoryNfoTagsOptions(SharedNfoTagsOptions):
|
||||||
@property
|
@property
|
||||||
def tags(self) -> NfoTagsValidator:
|
def tags(self) -> NfoTagsValidator:
|
||||||
"""
|
"""
|
||||||
Tags within the nfo_root tag. In the usage above, it would look like
|
Tags within the nfo_root tag. Also supports xml attributes and duplicate keys:
|
||||||
|
|
||||||
.. code-block:: xml
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<tvshow>
|
|
||||||
<title>Sweet youtube TV show</title>
|
|
||||||
</tvshow>
|
|
||||||
|
|
||||||
Also supports xml attributes and duplicate keys:
|
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
|
title: "Sweet youtube TV show"
|
||||||
namedseason:
|
namedseason:
|
||||||
- tag: "{season_name}"
|
- tag: "{season_name}"
|
||||||
attributes:
|
attributes:
|
||||||
|
|
@ -76,7 +68,7 @@ class OutputDirectoryNfoTagsOptions(SharedNfoTagsOptions):
|
||||||
|
|
||||||
.. code-block:: xml
|
.. code-block:: xml
|
||||||
|
|
||||||
<title year="2022">Sweet youtube TV show</season>
|
<title>Sweet youtube TV show</title>
|
||||||
<genre>Comedy</genre>
|
<genre>Comedy</genre>
|
||||||
<genre>Drama</genre>
|
<genre>Drama</genre>
|
||||||
<namedseason number="1">Some Playlist</namedseason>
|
<namedseason number="1">Some Playlist</namedseason>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue