[mythtv] MythWeb problems
Jonathan Roberts
mythtv at brycheiniog.com
Wed Jan 29 22:45:54 EST 2003
Hi,
I have just got mythweb 0.7 up and running, and the main webpage works
fine displaying listings, but when I click on a program to try and
record it, I get a load of code dumped out in the browser.
eg
"); print("
"); print(""); print(""); // // If it's a movie, add an IMDB button //
if(smellsLikeMovie($aRow[7], $aRow[6])) { print(""); }
if(strlen($aRow[6]) > 0) print(""); if(strlen($aRow[4]) > 0) print("");
print(""); if(strlen($aRow[5]) > 0) print(""); if($aRow[8] > 12) {
$aRow[8] -= 12; $ampm = pm; } else $ampm = am; if($aRow[9] < 10) // i'm
not doing to modify this, but is this desired behavior? -- Russ {
$aRow[9] = "0" . $aRow[9]; } print(""); print(""); // // Need to check
if this is being recorded // and display a form to toggle it on and //
off // $isBeingSingleRecorded = FALSE; $isBeingTimeslotRecorded =
isInTimeslotRecord($aRow[0], $aRow[1], $aRow[2], $aRow[3]);
$isBeingChannelAlwaysRecorded = isInChannelAlwaysRecord($aRow[0],
$aRow[3]); $isBeingAlwaysRecorded = isInAlwaysRecord($aRow[3]);
$recordArrayIndex = 0; while($aRecord = $recordArray[$recordArrayIndex])
{ if($aRecord->chanid == $aRow[0] && $aRecord->starttime == $aRow[1]) {
$isBeingSingleRecorded = TRUE; } $recordArrayIndex += 1; } print(""); //
// Add a form to go back to the listings // preserving the last offset
we were // using // print(""); print("
Program: $aRow[3] (Click for Google Search)
"); print("
"); print(""); print(""); print(""); print("
"); print("
Has anyone got any ideas? I have tried several different browsers, all
with the same result.
Jonathan
More information about the mythtv-dev
mailing list