Beispiel #1
0
 public XbmcFiles(JsonRpcClient client, string xbmcIp, int xbmcPort, string xbmcUser, string xbmcPass)
 {
     Client   = client;
     XbmcIp   = xbmcIp;
     XbmcPort = xbmcPort;
     XbmcUser = xbmcUser;
     XbmcPass = xbmcPass;
 }
Beispiel #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);
        }
Beispiel #3
0
 public XbmcAudioPlaylist(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #4
0
 public XbmcJsonRpc(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #5
0
 public XbmcControl(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #6
0
 public XbmcStatus(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #7
0
 public XbmcVideoPlaylist(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #8
0
 public XbmcAudioLibrary(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #9
0
 public XbmcSystem(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #10
0
 public XbmcPlayer(JsonRpcClient client)
 {
     Client = client;
 }
Beispiel #11
0
 public XbmcVideoLibrary(JsonRpcClient client)
 {
     Client = client;
 }