mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[db] Add song_length to group info (fixes #265)
This commit is contained in:
2
src/db.h
2
src/db.h
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user