Skip to content

Commit 27d66d4

Browse files
authored
Change zero documentation mentions of genre to genres (#5486)
I've spent 2 hours troubleshooting why none of my music had genre tag. It was because the single `genre`, without `s` doesn't seem to cover any good ganre tags... at least it didn't on my opus files looking at the code: https://github.com/beetbox/mediafile/blob/7ecd86101ec3344e7fb25bbf781cd7f86646aa9d/mediafile.py#L1669-L2167 i don't honestly know why anyone created the single `ganre` field in the first place
2 parents 242d0e8 + f7a34f1 commit 27d66d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/plugins/zero.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ fields to nullify and the conditions for nullifying them:
3636
For example::
3737

3838
zero:
39-
fields: month day genre comments
39+
fields: month day genre genres comments
4040
comments: [EAC, LAME, from.+collection, 'ripped by']
4141
genre: [rnb, 'power metal']
42+
genres: [rnb, 'power metal']
4243
update_database: true
4344

4445
If a custom pattern is not defined for a given field, the field will be nulled
@@ -60,4 +61,4 @@ art from files' tags unless you tell it not to. To keep the album art, include
6061
the special field ``images`` in the list. For example::
6162

6263
zero:
63-
keep_fields: title artist album year track genre images
64+
keep_fields: title artist album year track genre genres images

0 commit comments

Comments
 (0)