Server V.1.2.5 202507291800
調整Room 不要押值 調整關台不顯示下首歌字樣 調整闗台QRCode不顯示
This commit is contained in:
parent
952471fcf0
commit
75090d0c07
@ -92,9 +92,14 @@ namespace DBObj
|
|||||||
|
|
||||||
public static void UpdateNextSongLabel()
|
public static void UpdateNextSongLabel()
|
||||||
{
|
{
|
||||||
VideoPlayerForm.overlayForm.UpdateTopLeftLabel(
|
if (Program.room.IsClose()) {
|
||||||
(not_played.Count > 0) ? not_played[0].next_song_text() : "目前沒有下一首,請踴躍點歌!!!"
|
VideoPlayerForm.overlayForm.UpdateTopLeftLabel(" ");
|
||||||
);
|
} else {
|
||||||
|
VideoPlayerForm.overlayForm.UpdateTopLeftLabel(
|
||||||
|
(not_played.Count > 0) ? not_played[0].next_song_text() : "目前沒有下一首,請踴躍點歌!!!"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
public static void clearSong()
|
public static void clearSong()
|
||||||
{
|
{
|
||||||
|
@ -84,9 +84,11 @@ namespace OverlayFormObj
|
|||||||
Console.WriteLine("Failed to load QR code image after multiple attempts.");
|
Console.WriteLine("Failed to load QR code image after multiple attempts.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (Program.room.IsOpen()) {
|
||||||
|
showQRCode = true;
|
||||||
|
qrCodeTimer.Start();
|
||||||
|
}
|
||||||
|
|
||||||
showQRCode = true;
|
|
||||||
qrCodeTimer.Start();
|
|
||||||
Invalidate(); // Trigger a repaint to show the QR code
|
Invalidate(); // Trigger a repaint to show the QR code
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
@ -17,7 +17,7 @@ namespace DualScreenDemo
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
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();
|
if (Utils.Env.GetBool("IsCursor", true)) Cursor.Hide();
|
||||||
AppDomain.CurrentDomain.ProcessExit += (s, e) => Cursor.Show();
|
AppDomain.CurrentDomain.ProcessExit += (s, e) => Cursor.Show();
|
||||||
//Console.WriteLine("正在與中控取得聯繫...");
|
//Console.WriteLine("正在與中控取得聯繫...");
|
||||||
|
1
Room.cs
1
Room.cs
@ -63,7 +63,6 @@ namespace DualScreenDemo
|
|||||||
{
|
{
|
||||||
string marqueeMessage = "歡迎使用超級巨星歡唱,與你共度美好時光。";
|
string marqueeMessage = "歡迎使用超級巨星歡唱,與你共度美好時光。";
|
||||||
Color c = Color.White;
|
Color c = Color.White;
|
||||||
setDB(value);
|
|
||||||
if (value.Equals("fire"))
|
if (value.Equals("fire"))
|
||||||
{
|
{
|
||||||
PrimaryForm.Instance.ShowSendOffScreen();
|
PrimaryForm.Instance.ShowSendOffScreen();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user