diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-18 11:17:07 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-18 11:17:07 +0100 |
commit | dbed07971b2681ea1639978b26201530ff68b888 (patch) | |
tree | 0713bdd86d94098e5a9effe5a10d6562cbfafec5 /bin/vdr.php | |
parent | aeb455971879b6574e90dcfbb142de6fc615c4e6 (diff) | |
download | istreamdev-dbed07971b2681ea1639978b26201530ff68b888.tar.gz istreamdev-dbed07971b2681ea1639978b26201530ff68b888.tar.bz2 |
SVDRP
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-x | bin/vdr.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/vdr.php b/bin/vdr.php index 0b31fb3..215dc1a 100755 --- a/bin/vdr.php +++ b/bin/vdr.php @@ -1,14 +1,14 @@ <?php -include ('./svdrp_old.php'); +include ('./svdrp.php'); function vdrsendcommand($cmd) { global $svdrpip, $svdrpport; $svdrp = new SVDRP($svdrpip, $svdrpport); - $svdrp->Connect(); - $ret = $svdrp->Command($cmd); - $svdrp->Disconnect(); + $svdrp->connect(); + $ret = $svdrp->sendCommand($cmd); + $svdrp->disconnect(); return $ret; } |