首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > PHP包装XBMC的RPC和http-api API

PHP包装XBMC的RPC和http-api API

  • 资源大小:3.04 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php XBMC rpc 包装

资 源 简 介

A PHP library for interacting with XBMC using JSON-RPC and XBMC"s HTTP-API. Inspiration was drawn from Jason Bryant-Greene"s php-json-rpc (https://bitbucket.org/jbg/php-json-rpc/src). First, include the xbmc.php file: include("xbmc.php"); Next, create the two classes in the below format: $xbmcJson = new xbmcJson("username:password@IP:Port"); $xbmcHttp = new xbmcHttp("username:password@IP:Port"); Then you can start making calls: JSON-RPC API (http://wiki.xbmc.org/index.php?title=JSON_RPC) Commands are sent using the following syntax: $xbmcJson->NAMESPACE->COMMAND(array(PARAM1 => VALUE1, PARAM2 => VALUE2, etc..)); eg: $xbmcJson->VideoLibrary->GetRecentlyAddedMovies(); HTTP-API API (http://wiki.xbmc.org/index.php?title=WebServerHTTP_API) Commands are sent using the following sy

文 件 列 表

xbmc.php
VIP VIP
  • IATWAY 1天前 成为了本站会员

  • 大智若愚 1天前 成为了本站会员

  • Mason 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • Half_Punch 2天前 成为了本站会员

  • liqing71718 2天前 成为了本站会员

  • 伟国 2天前 成为了本站会员

  • songy 2天前 成为了本站会员

  • 纯色幽默 2天前 成为了本站会员

  • odd? 2天前 成为了本站会员

0.265088s