Definition at line 3 of file MythTV.php.
Public Member Functions | |
| __construct ($host=NULL) | |
| Setting ($name, $hostname=NULL, $value="old\0old") | |
| Command ($command, $host=NULL, $port=NULL, $sendonly=FALSE) | |
| Send ($command, $host, $port) | |
| SendData ($socket, $data=NULL) | |
| CreateSocket ($host, $port, $data=NULL) | |
| Receive ($host) | |
| StreamBackendFile ($basename, $fh, $local_path=NULL, $host=NULL, $port=NULL, $seek=0) | |
| BackendRows ($command, $offset=0) | |
| StatusCommand ($path= '', $params=array(), $host=NULL, $port=NULL) | |
| Channel ($ChanID) | |
| LoadChannels () | |
| UnixToMyth ($timestamp) | |
| MythToUnix ($time) | |
| Recording ($chanid=NULL, $starttime=NULL, $basename=NULL) | |
| GetRecordingDirs () | |
| GetLocalHostname () | |
Public Attributes | |
| $VERSION = '.24' | |
| $RecordingTypes | |
| $Searches | |
| $RecordingStatus | |
| $ConfigFiles | |
| $ConfigFile = NULL | |
| $Config = array() | |
| $DB = NULL | |
| $SOCKETS = array() | |
| $Channels = array() | |
| $Scheduled = array() | |
| $Recorded = array() | |
| $Host = NULL | |
Private Member Functions | |
| LoadConfig () | |
Private Attributes | |
| $MythProto = NULL | |
| MythTV::__construct | ( | $ | host = NULL |
) |
Definition at line 68 of file MythTV.php.
| MythTV::LoadConfig | ( | ) | [private] |
| MythTV::Setting | ( | $ | name, | |
| $ | hostname = NULL, |
|||
| $ | value = "old\0old" | |||
| ) |
Definition at line 115 of file MythTV.php.
Referenced by __construct(), Send(), StatusCommand(), and StreamBackendFile().
| MythTV::Command | ( | $ | command, | |
| $ | host = NULL, |
|||
| $ | port = NULL, |
|||
| $ | sendonly = FALSE | |||
| ) |
| MythTV::Send | ( | $ | command, | |
| $ | host, | |||
| $ | port | |||
| ) |
| MythTV::SendData | ( | $ | socket, | |
| $ | data = NULL | |||
| ) |
| MythTV::CreateSocket | ( | $ | host, | |
| $ | port, | |||
| $ | data = NULL | |||
| ) |
| MythTV::Receive | ( | $ | host | ) |
| MythTV::StreamBackendFile | ( | $ | basename, | |
| $ | fh, | |||
| $ | local_path = NULL, |
|||
| $ | host = NULL, |
|||
| $ | port = NULL, |
|||
| $ | seek = 0 | |||
| ) |
Definition at line 188 of file MythTV.php.
| MythTV::BackendRows | ( | $ | command, | |
| $ | offset = 0 | |||
| ) |
Definition at line 215 of file MythTV.php.
| MythTV::StatusCommand | ( | $ | path = '', |
|
| $ | params = array(), |
|||
| $ | host = NULL, |
|||
| $ | port = NULL | |||
| ) |
Definition at line 234 of file MythTV.php.
| MythTV::Channel | ( | $ | ChanID | ) |
Definition at line 262 of file MythTV.php.
| MythTV::LoadChannels | ( | ) |
| MythTV::UnixToMyth | ( | $ | timestamp | ) |
Definition at line 276 of file MythTV.php.
| MythTV::MythToUnix | ( | $ | time | ) |
Definition at line 282 of file MythTV.php.
| MythTV::Recording | ( | $ | chanid = NULL, |
|
| $ | starttime = NULL, |
|||
| $ | basename = NULL | |||
| ) |
Definition at line 286 of file MythTV.php.
| MythTV::GetRecordingDirs | ( | ) |
Definition at line 290 of file MythTV.php.
| MythTV::GetLocalHostname | ( | ) |
Definition at line 299 of file MythTV.php.
| MythTV::$VERSION = '.24' |
Definition at line 4 of file MythTV.php.
| MythTV::$RecordingTypes |
Initial value:
array( 1 => 'Once', 2 => 'Daily', 3 => 'Channel', 4 => 'Always', 5 => 'Weekly', 6 => 'Find Once', 7 => 'Override', 8 => 'Dont Record', 9 => 'Find Daily', 10 => 'Find Weekly' )
Definition at line 6 of file MythTV.php.
| MythTV::$Searches |
Initial value:
array( 1 => 'Power', 2 => 'Title', 3 => 'Keyword', 4 => 'People', 5 => 'Manual' )
Definition at line 17 of file MythTV.php.
| MythTV::$RecordingStatus |
Initial value:
array(-8 => 'TunerBusy', -7 => 'LowDiskSpace', -6 => 'Cancelled', -5 => 'Deleted', -4 => 'Aborted', -3 => 'Recorded', -2 => 'Recording', -1 => 'WillRecord', 0 => 'Unknown', 1 => 'DontRecord', 2 => 'PreviousRecording', 3 => 'CurrentRecording', 4 => 'EarlierShowing', 5 => 'TooManyRecordings', 6 => 'NotListed', 7 => 'Conflict', 8 => 'LaterShowing', 9 => 'Repeat', 10 => 'Inactive', 11 => 'NeverRecord' )
Definition at line 24 of file MythTV.php.
| MythTV::$ConfigFiles |
Initial value:
array( '/usr/local/share/mythtv/mysql.txt', '/usr/share/mythtv/mysql.txt', '/usr/local/etc/mythtv/mysql.txt', '/etc/mythtv/mysql.txt', '~/.mythtv/mysql.txt', 'mysql.txt' )
Definition at line 46 of file MythTV.php.
| MythTV::$ConfigFile = NULL |
| MythTV::$Config = array() |
Definition at line 54 of file MythTV.php.
| MythTV::$DB = NULL |
Definition at line 56 of file MythTV.php.
| MythTV::$SOCKETS = array() |
Definition at line 58 of file MythTV.php.
| MythTV::$Channels = array() |
Definition at line 60 of file MythTV.php.
| MythTV::$Scheduled = array() |
Definition at line 61 of file MythTV.php.
| MythTV::$Recorded = array() |
Definition at line 62 of file MythTV.php.
| MythTV::$Host = NULL |
Definition at line 64 of file MythTV.php.
MythTV::$MythProto = NULL [private] |
Definition at line 66 of file MythTV.php.
1.5.5