Skip to content

Commit

Permalink
feat: use txx_series-part instead of txx_seriesposition tag for mp3 f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
Neurrone committed Apr 26, 2022
1 parent 616bad0 commit 0c50320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion audible.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self):
self.add_media_field('series_name', series_name)
series_position = mediafile.MediaField(
mediafile.MP3StorageStyle(u'MVIN'),
mediafile.MP3DescStorageStyle(u'SERIESPOSITION'),
mediafile.MP3DescStorageStyle(u'SERIES-PART'),
# Using the "mvi" tag for M4b wouldn't work when the value can't be converted to an integer
# For instance, an m4b containing multiple books has series position "1-3"
# Trying to do so would cause an exception, hence why this is commented out here
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ The plugin writes the following tags:
| `MVNM` (MOVEMENTNAME) | Series |
| `MVIN` / `MVI` for m4b files (MOVEMENT) | Series Book # |
| `TXXX_SERIES` (SERIES) | Series |
| `TXXX_SERIESPART` | Series position |
| `TXXX_SERIES-PART` | Series position |
## Known Limitations
Expand Down

0 comments on commit 0c50320

Please sign in to comment.