Пример #1
0
 public XbmcFiles(JsonRpcClient client, string xbmcIp, int xbmcPort, string xbmcUser, string xbmcPass)
 {
     Client   = client;
     XbmcIp   = xbmcIp;
     XbmcPort = xbmcPort;
     XbmcUser = xbmcUser;
     XbmcPass = xbmcPass;
 }
Пример #2
0
        public XbmcConnection(string xbmcIp, int xbmcPort, string xbmcUser, string xbmcPass)
        {
            XbmcIp   = xbmcIp;
            XbmcPort = xbmcPort;
            XbmcUser = xbmcUser;
            XbmcPass = xbmcPass;
            XbmcUri  = new Uri("http://" + XbmcIp + ":" + XbmcPort + "/jsonrpc");
            Client   = new JsonRpcClient(XbmcUri, XbmcUser, XbmcPass, true);

            AudioLibrary  = new XbmcAudioLibrary(Client);
            AudioPlayer   = new XbmcAudioPlayer(Client);
            AudioPlaylist = new XbmcAudioPlaylist(Client);
            Control       = new XbmcControl(Client);
            Files         = new XbmcFiles(Client, XbmcIp, XbmcPort, XbmcUser, XbmcPass);
            JsonRpc       = new XbmcJsonRpc(Client);
            PicturePlayer = new XbmcPicturePlayer(Client);
            Player        = new XbmcPlayer(Client);
            Playlist      = new XbmcPlaylist(Client);
            Status        = new XbmcStatus(Client);
            System_       = new XbmcSystem(Client);
            VideoLibrary  = new XbmcVideoLibrary(Client);
            VideoPlayer   = new XbmcVideoPlayer(Client);
            VideoPlaylist = new XbmcVideoPlaylist(Client);
        }
Пример #3
0
 public XbmcAudioPlaylist(JsonRpcClient client)
 {
     Client = client;
 }
Пример #4
0
 public XbmcJsonRpc(JsonRpcClient client)
 {
     Client = client;
 }
Пример #5
0
 public XbmcControl(JsonRpcClient client)
 {
     Client = client;
 }
Пример #6
0
 public XbmcStatus(JsonRpcClient client)
 {
     Client = client;
 }
Пример #7
0
 public XbmcVideoPlaylist(JsonRpcClient client)
 {
     Client = client;
 }
Пример #8
0
 public XbmcAudioLibrary(JsonRpcClient client)
 {
     Client = client;
 }
Пример #9
0
 public XbmcSystem(JsonRpcClient client)
 {
     Client = client;
 }
Пример #10
0
 public XbmcPlayer(JsonRpcClient client)
 {
     Client = client;
 }
Пример #11
0
 public XbmcVideoLibrary(JsonRpcClient client)
 {
     Client = client;
 }