diff --git a/Source/MultiFunPlayer/Script/Repository/ViewModels/XBVRScriptRepository.cs b/Source/MultiFunPlayer/Script/Repository/ViewModels/XBVRScriptRepository.cs index 1607d05d..c4e25f65 100644 --- a/Source/MultiFunPlayer/Script/Repository/ViewModels/XBVRScriptRepository.cs +++ b/Source/MultiFunPlayer/Script/Repository/ViewModels/XBVRScriptRepository.cs @@ -69,8 +69,8 @@ private bool TryGetSceneId(MediaResourceInfo mediaResource, out object sceneId) return true; } - // /api/dms/file/ - match = Regex.Match(pathAndQuery, @"api\/dms\/file\/(?\d+)"); + // /api/dms/file// - + match = Regex.Match(pathAndQuery, @"api\/dms\/file\/\d+\/(?<id>\d+) - .+"); if (match.Success) { sceneId = match.Groups["id"].Value;