mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 12:06:12 -05:00
Add sort tags to the database
This commit is contained in:
committed by
Julien BLACHE
parent
3a71d7b15d
commit
373c5584af
11
src/db.h
11
src/db.h
@@ -129,6 +129,12 @@ struct media_file_info {
|
||||
char *album_artist;
|
||||
|
||||
int64_t songalbumid;
|
||||
|
||||
char *title_sort;
|
||||
char *artist_sort;
|
||||
char *album_sort;
|
||||
char *composer_sort;
|
||||
char *album_artist_sort;
|
||||
};
|
||||
|
||||
#define mfi_offsetof(field) offsetof(struct media_file_info, field)
|
||||
@@ -239,6 +245,11 @@ struct db_media_file_info {
|
||||
char *tv_episode_num_str;
|
||||
char *tv_network_name;
|
||||
char *songalbumid;
|
||||
char *title_sort;
|
||||
char *artist_sort;
|
||||
char *album_sort;
|
||||
char *composer_sort;
|
||||
char *album_artist_sort;
|
||||
};
|
||||
|
||||
#define dbmfi_offsetof(field) offsetof(struct db_media_file_info, field)
|
||||
|
||||
Reference in New Issue
Block a user