[db] Add fields time_added, time_played, seek to group object

This commit is contained in:
chme
2020-08-30 09:06:28 +02:00
parent 382467eb9c
commit a74a3e5add
2 changed files with 24 additions and 2 deletions

View File

@@ -301,6 +301,9 @@ struct group_info {
uint32_t media_kind;
uint32_t year;
uint32_t date_released;
uint32_t time_added;
uint32_t time_played;
uint32_t seek;
};
#define gri_offsetof(field) offsetof(struct group_info, field)
@@ -319,6 +322,9 @@ struct db_group_info {
char *media_kind;
char *year;
char *date_released;
char *time_added;
char *time_played;
char *seek;
};
#define dbgri_offsetof(field) offsetof(struct db_group_info, field)