summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-29 17:38:46 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-08-29 17:38:46 +0000
commit2a247178325017c88ab9073e96ea92e6b122ed53 (patch)
treec3af26bf274275e4f9c7c0339056f488a365825e /play/index.php
parent36b9eb93b2e3548339fe1c0a825f9d8a82486a64 (diff)
downloadampache-2a247178325017c88ab9073e96ea92e6b122ed53.tar.gz
ampache-2a247178325017c88ab9073e96ea92e6b122ed53.tar.bz2
ampache-2a247178325017c88ab9073e96ea92e6b122ed53.zip
only do the seek stuff if the start has a positive value
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 41360973..2e1baad4 100644
--- a/play/index.php
+++ b/play/index.php
@@ -306,7 +306,7 @@ else {
// Put this song in the now_playing table
Stream::insert_now_playing($song->id,$uid,$song->time,$sid);
-if (isset($start)) {
+if ($start > 0) {
// Calculate stream size from byte range
if(isset($end)) {