示例#1
0
 public MediaPortal()
 {
     File          = new MediaPortalFile(this);
     VideoLibrary  = new MediaPortalVideoLibrary(this);
     AudioLibrary  = new MediaPortalAudioLibrary(this);
     AudioPlayer   = new MediaPortalAudioPlayer(this);
     PicturePlayer = new MediaPortalPicturePlayer(this);
     VideoPlayer   = new MediaPortalVideoPlayer(this);
     Player        = new MediaPortalPlayer(this);
     System        = new MediaPortalSystem(this);
     Remote        = new MediaPortalRemote(this);
     ApiName       = "MPI";
 }
示例#2
0
 public MediaPortal()
 {
     File = new MediaPortalFile(this);
     VideoLibrary = new MediaPortalVideoLibrary(this);
     AudioLibrary = new MediaPortalAudioLibrary(this);
     AudioPlayer = new MediaPortalAudioPlayer(this);
     PicturePlayer = new MediaPortalPicturePlayer(this);
     VideoPlayer = new MediaPortalVideoPlayer(this);
     Player = new MediaPortalPlayer(this);
     System = new MediaPortalSystem(this);
     Remote = new MediaPortalRemote(this);
     ApiName = "MPI";
 }