summaryrefslogtreecommitdiffstats
path: root/lib/class/stream_playlist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/stream_playlist.class.php')
-rw-r--r--lib/class/stream_playlist.class.php9
1 files changed, 5 insertions, 4 deletions
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 "<ENTRY>\n";
- echo '<TITLE>' . $url->title . "</TITLE>\n";
- echo '<AUTHOR>' . $url->author . "</AUTHOR>\n";
+ echo '<TITLE>' . scrub_out($url->title) . "</TITLE>\n";
+ echo '<AUTHOR>' . scrub_out($url->author) . "</AUTHOR>\n";
+ //FIXME: duration looks hacky and wrong
echo "\t\t" . '<DURATION VALUE="00:00:' . $url->time . '" />' . "\n";
- echo "\t\t" . '<PARAM NAME="Album" Value="' . $url->album . '" />' . "\n";
- echo "\t\t" . '<PARAM NAME="Composer" Value="' . $url->author . '" />' . "\n";
+ echo "\t\t" . '<PARAM NAME="Album" Value="' . scrub_out($url->album) . '" />' . "\n";
+ echo "\t\t" . '<PARAM NAME="Composer" Value="' . scrub_out($url->author) . '" />' . "\n";
echo "\t\t" . '<PARAM NAME="Prebuffer" Value="false" />' . "\n";
echo '<REF HREF = "' . $url->url . '" />' . "\n";
echo "</ENTRY>\n";