From d2f3ef1ab980e20a2c82663e5b3d1ed96ed8fad1 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Tue, 4 Jun 2013 12:08:08 -0400 Subject: Scrub output fields in ASX playlists Closes GH #35 --- lib/class/stream_playlist.class.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/class') diff --git a/lib/class/stream_playlist.class.php b/lib/class/stream_playlist.class.php index 471188e9..e0d2e39e 100644 --- a/lib/class/stream_playlist.class.php +++ b/lib/class/stream_playlist.class.php @@ -292,11 +292,12 @@ class Stream_Playlist { foreach ($this->urls as $url) { echo "\n"; - echo '' . $url->title . "\n"; - echo '' . $url->author . "\n"; + echo '' . scrub_out($url->title) . "\n"; + echo '' . scrub_out($url->author) . "\n"; + //FIXME: duration looks hacky and wrong echo "\t\t" . '' . "\n"; - echo "\t\t" . '' . "\n"; - echo "\t\t" . '' . "\n"; + echo "\t\t" . '' . "\n"; + echo "\t\t" . '' . "\n"; echo "\t\t" . '' . "\n"; echo '' . "\n"; echo "\n"; -- cgit