Fixes #5728 -- Don't cue requests using the "interrupting" queue.
This commit is contained in:
parent
c9e8a76bae
commit
22184ce71f
|
@ -34,6 +34,8 @@ release channel, you can take advantage of these new features and fixes.
|
|||
|
||||
- Fixed a bug preventing multiple playlists and/or custom fields from appearing in the bulk media CSV export.
|
||||
|
||||
- Fixed a bug causing song requests to use the interrupting queue instead of the regular song queue.
|
||||
|
||||
---
|
||||
|
||||
# AzuraCast 0.17.3 (Aug 3, 2022)
|
||||
|
|
|
@ -432,6 +432,11 @@ final class QueueBuilder implements EventSubscriberInterface
|
|||
|
||||
public function getNextSongFromRequests(BuildQueue $event): void
|
||||
{
|
||||
// Don't use this to cue requests.
|
||||
if ($event->isInterrupting()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$expectedPlayTime = $event->getExpectedPlayTime();
|
||||
|
||||
$request = $this->requestRepo->getNextPlayableRequest($event->getStation(), $expectedPlayTime);
|
||||
|
|
Loading…
Reference in New Issue