Skip to content

Commit a602f02

Browse files
authored
Add id3 TSO2 tag to albumartist_sort (#91)
This tag is a non-standard tag used by iTunes, Apple Music, and Swinsian (at least) in preference of the User Frame ALBUMARTISTSORT. By adding this I'm able to get beets to update the Album Artist Sort in Swinsian. Thanks to James Bruton who develops Swinsian for the help diagnosing why my fields weren't changing in Swinsian! I believe this fixes #90.
2 parents 0a5bd44 + 988d471 commit a602f02

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ v1.0.0
2020
workflow for automatic changelog reminders.
2121
- Modernized package and tests setup to use ``poetry``.
2222
- Run pyupgrade to align code with Python 3.10+ syntax.
23+
- Added TSO2 tag to ``albumartist_sort``, matching how Picard >= 1.2, iTunes and
24+
Swinsian interpret tags.
2325

2426
v0.13.0
2527
-------

mediafile/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ def as_dict(self):
510510
ASFStorageStyle("WM/ArtistSortOrder"),
511511
)
512512
albumartist_sort = MediaField(
513+
MP3StorageStyle("TSO2"),
513514
MP3DescStorageStyle("ALBUMARTISTSORT"),
514515
MP4StorageStyle("soaa"),
515516
StorageStyle("ALBUMARTISTSORT"),

0 commit comments

Comments
 (0)