Fixes #5268 -- Move the pre-broadcasting LS config to after the metadata update.

This commit is contained in:
Buster "Silver Eagle" Neece 2022-04-17 07:30:48 -05:00
parent 4bdfb19862
commit 157c951933
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109
1 changed files with 3 additions and 3 deletions

View File

@ -904,9 +904,6 @@ class ConfigWriter implements EventSubscriberInterface
EOF
);
// Custom configuration
$this->writeCustomConfigurationSection($event, self::CUSTOM_PRE_BROADCAST);
$event->appendBlock(
<<<EOF
# Handle "Jingle Mode" tracks by replaying the previous metadata.
@ -946,6 +943,9 @@ class ConfigWriter implements EventSubscriberInterface
radio.on_metadata(metadata_updated)
EOF
);
// Custom configuration
$this->writeCustomConfigurationSection($event, self::CUSTOM_PRE_BROADCAST);
}
public function writeLocalBroadcastConfiguration(WriteLiquidsoapConfiguration $event): void