1
0
Fork 0
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:
Afterster 2014-05-28 13:43:15 +02:00
parent 9d8f57d16d
commit 2766e0e32e

View file

@ -447,7 +447,7 @@ if ($start > 0 || $end > 0) {
debug_event('play','Starting stream of ' . $media->file . ' with size ' . $media->size, 5);
}
if ($transcode) {
if ($transcode || $demo_id) {
header('Accept-Ranges: none');
} else {
header('Accept-Ranges: bytes');