From 0b4e767c336c0387c27b177b4dcec8f216911182 Mon Sep 17 00:00:00 2001 From: pb1dft Date: Tue, 26 Sep 2006 17:49:23 +0000 Subject: Fixed a minor bug in XSPF Playlists --- lib/class/stream.class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php index f1500a35..73892615 100644 --- a/lib/class/stream.class.php +++ b/lib/class/stream.class.php @@ -188,25 +188,25 @@ class Stream { echo "\n"; echo "\n"; echo " Ampache XSPF Playlist\n"; - echo " " . htmlspecialchars(conf('site_title')) . "\n"; - echo " " . htmlspecialchars(conf('site_title')) . "\n"; + echo " " . conf('site_title') . "\n"; + echo " " . conf('site_title') . "\n"; echo " ". conf('web_path') ."\n"; echo " \n\n\n\n"; foreach ($this->songs as $song_id) { $song = new Song($song_id); $song->format_song(); - $url = htmlspecialchars($song->get_url()); + $url = $song->get_url(); $song_name = $song->f_artist_full . " - " . $song->title . "." . $song->type; echo " \n"; echo " $url\n"; echo " $url\n"; - echo " " . htmlspecialchars($song->title) . "\n"; - echo " " . htmlspecialchars($song->f_artist_full) . "\n"; + echo " " . $song->title . "\n"; + echo " " . $song->f_artist_full . "\n"; echo " \n"; - echo " " . conf('web_path') . htmlspecialchars("/albums.php?action=show&album=") . htmlspecialchars($song->album) . ""; - echo " " . conf('web_path') . "/albumart.php?id=" . htmlspecialchars($song->album) . htmlspecialchars("&thumb=2") . "\n"; - echo " " . htmlspecialchars($song->f_album_full) . "\n"; + echo " " . conf('web_path') . "/albums.php?action=show&album=" . $song->album . "\n"; + echo " " . conf('web_path') . "/albumart.php?id=" . $song->album . "&thumb=2" . "\n"; + echo " " . $song->f_album_full . "\n"; echo " " . $song->time . "\n"; echo " \n\n\n"; } // end foreach -- cgit