mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
Avoid Content Range requests on democratic stream
This commit is contained in:
parent
9d8f57d16d
commit
2766e0e32e
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ if ($start > 0 || $end > 0) {
|
||||||
debug_event('play','Starting stream of ' . $media->file . ' with size ' . $media->size, 5);
|
debug_event('play','Starting stream of ' . $media->file . ' with size ' . $media->size, 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($transcode) {
|
if ($transcode || $demo_id) {
|
||||||
header('Accept-Ranges: none');
|
header('Accept-Ranges: none');
|
||||||
} else {
|
} else {
|
||||||
header('Accept-Ranges: bytes');
|
header('Accept-Ranges: bytes');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue