From 57113b202b4849f1cb140e4e68e42565020e7488 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 6 Feb 2016 18:41:53 +0000 Subject: [PATCH] Fix experimental warnings --- lib/App/XMMS2/Notifier.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/XMMS2/Notifier.pm b/lib/App/XMMS2/Notifier.pm index 3ce6645..76c3521 100644 --- a/lib/App/XMMS2/Notifier.pm +++ b/lib/App/XMMS2/Notifier.pm @@ -31,7 +31,7 @@ sub notify{ $minfo=$xmms->medialib_get_info($id)->wait->value; } or return; - my %metadata = map { $_ => exists $minfo->{$_} ? (values $minfo->{$_})[0] : undef } CONVERSION_SPECIFIERS; + my %metadata = map { $_ => exists $minfo->{$_} ? (values %{$minfo->{$_}})[0] : undef } CONVERSION_SPECIFIERS; my $str=$format; $str =~ s/\$$_/$metadata{$_}/g for keys %metadata; -- 2.30.2