修正手機點歌+對外IP讀取位置
This commit is contained in:
parent
6f8dd92285
commit
e9ba3b229e
@ -41,8 +41,8 @@ namespace DualScreenDemo
|
|||||||
randomFolderPath = randomFolderName;
|
randomFolderPath = randomFolderName;
|
||||||
|
|
||||||
string localAddress = GetLocalIPAddress();
|
string localAddress = GetLocalIPAddress();
|
||||||
string externalAddress = File.Exists(@"\\JLDKTV\txt\ip.txt")
|
string externalAddress = File.Exists(@"\\svr01\txt\ip.txt")
|
||||||
? File.ReadAllText(@"\\JLDKTV\txt\ip.txt").Trim()
|
? File.ReadAllText(@"\\svr01\txt\ip.txt").Trim()
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
_listener = new HttpListener();
|
_listener = new HttpListener();
|
||||||
@ -964,7 +964,8 @@ namespace DualScreenDemo
|
|||||||
// 将读取到的 "message" 字段传递给 UI 控件显示
|
// 将读取到的 "message" 字段传递给 UI 控件显示
|
||||||
InvokeAction(() => OverlayForm.MainForm.ShowmessageLabel(Messagefist+Messagelast+'_'));
|
InvokeAction(() => OverlayForm.MainForm.ShowmessageLabel(Messagefist+Messagelast+'_'));
|
||||||
}
|
}
|
||||||
await Task.Delay(3000);
|
// 真情告白顯示秒數
|
||||||
|
await Task.Delay(5000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user