[db] Add song_length to group info (fixes #265)

This commit is contained in:
ejurgensen
2016-06-11 23:10:13 +02:00
parent 547783d008
commit a99d1b2038
3 changed files with 12 additions and 9 deletions

View File

@@ -245,6 +245,7 @@ struct group_info {
uint32_t groupalbumcount; /* number of albums (agac) */
char *songalbumartist; /* song album artist (asaa) */
uint64_t songartistid; /* song artist id (asri) */
uint32_t song_length;
};
#define gri_offsetof(field) offsetof(struct group_info, field)
@@ -258,6 +259,7 @@ struct db_group_info {
char *groupalbumcount;
char *songalbumartist;
char *songartistid;
char *song_length;
};
#define dbgri_offsetof(field) offsetof(struct db_group_info, field)