mirror of
https://github.com/koel/koel
synced 2024-11-28 15:00:42 +00:00
Fix length
This commit is contained in:
parent
e317d2d955
commit
21567032ab
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ class PHPStreamer extends BaseStreamer implements StreamerInterface
|
||||||
$length = $end - $start + 1;
|
$length = $end - $start + 1;
|
||||||
} else {
|
} else {
|
||||||
// No range requested
|
// No range requested
|
||||||
|
$length = filesize($this->song->path);
|
||||||
$partial = false;
|
$partial = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue