aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2015-04-21 11:21:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2015-04-21 11:21:55 +0200
commit53787fc71e98f49cdae4fa8ceddc7b2182649abc (patch)
treea149c25cc8887cd13c0d7f0e7388b01ef0a05578 /mpd-notification.h
parent5d06cc4834d3bf7b1431973617aaea5cc0c9498a (diff)
downloadmpd-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.h6
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);