mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-29 05:19:05 -05:00
Artwork support for iTunes 11 (credit @torta) and related improvements
This commit is contained in:
@@ -64,6 +64,7 @@ static const struct dmap_field_map dfm_dmap_adbs = { -1,
|
||||
static const struct dmap_field_map dfm_dmap_asal = { dbmfi_offsetof(album), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asai = { dbmfi_offsetof(songalbumid), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asaa = { dbmfi_offsetof(album_artist), -1, dbgri_offsetof(songalbumartist) };
|
||||
static const struct dmap_field_map dfm_dmap_asac = { -1, -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asar = { dbmfi_offsetof(artist), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asri = { dbmfi_offsetof(songartistid), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asbt = { dbmfi_offsetof(bpm), -1, -1 };
|
||||
@@ -76,6 +77,7 @@ static const struct dmap_field_map dfm_dmap_asdm = { dbmfi_offsetof(time_modifie
|
||||
static const struct dmap_field_map dfm_dmap_asdc = { dbmfi_offsetof(total_discs), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asdn = { dbmfi_offsetof(disc), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asdb = { dbmfi_offsetof(disabled), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_ased = { -1, -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_aseq = { -1, -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asfm = { dbmfi_offsetof(type), -1, -1 };
|
||||
static const struct dmap_field_map dfm_dmap_asgn = { dbmfi_offsetof(genre), -1, -1 };
|
||||
@@ -175,6 +177,7 @@ struct dmap_field;
|
||||
"daap.resolveinfo", "arif", &dfm_dmap_arif, DMAP_TYPE_LIST
|
||||
"daap.resolve", "arsv", &dfm_dmap_arsv, DMAP_TYPE_LIST
|
||||
"daap.songalbumartist", "asaa", &dfm_dmap_asaa, DMAP_TYPE_STRING
|
||||
"daap.songartworkcount", "asac", &dfm_dmap_asac, DMAP_TYPE_USHORT
|
||||
"daap.songalbumid", "asai", &dfm_dmap_asai, DMAP_TYPE_ULONG
|
||||
"daap.songalbum", "asal", &dfm_dmap_asal, DMAP_TYPE_STRING
|
||||
"daap.songartist", "asar", &dfm_dmap_asar, DMAP_TYPE_STRING
|
||||
@@ -196,6 +199,7 @@ struct dmap_field;
|
||||
"daap.songdatemodified", "asdm", &dfm_dmap_asdm, DMAP_TYPE_DATE
|
||||
"daap.songdiscnumber", "asdn", &dfm_dmap_asdn, DMAP_TYPE_USHORT
|
||||
"daap.songdescription", "asdt", &dfm_dmap_asdt, DMAP_TYPE_STRING
|
||||
"daap.songextradata", "ased", &dfm_dmap_ased, DMAP_TYPE_USHORT
|
||||
"daap.songeqpreset", "aseq", &dfm_dmap_aseq, DMAP_TYPE_STRING
|
||||
"daap.songformat", "asfm", &dfm_dmap_asfm, DMAP_TYPE_STRING
|
||||
"daap.songgenre", "asgn", &dfm_dmap_asgn, DMAP_TYPE_STRING
|
||||
@@ -293,7 +297,6 @@ struct dmap_field;
|
||||
"daap.songbookmark", "asbo", &dfm_dmap_asbo, DMAP_TYPE_UINT
|
||||
"daap.songdatepurchased", "asdp", &dfm_dmap_asdp, DMAP_TYPE_DATE
|
||||
"daap.songdatereleased", "asdr", &dfm_dmap_asdr, DMAP_TYPE_DATE
|
||||
"daap.songextradata", "ased", &dfm_dmap_ased, DMAP_TYPE_USHORT
|
||||
"daap.songgapless", "asgp", &dfm_dmap_asgp, DMAP_TYPE_UBYTE
|
||||
"daap.songhasbeenplayed", "ashp", &dfm_dmap_ashp, DMAP_TYPE_UBYTE
|
||||
"daap.songlongsize", "asls", &dfm_dmap_asls, DMAP_TYPE_ULONG
|
||||
|
||||
Reference in New Issue
Block a user