This commit is contained in:
Jesse Bannon 2022-09-07 11:05:37 -07:00
parent 345570f160
commit b0a5df6bc2
2 changed files with 12 additions and 2 deletions

View file

@ -230,7 +230,7 @@ class NfoTagsOptions(
<episode>502</episode>
</episodedetails>
Also supports xml attributes:
Also supports xml attributes and duplicate keys:
.. code-block:: yaml
@ -239,12 +239,17 @@ class NfoTagsOptions(
attributes:
name: "Best Year"
tag: "{upload_year}"
genre:
- "Comedy"
- "Drama"
Which translates to
.. code-block:: xml
<season name="Best Year">2022</season>
<genre>Comedy</genre>
<genre>Drama</genre>
"""
return self._tags

View file

@ -62,7 +62,7 @@ class OutputDirectoryNfoTagsOptions(
<title>Sweet youtube TV show</title>
</tvshow>
Also supports xml attributes:
Also supports xml attributes and duplicate keys:
.. code-block:: yaml
@ -71,12 +71,17 @@ class OutputDirectoryNfoTagsOptions(
attributes:
year: "2022"
tag: "Sweet youtube TV show"
genre:
- "Comedy"
- "Drama"
Which translates to
.. code-block:: xml
<title year="2022">Sweet youtube TV show</season>
<genre>Comedy</genre>
<genre>Drama</genre>
"""
return self._tags