Add sort tags to the database

This commit is contained in:
Kai Elwert
2010-09-21 13:16:38 +02:00
committed by Julien BLACHE
parent 3a71d7b15d
commit 373c5584af
2 changed files with 67 additions and 7 deletions

View File

@@ -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)