[db] add 'channels' to file/queue tbl

This commit is contained in:
whatdoineed2do/Ray
2019-06-07 09:53:37 +01:00
parent c796db251d
commit b126a2fbc0
4 changed files with 23 additions and 8 deletions

View File

@@ -163,6 +163,7 @@ struct media_file_info {
uint32_t bitrate;
uint32_t samplerate;
uint32_t channels;
uint32_t song_length;
int64_t file_size;
uint32_t year; /* TDRC */
@@ -367,6 +368,7 @@ struct db_media_file_info {
char *album_sort;
char *album_artist_sort;
char *composer_sort;
char *channels;
};
#define dbmfi_offsetof(field) offsetof(struct db_media_file_info, field)
@@ -472,6 +474,7 @@ struct db_queue_item {
char *type;
uint32_t bitrate;
uint32_t samplerate;
uint32_t channels;
int64_t songartistid;