Skip to content

Commit 4ed2961

Browse files
committed
Add id3 TSO2 tag to albumartist_sort
This tag is a non-standard tag used by iTunes, Apple Music, MusicBrainz Picard, and Swinsian (at least) in preference of the User Frame ALBUMARTISTSORT. See the Picard Tag Mapping documentation at https://picard-docs.musicbrainz.org/downloads/MusicBrainz_Picard_Tag_Map.html 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, and pointing me at the Picard documentation showing its preference for TSO2. # Conflicts: # docs/changelog.rst # mediafile.py
1 parent 4262c46 commit 4ed2961

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
@@ -14,6 +14,8 @@ v1.0.0
1414
- Moved changelog into its own file, ``changelog.rst``. Also added github
1515
workflow for automatic changelog reminders.
1616
- Modernized package and tests setup to use ``poetry``.
17+
- Added TSO2 tag to ``albumartist_sort``, matching how Picard >= 1.2, iTunes and
18+
Swinsian interpret tags.
1719

1820
v0.13.0
1921
-------

mediafile/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ def as_dict(self):
514514
ASFStorageStyle("WM/ArtistSortOrder"),
515515
)
516516
albumartist_sort = MediaField(
517+
MP3StorageStyle("TSO2"),
517518
MP3DescStorageStyle("ALBUMARTISTSORT"),
518519
MP4StorageStyle("soaa"),
519520
StorageStyle("ALBUMARTISTSORT"),

0 commit comments

Comments
 (0)