All dem changes
This commit is contained in:
@@ -111,7 +111,7 @@ class AnnouncementModule extends InfoModule {
|
||||
|
||||
} else {
|
||||
if (queue.isNotEmpty) {
|
||||
await Future.delayed(const Duration(seconds: 5));
|
||||
// await Future.delayed(const Duration(seconds: 2));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ class AnnouncementModule extends InfoModule {
|
||||
// Configuration
|
||||
Duration get defaultAnnouncementDelay {
|
||||
if (liveInformation.inRoom) {
|
||||
return Duration(milliseconds: 500);
|
||||
return Duration(milliseconds: 1000);
|
||||
} else {
|
||||
print("Not in room");
|
||||
return Duration.zero;
|
||||
@@ -182,7 +182,6 @@ class AnnouncementModule extends InfoModule {
|
||||
for (var audioName in audioNames) {
|
||||
audioNamesString += "\"$audioName\" ";
|
||||
}
|
||||
|
||||
liveInformation.SendCommand("announce manual \"$displayText\" $audioNamesString ${scheduledTime.millisecondsSinceEpoch}");
|
||||
queueAnnounceByAudioName(
|
||||
displayText: displayText,
|
||||
|
||||
Reference in New Issue
Block a user