summaryrefslogtreecommitdiff
path: root/libjuicer
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2012-05-13 13:13:27 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-16 11:41:54 +0200
commit26510bfee8a5c19d30b14cf042fccf8645fc9c0a (patch)
treea64b36a6a65af9cb5257db57a9e5f048729f4a71 /libjuicer
parentd09c4b6b03d3630351f3c1139d61b551062522b8 (diff)
Add composer sortname to album data
https://bugzilla.gnome.org/show_bug.cgi?id=661646
Diffstat (limited to 'libjuicer')
-rw-r--r--libjuicer/sj-structures.c1
-rw-r--r--libjuicer/sj-structures.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libjuicer/sj-structures.c b/libjuicer/sj-structures.c
index 44f38bc..89fe77e 100644
--- a/libjuicer/sj-structures.c
+++ b/libjuicer/sj-structures.c
@@ -50,6 +50,7 @@ void album_details_free(AlbumDetails *album)
g_free (album->title);
g_free (album->artist);
g_free (album->composer);
+ g_free (album->composer_sortname);
g_free (album->genre);
g_free (album->album_id);
if (album->release_date) g_date_free (album->release_date);
diff --git a/libjuicer/sj-structures.h b/libjuicer/sj-structures.h
index 4364387..a611521 100644
--- a/libjuicer/sj-structures.h
+++ b/libjuicer/sj-structures.h
@@ -59,6 +59,7 @@ struct _AlbumDetails {
char* artist;
char* artist_sortname;
char* composer;
+ char* composer_sortname;
char *genre;
int number; /* number of tracks in the album */
int disc_number;