Server V.1.2.5 202507291800

調整Room 不要押值
調整關台不顯示下首歌字樣
調整闗台QRCode不顯示
This commit is contained in:
jasonchenwork 2025-07-30 09:30:31 +08:00
parent 952471fcf0
commit 75090d0c07
4 changed files with 14 additions and 8 deletions

View File

@ -92,10 +92,15 @@ namespace DBObj
public static void UpdateNextSongLabel()
{
if (Program.room.IsClose()) {
VideoPlayerForm.overlayForm.UpdateTopLeftLabel(" ");
} else {
VideoPlayerForm.overlayForm.UpdateTopLeftLabel(
(not_played.Count > 0) ? not_played[0].next_song_text() : "目前沒有下一首,請踴躍點歌!!!"
);
}
}
public static void clearSong()
{

View File

@ -84,9 +84,11 @@ namespace OverlayFormObj
Console.WriteLine("Failed to load QR code image after multiple attempts.");
return;
}
if (Program.room.IsOpen()) {
showQRCode = true;
qrCodeTimer.Start();
}
Invalidate(); // Trigger a repaint to show the QR code
}
catch (Exception ex)

View File

@ -17,7 +17,7 @@ namespace DualScreenDemo
[STAThread]
static void Main()
{
Console.WriteLine("Server V.1.2.4 202507281600");
Console.WriteLine("Server V.1.2.5 202507291800");
if (Utils.Env.GetBool("IsCursor", true)) Cursor.Hide();
AppDomain.CurrentDomain.ProcessExit += (s, e) => Cursor.Show();
//Console.WriteLine("正在與中控取得聯繫...");

View File

@ -63,7 +63,6 @@ namespace DualScreenDemo
{
string marqueeMessage = "歡迎使用超級巨星歡唱,與你共度美好時光。";
Color c = Color.White;
setDB(value);
if (value.Equals("fire"))
{
PrimaryForm.Instance.ShowSendOffScreen();