コード例 #1
0
ファイル: AddonPanel.cs プロジェクト: rraguso/protone-suite
        private void RunProTONEActionOnVPaths(List<string> vpaths, 
            OPMedia.Runtime.ProTONE.RemoteControl.CommandType commandType)
        {
            List<string> launchPaths = new List<string>();
            foreach (string vPath in vpaths)
            {
                CatalogItem ci = _cat.GetByVPath(vPath);
                string launchPath = BuildLaunchPath(ci, false);
                if (!string.IsNullOrEmpty(launchPath))
                {
                    launchPaths.Add(launchPath);
                }
            }

            _prevSerialNumber = string.Empty;
            _prevDriveLetter = string.Empty;

            if (launchPaths.Count > 0)
            {
                RemoteControlHelper.SendPlayerCommand(commandType, launchPaths.ToArray());
            }
        }
コード例 #2
0
 void _renderer_MediaRenderingException(OPMedia.Runtime.ProTONE.Rendering.Base.RenderingExceptionEventArgs args)
 {
     FireMediaRenderingException(args);
 }
コード例 #3
0
 private void FireFilterStateChanged(OPMedia.Runtime.ProTONE.Rendering.DS.BaseClasses.FilterState oldState, string oldMedia,
     OPMedia.Runtime.ProTONE.Rendering.DS.BaseClasses.FilterState newState, string newMedia)
 {
     if (FilterStateChanged != null)
     {
         FilterStateChanged(oldState, oldMedia, newState, newMedia);
     }
 }
コード例 #4
0
 void _renderer_FilterStateChanged(OPMedia.Runtime.ProTONE.Rendering.DS.BaseClasses.FilterState oldState, string oldMedia, OPMedia.Runtime.ProTONE.Rendering.DS.BaseClasses.FilterState newState, string newMedia)
 {
     FireFilterStateChanged(oldState, oldMedia, newState, newMedia);
 }