Skip to content

Commit 3ceb97c

Browse files
committed
tagging: coverart updates
1 parent ac2165c commit 3ceb97c

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

docs/extensions/tagging.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Tag downloaded files using Mutagen
33
---
44

5-
Add episode and podcast titles to MP3/OGG tags.
5+
Add tags to MP3/MP4/OGG files after download.
66

77
By default, this extension will:
88
- Remove existing tags
@@ -16,26 +16,36 @@ Also available are writing the Subtitle tag and the Comments tag (both with the
1616
subtitle field), but the subtitle is often so long that it may cause problems with
1717
certain audio players, such as Rockbox players. These are disabled by default.
1818

19-
This extension can optionally embed coverart - note that the coverart will not be
20-
standardized in any way, so Rockbox users be wary. This is disabled by default.
19+
This extension can optionally embed coverart - art can either be the channel artwork
20+
or episode-specific artwork already embedded in the file. By default, the episode
21+
artwork will be preferred if it is present - if not, the channel artwork will be used.
22+
23+
Note that episode-specific artwork in MP4 files is currently not implemented.
24+
25+
The artwork can optionally be normalized to the desired parameters - size and file type.
26+
By default, it will write 500px x 500px baseline JPEGs.
2127

2228
This extension can optionally remove all tags instead of doing any of the above.
2329
This is disabled by default.
2430

2531
## Dependencies
2632

27-
This extension requires python module `mutagen`.
33+
This extension requires python modules `mutagen` and `pillow`.
2834

2935
| setting | value | description | version |
3036
|----------------------------------------------|------------|-------------------------------------------------------------------------------------------|-------------------|
3137
| extensions.tagging.strip\_album\_from\_title | **true**/false | Remove the Album tag from the Title tag if the Title begins with the same string as the Album tag | all |
3238
| extensions.tagging.genre\_tag | Podcast | Value for the Genre tag | all |
3339
| extensions.tagging.always\_remove\_tags | true/**false** | Remove all tags instead of creating/adding tag information | 3.5.0 and newer |
34-
| extensions.tagging.auto\_embed\_coverart | true/**false** | Embed channel cover art in file | git master branch |
3540
| extensions.tagging.set\_artist\_to\_album | **True**/False | Set the Artist tag to the same as the existing Album tag | git master branch |
3641
| extensions.tagging.set\_version | 4 | Sets the id3 version which will be written | git master branch |
3742
| extensions.tagging.modify\_tags | **True**/False | Allow tags to be modified rather than simply added. If set to False, remove\_before\_modify has no effect | git master branch |
3843
| extensions.tagging.remove\_before\_modify | **True**/False | Delete all existing tags prior to writing new tags | git master branch |
44+
| extensions.tagging.embed\_coverart | true/**false** | Embed cover art in file | git master branch |
45+
| extensions.tagging.prefer\_channel\_coverart | true/**false** | Prefer embedding the channel coverart if available over the episode coverart | git master branch |
46+
| extensions.tagging.normalize\_coverart | **true**/false | Normalize the coverart to the desired size and file type before embedding it | git master branch |
47+
| extensions.tagging.episode\_coverart\_size | 500 | Desired size (in pixels) of coverart. Only used if normalize\_coverart is True | git master branch |
48+
| extensions.tagging.episode\_coverart\_filetype | 0 (JPEG) | Desired filetype of coverart. integer value, maps to 0=JPEG, 1=PNG. Only used if normalize\_coverart is True | git master branch |
3949
| extensions.tagging.write\_title | **True**/False | Write the title field | git master branch |
4050
| extensions.tagging.write\_album | **True**/False | Write the album field | git master branch |
4151
| extensions.tagging.write\_subtitle | True/**False** | Write the subtitle field | git master branch |

0 commit comments

Comments
 (0)