Skip to content

Commit

Permalink
Remove redundant autocue call from the ls2.3.x branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Oct 21, 2024
1 parent 96623e4 commit 3de1908
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions backend/src/Radio/AutoDJ/Annotations.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public static function getSubscribedEvents(): array
['annotateForLiquidsoap', 15],
['annotatePlaylist', 10],
['annotateRequest', 5],
['enableAutoCue', -5],
['postAnnotation', -10],
],
];
Expand Down Expand Up @@ -205,13 +204,6 @@ public function annotateRequest(AnnotateNextSong $event): void
}
}

public function enableAutoCue(AnnotateNextSong $event): void
{
if ($event->getStation()->getBackendConfig()->getEnableAutoCue()) {
$event->setProtocol('autocue');
}
}

public function postAnnotation(AnnotateNextSong $event): void
{
if (!$event->isAsAutoDj()) {
Expand Down

0 comments on commit 3de1908

Please sign in to comment.