From 3305f348fd49ccc2f30c87ff63240cd6d7fe66a0 Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Fri, 5 Sep 2025 11:57:15 +0800 Subject: [PATCH] =?UTF-8?q?2509051155=20=E5=84=AA=E6=83=A0=E6=B4=BB?= =?UTF-8?q?=E5=8B=95,=E8=8F=9C=E5=96=AE=E8=B7=AF=E5=BE=91=E6=94=B9?= =?UTF-8?q?=E5=9B=9E=E7=B7=9A=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PrimaryForm.PromotionsAndMenuPanel.cs | 4 ++-- VideoPlayerForm.cs | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs b/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs index b341187..475f1c5 100644 --- a/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs +++ b/PrimaryFormParts/PrimaryForm.PromotionsAndMenuPanel.cs @@ -23,8 +23,8 @@ namespace DualScreenDemo private List LoadImagesFromFolder(string folderName) { List images = new(); - // string folderPath = Utils.Env.GetPath(folderName, ""); - string folderPath = serverPath+"//"+folderName; + string folderPath = Utils.Env.GetPath(folderName, ""); + // string folderPath = serverPath+"//"+folderName; if (folderPath.Equals("")) return images; string[] imageFiles = Directory.GetFiles(folderPath, "*.jpg"); diff --git a/VideoPlayerForm.cs b/VideoPlayerForm.cs index 8894764..86a8ccf 100644 --- a/VideoPlayerForm.cs +++ b/VideoPlayerForm.cs @@ -349,13 +349,13 @@ namespace DualScreenDemo try { string pathToPlay = song.getFile(); - Uri url = song.getFileUrl(); + // Uri url = song.getFileUrl(); //影片畫面播放器載入media設置聲道 - if(url !=null) - { - _mediaService0.LoadMedia(url, 0); - _mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1); - } + // if(url !=null) + // { + // _mediaService0.LoadMedia(url, 0); + // _mediaService1.LoadMedia(url, song.isPublicSong ? 0 : 1); + // } if(pathToPlay != null) { _mediaService0.LoadMedia(pathToPlay, 0);