Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
3560dc4b
Commit
3560dc4b
authored
Sep 29, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tag: support "AlbumSort"
The new tag is supported by all decoders that use the tag name table, and the ID3v2 tag "TSOA" maps to it.
parent
b002ea9a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
NEWS
NEWS
+1
-1
TagId3.cxx
src/tag/TagId3.cxx
+3
-0
TagNames.c
src/tag/TagNames.c
+1
-0
TagType.h
src/tag/TagType.h
+1
-0
No files found.
NEWS
View file @
3560dc4b
...
...
@@ -67,7 +67,7 @@ ver 0.19 (not yet released)
* configuration
- allow playlist directory without music directory
- use XDG to auto-detect "music_directory" and "db_file"
* add tag "MUSICBRAINZ_RELEASETRACKID"
* add tag
s "AlbumSort",
"MUSICBRAINZ_RELEASETRACKID"
* new resampler option using libsoxr
* ARM NEON optimizations
* install systemd unit for socket activation
...
...
src/tag/TagId3.cxx
View file @
3560dc4b
...
...
@@ -350,6 +350,9 @@ scan_id3_tag(struct id3_tag *tag,
TAG_ALBUM_ARTIST
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_ARTIST_SORT
,
TAG_ARTIST_SORT
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
"TSOA"
,
TAG_ALBUM_SORT
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_ALBUM_ARTIST_SORT
,
TAG_ALBUM_ARTIST_SORT
,
handler
,
handler_ctx
);
tag_id3_import_text
(
tag
,
ID3_FRAME_TITLE
,
TAG_TITLE
,
...
...
src/tag/TagNames.c
View file @
3560dc4b
...
...
@@ -24,6 +24,7 @@ const char *const tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
[
TAG_ARTIST
]
=
"Artist"
,
[
TAG_ARTIST_SORT
]
=
"ArtistSort"
,
[
TAG_ALBUM
]
=
"Album"
,
[
TAG_ALBUM_SORT
]
=
"AlbumSort"
,
[
TAG_ALBUM_ARTIST
]
=
"AlbumArtist"
,
[
TAG_ALBUM_ARTIST_SORT
]
=
"AlbumArtistSort"
,
[
TAG_TITLE
]
=
"Title"
,
...
...
src/tag/TagType.h
View file @
3560dc4b
...
...
@@ -38,6 +38,7 @@ enum TagType
TAG_ARTIST
,
TAG_ARTIST_SORT
,
TAG_ALBUM
,
TAG_ALBUM_SORT
,
TAG_ALBUM_ARTIST
,
TAG_ALBUM_ARTIST_SORT
,
TAG_TITLE
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment