Merge pull request #628 from chme/artwork

[jsonapi] Artwork url for non library items and streams
This commit is contained in:
ejurgensen
2018-11-30 10:12:41 +01:00
committed by GitHub
8 changed files with 86 additions and 15 deletions

View File

@@ -894,7 +894,7 @@ raop_metadata_prepare(int id)
goto skip_artwork;
}
ret = artwork_get_item(rmd->artwork, queue_item->file_id, 600, 600);
ret = artwork_get_item(rmd->artwork, queue_item->file_id, ART_DEFAULT_WIDTH, ART_DEFAULT_HEIGHT);
if (ret < 0)
{
DPRINTF(E_INFO, L_RAOP, "Failed to retrieve artwork for file id %d; no artwork will be sent\n", id);