summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-21 04:41:50 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-09-21 04:41:50 +0000
commit1c18d1528aa5b8f7e659134db4e946af356003d9 (patch)
tree5b1e3b1afdbf2c74ffbbf591fabe407238dcae7f /play/index.php
parentf2f1b71657e95b46a0aaa5c85c3a91f715fc1b80 (diff)
downloadampache-1c18d1528aa5b8f7e659134db4e946af356003d9.tar.gz
ampache-1c18d1528aa5b8f7e659134db4e946af356003d9.tar.bz2
ampache-1c18d1528aa5b8f7e659134db4e946af356003d9.zip
fixed some wmp snafus
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/play/index.php b/play/index.php
index 8d41c88a..4fdaec74 100644
--- a/play/index.php
+++ b/play/index.php
@@ -200,7 +200,6 @@ else {
// Generate browser class for sending headers
$browser = new Browser();
header("Accept-Ranges: bytes" );
- header("Content-Length: " . $song->size);
// Prevent the script from timing out
set_time_limit(0);
@@ -241,7 +240,7 @@ else {
}
/* Set the Song as Played if it isn't already */
- $song->update_played();
+ $song->set_played();
/* Delete the Now Playing Entry */
delete_now_playing($lastid);