mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-24 19:46:19 -05:00
[db] Add fields time_added, time_played, seek to group object
This commit is contained in:
6
src/db.h
6
src/db.h
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user