summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-31 07:48:02 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-31 07:48:02 +0000
commitfcfa466f4a82791ec47fb707520f6c251812df3c (patch)
tree5b639a1c73640ef69d4dd5dc59c51402d30b2b95 /lib/class/stream.class.php
parent5a923b14c919e4c0a8ae5577df93b860526aa052 (diff)
downloadampache-fcfa466f4a82791ec47fb707520f6c251812df3c.tar.gz
ampache-fcfa466f4a82791ec47fb707520f6c251812df3c.tar.bz2
ampache-fcfa466f4a82791ec47fb707520f6c251812df3c.zip
sync to trunk
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index dece1a7b..b68aaef2 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -386,7 +386,7 @@ class Stream {
$xml['track']['info'] = Config::get('web_path') . "/albums.php?action=show&album=" . $song->album;
$xml['track']['image'] = Config::get('web_path') . "/image.php?id=" . $song->album . "&thumb=3&sid=" . session_id();
$xml['track']['album'] = $song->f_album_full;
- $xml['track']['duration'] = $song->time;
+ $xml['track']['duration'] = $song->time * 1000;
$result .= xml_from_array($xml,1,'xspf');
} // end foreach