On Thu, Aug 20, 2015 at 03:11:52PM +0200, Max Kellermann wrote: > On 2015/08/20 13:21, Kim Tore Jensen <[email protected]> wrote: > > Actually, yes. It'd be really useful to be able to manipulate search results > > locally in the client. For example: search within a search result with new > > sort > > parameters; re-sort a search result with new sort order; regular expression > > based searches. > > Ok, please resubmit a fixed patch and I'll merge it.
Thanks. See attached patch. Regards, Kim
From 4d5f84394c191ff228184a454bd491cf7854b8e0 Mon Sep 17 00:00:00 2001 From: Kim Tore Jensen <[email protected]> Date: Fri, 21 Aug 2015 16:51:20 +0200 Subject: [PATCH] Add support for ArtistSort and AlbumArtistSort tags --- include/mpd/tag.h | 2 ++ src/tag.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/mpd/tag.h b/include/mpd/tag.h index 48f7cfe..bd1eee7 100644 --- a/include/mpd/tag.h +++ b/include/mpd/tag.h @@ -42,8 +42,10 @@ enum mpd_tag_type MPD_TAG_UNKNOWN = -1, MPD_TAG_ARTIST, + MPD_TAG_ARTIST_SORT, MPD_TAG_ALBUM, MPD_TAG_ALBUM_ARTIST, + MPD_TAG_ALBUM_ARTIST_SORT, MPD_TAG_TITLE, MPD_TAG_TRACK, MPD_TAG_NAME, diff --git a/src/tag.c b/src/tag.c index 04fce10..1ec6dba 100644 --- a/src/tag.c +++ b/src/tag.c @@ -39,8 +39,10 @@ static const char *const mpd_tag_type_names[MPD_TAG_COUNT] = { "Artist", + "ArtistSort", "Album", "AlbumArtist", + "AlbumArtistSort", "Title", "Track", "Name", -- 1.9.1
signature.asc
Description: Digital signature
_______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
