mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-30 05:41:03 -05:00
Use enum values for data_kind and media_kind
This commit is contained in:
@@ -1106,7 +1106,7 @@ artwork_get_item_mfi(struct evbuffer *evbuf, struct media_file_info *mfi, int ma
|
||||
return format;
|
||||
}
|
||||
|
||||
if (mfi->data_kind == 0)
|
||||
if (mfi->data_kind == DATA_KIND_FILE)
|
||||
{
|
||||
format = artwork_get_item_path(evbuf, mfi->path, mfi->artwork, max_w, max_h, path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user