summaryrefslogtreecommitdiff
path: root/bin/vdr.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-03-18 11:17:07 +0100
committerTheTroll <trolldev@gmail.com>2010-03-18 11:17:07 +0100
commitdbed07971b2681ea1639978b26201530ff68b888 (patch)
tree0713bdd86d94098e5a9effe5a10d6562cbfafec5 /bin/vdr.php
parentaeb455971879b6574e90dcfbb142de6fc615c4e6 (diff)
downloadistreamdev-dbed07971b2681ea1639978b26201530ff68b888.tar.gz
istreamdev-dbed07971b2681ea1639978b26201530ff68b888.tar.bz2
SVDRP
Diffstat (limited to 'bin/vdr.php')
-rwxr-xr-xbin/vdr.php8
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;
}