mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[jsonapi] Add "comment" field to track object
This commit is contained in:
parent
467b169210
commit
44c24cee0f
@ -292,6 +292,7 @@ track_to_json(struct db_media_file_info *dbmfi)
|
||||
safe_json_add_string(item, "album_artist_id", dbmfi->songartistid);
|
||||
safe_json_add_string(item, "composer", dbmfi->composer);
|
||||
safe_json_add_string(item, "genre", dbmfi->genre);
|
||||
safe_json_add_string(item, "comment", dbmfi->comment);
|
||||
safe_json_add_int_from_string(item, "year", dbmfi->year);
|
||||
safe_json_add_int_from_string(item, "track_number", dbmfi->track);
|
||||
safe_json_add_int_from_string(item, "disc_number", dbmfi->disc);
|
||||
|
Loading…
Reference in New Issue
Block a user