2509051155

優惠活動,菜單路徑改回線上
This commit is contained in:
jasonchenwork 2025-09-05 11:57:15 +08:00
parent 5f401f2158
commit 3305f348fd
2 changed files with 8 additions and 8 deletions

View File

@ -23,8 +23,8 @@ namespace DualScreenDemo
private List<Image> LoadImagesFromFolder(string folderName)
{
List<Image> 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");

View File

@ -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);