summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index a68223c8..0b94a0b6 100644
--- a/play/index.php
+++ b/play/index.php
@@ -338,7 +338,7 @@ if (get_class($media) == 'Song') {
Stream::insert_now_playing($media->id,$uid,$media->time,$sid,get_class($media));
}
-if ($start > 0) {
+if ($start > 0 || $end > 0 ) {
// Calculate stream size from byte range
if(isset($end)) {