[db] add review 'flag' column to files/queue tbls

This commit is contained in:
whatdoineed2do/Ray
2021-09-05 16:36:02 +01:00
parent 29cd5a7a19
commit 4dcc9b602e
5 changed files with 36 additions and 3 deletions

View File

@@ -198,6 +198,7 @@ struct media_file_info {
uint32_t time_skipped;
int64_t disabled; // Long because it stores up to INOTIFY_FAKE_COOKIE
uint32_t flag;
uint64_t sample_count; //TODO [unused] sample count is never set and therefor always 0
char *codectype; /* song.codectype, 4 chars max (32 bits) */
@@ -393,6 +394,7 @@ struct db_media_file_info {
char *album_artist_sort;
char *composer_sort;
char *channels;
char *flag;
};
#define dbmfi_offsetof(field) offsetof(struct db_media_file_info, field)
@@ -502,6 +504,8 @@ struct db_queue_item {
int64_t songartistid;
uint32_t flag;
/* Not saved in queue table */
uint32_t seek;
};