mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 03:56:21 -05:00
[db] add 'channels' to file/queue tbl
This commit is contained in:
3
src/db.h
3
src/db.h
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user