Skip to content

Commit

Permalink
Recognize artist/album sort keys from ffmpeg plugin (cmus#1165)
Browse files Browse the repository at this point in the history
These values are experimental. I've no explanation for why "TSO2" is
used rather than something like "album-artist-sort".

This is particularly relevant for mp4/m4a as the mp4 input plugin is
currently broken/disabled on many platforms.

Fixes cmus#1164.
  • Loading branch information
gavtroy authored Oct 20, 2022
1 parent f9fe4d4 commit 24c03a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions comment.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,14 @@ static struct {
{ "sourcemedia", "media" },
{ "MusicBrainz Track Id", "musicbrainz_trackid" },
{ "version", "subtitle" },
/* ffmpeg id3 */
{ "artist-sort", "artistsort" },
{ "TSO2", "albumartistsort" },
{ "album-sort", "albumsort" },
/* ffmpeg mp4 */
{ "sort_artist", "artistsort" },
{ "sort_album_artist", "albumartistsort" },
{ "sort_album", "albumsort" },
{ NULL, NULL }
};

Expand Down

0 comments on commit 24c03a4

Please sign in to comment.