summaryrefslogtreecommitdiff
path: root/metadata_hub.h
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2018-04-08 15:36:05 +0100
committerMike Brady <mikebrady@eircom.net>2018-04-08 15:36:05 +0100
commit08a7d4ffb554e150e789b51c0ede49760aa9f924 (patch)
tree759509c102203782025bccf1dc9a8338852c0b12 /metadata_hub.h
parent1c437f1aab50d206fbd54505760f5e6ae7acfd55 (diff)
Use snprintf in place of sprintf.
Diffstat (limited to 'metadata_hub.h')
-rw-r--r--metadata_hub.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/metadata_hub.h b/metadata_hub.h
index 3ffc0dc..2982555 100644
--- a/metadata_hub.h
+++ b/metadata_hub.h
@@ -32,6 +32,7 @@ typedef struct track_metadata_bundle {
item_composite_id[16]; // seems to be nowplaying 4 ids: dbid, plid, playlistItem, itemid
char *track_name; // a malloced string -- if non-zero, free it before replacing it
char *artist_name; // a malloced string -- if non-zero, free it before replacing it
+ char *album_artist_name; // a malloced string -- if non-zero, free it before replacing it
char *album_name; // a malloced string -- if non-zero, free it before replacing it
char *genre; // a malloced string -- if non-zero, free it before replacing it
char *comment; // a malloced string -- if non-zero, free it before replacing it
@@ -39,7 +40,10 @@ typedef struct track_metadata_bundle {
char *file_kind; // a malloced string -- if non-zero, free it before replacing it
char *song_description; // a malloced string -- if non-zero, free it before replacing it
char *song_album_artist; // a malloced string -- if non-zero, free it before replacing it
- char *sort_as; // a malloced string -- if non-zero, free it before replacing it
+ char *sort_name; // a malloced string -- if non-zero, free it before replacing it
+ char *sort_artist; // a malloced string -- if non-zero, free it before replacing it
+ char *sort_album; // a malloced string -- if non-zero, free it before replacing it
+ char *sort_composer; // a malloced string -- if non-zero, free it before replacing it
uint32_t songtime_in_milliseconds;
} track_metadata_bundle;