Fixes #5728 -- Don't cue requests using the "interrupting" queue.

This commit is contained in:
Buster Neece 2022-09-11 23:54:33 -05:00
parent c9e8a76bae
commit 22184ce71f
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
2 changed files with 7 additions and 0 deletions

View File

@ -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)

View File

@ -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);