mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-02 10:33:23 -05:00
23 lines
483 B
C
23 lines
483 B
C
|
|
#ifndef __ARTWORK_H__
|
|
#define __ARTWORK_H__
|
|
|
|
#define ART_FMT_PNG 1
|
|
#define ART_FMT_JPEG 2
|
|
|
|
#include <event2/buffer.h>
|
|
|
|
/* Get artwork for individual track */
|
|
int
|
|
artwork_get_item(struct evbuffer *evbuf, int id, int max_w, int max_h);
|
|
|
|
/* Get artwork for album or artist */
|
|
int
|
|
artwork_get_group(struct evbuffer *evbuf, int id, int max_w, int max_h);
|
|
|
|
/* Checks if the file is an artwork file */
|
|
int
|
|
artwork_file_is_artwork(const char *filename);
|
|
|
|
#endif /* !__ARTWORK_H__ */
|