From 2c1a94c734146aa9a851e5f4d226ca75fe960e86 Mon Sep 17 00:00:00 2001 From: Daku Date: Fri, 27 Jan 2012 05:42:46 +0000 Subject: [PATCH] xspf_player now uses filename as song title --- contrib/handle_mp3/theme.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/handle_mp3/theme.php b/contrib/handle_mp3/theme.php index 7844f595..0239b522 100644 --- a/contrib/handle_mp3/theme.php +++ b/contrib/handle_mp3/theme.php @@ -4,13 +4,14 @@ class MP3FileHandlerTheme extends Themelet { public function display_image(Page $page, Image $image) { $data_href = get_base_href(); $ilink = $image->get_image_link(); + $fname = $image->filename; //Most of the time this will be the title/artist of the song. $html = " -