diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-28 18:13:48 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-28 18:13:48 +0000 |
commit | dbdd96ed1b3b00a850be001f3dbeea3273739a98 (patch) | |
tree | ccd23afffb6a4c2dc185bd6ffc39e13435fc1179 /lib/ui.lib.php | |
parent | 3a3e0c6a9f72d5031a4025dedcf2360c497c4953 (diff) | |
download | ampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.tar.gz ampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.tar.bz2 ampache-dbdd96ed1b3b00a850be001f3dbeea3273739a98.zip |
unify how the stream is constructed and played, this is a major change might be some regressions
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 1c2c480e..3af00f8d 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -865,12 +865,13 @@ function xml_get_header($type){ break; case 'xspf': $header = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n" . - "<playlist version = \"1\" xmlns=\"http://xspf.org/ns/0/\">\n ". - "<title>Ampache XSPF Playlist</title>\n" . - "<creator>" . Config::get('site_title') . "</creator>\n" . - "<annotation>" . Config::get('site_title') . "</annotation>\n" . - "<info>". Config::get('web_path') ."</info>\n" . - "<trackList>\n\n\n\n"; + "<!-- XML Generated by Ampache v." . Config::get('version') . " -->"; + "<playlist version = \"1\" xmlns=\"http://xspf.org/ns/0/\">\n ". + "<title>Ampache XSPF Playlist</title>\n" . + "<creator>" . Config::get('site_title') . "</creator>\n" . + "<annotation>" . Config::get('site_title') . "</annotation>\n" . + "<info>". Config::get('web_path') ."</info>\n" . + "<trackList>\n\n\n\n"; return $header; break; default: |