summaryrefslogtreecommitdiff
path: root/plugins/notify
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-03-09 11:38:38 +0100
committerGravatar waker <wakeroid@gmail.com>2011-03-09 11:38:38 +0100
commit2d0b00f6bbd326790c053961ccec07106cb172c7 (patch)
treea4ffb39b2a5d1c9a80aa2ba79f885d0d20667df8 /plugins/notify
parentfb269bc2b4cbbe6b457b46588d39ace1c021e3f1 (diff)
moved most of track properties from playItem struct to metadata
implemented track properties with multiple selection
Diffstat (limited to 'plugins/notify')
-rw-r--r--plugins/notify/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/notify/notify.c b/plugins/notify/notify.c
index ea382b16..6bd42ab8 100644
--- a/plugins/notify/notify.c
+++ b/plugins/notify/notify.c
@@ -200,7 +200,7 @@ static void show_notification (DB_playItem_t *track) {
if (deadbeef->conf_get_int("notify.albumart", 0) && artwork_plugin) {
const char *album = deadbeef->pl_find_meta (track, "album");
const char *artist = deadbeef->pl_find_meta (track, "artist");
- v_iconname = artwork_plugin->get_album_art (track->fname, artist, album, deadbeef->conf_get_int ("notify.albumart_size", 64), cover_avail_callback, NULL);
+ v_iconname = artwork_plugin->get_album_art (deadbeef->pl_find_meta (track, ":URI"), artist, album, deadbeef->conf_get_int ("notify.albumart_size", 64), cover_avail_callback, NULL);
}
if (!v_iconname) {
v_iconname = strdup ("deadbeef");