summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
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);