diff options
author | Christian Hesse <mail@eworm.de> | 2015-04-21 11:21:55 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2015-04-21 11:21:55 +0200 |
commit | 53787fc71e98f49cdae4fa8ceddc7b2182649abc (patch) | |
tree | a149c25cc8887cd13c0d7f0e7388b01ef0a05578 /mpd-notification.h | |
parent | 5d06cc4834d3bf7b1431973617aaea5cc0c9498a (diff) | |
download | mpd-notification-53787fc71e98f49cdae4fa8ceddc7b2182649abc.tar.gz mpd-notification-53787fc71e98f49cdae4fa8ceddc7b2182649abc.tar.zst |
use libav/ffmpeg to get artwork from mp3 files
Diffstat (limited to 'mpd-notification.h')
-rw-r--r-- | mpd-notification.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mpd-notification.h b/mpd-notification.h index 29cf0f2..c991fd1 100644 --- a/mpd-notification.h +++ b/mpd-notification.h @@ -14,6 +14,9 @@ #include <libnotify/notify.h> +#include <libavcodec/avcodec.h> +#include <libavformat/avformat.h> + #include <stdio.h> #include <unistd.h> #include <stdlib.h> @@ -30,6 +33,9 @@ /*** received_signal ***/ void received_signal(int signal); +/*** retrieve_album_art ***/ +char * retrieve_album_art(const char *path); + /*** get_icon ***/ char * get_icon(const char * music_dir, const char * uri); |