mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[library] Add missing attribute mapping from mfi to queue item
This commit is contained in:
parent
e31fea6c44
commit
888710612c
@ -511,6 +511,14 @@ library_add_queue_item(struct media_file_info *mfi)
|
||||
queue_item.virtual_path = mfi->virtual_path;
|
||||
queue_item.data_kind = mfi->data_kind;
|
||||
queue_item.media_kind = mfi->media_kind;
|
||||
queue_item.song_length = mfi->song_length;
|
||||
queue_item.seek = mfi->seek;
|
||||
queue_item.songalbumid = mfi->songalbumid;
|
||||
queue_item.time_modified = mfi->time_modified;
|
||||
queue_item.year = mfi->year;
|
||||
queue_item.track = mfi->track;
|
||||
queue_item.disc = mfi->disc;
|
||||
//queue_item.artwork_url
|
||||
|
||||
return db_queue_add_item(&queue_item, 0, 0);
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ int
|
||||
library_scan_media(const char *path, struct media_file_info *mfi);
|
||||
|
||||
int
|
||||
library_add_queue_item(struct media_file_info* mfi);
|
||||
library_add_queue_item(struct media_file_info *mfi);
|
||||
|
||||
void
|
||||
library_rescan();
|
||||
|
Loading…
x
Reference in New Issue
Block a user