[mythtv] [PATCH] Mythweb Mythvideo patches
bobnvic at everestkc.net
bobnvic at everestkc.net
Sat May 22 14:33:00 EDT 2004
Chris Petersen wrote:
> committed.
> Bob C wrote:
> > This patch adds or changes the following functionality in Mythweb:
snip
> > Patches are for:
> > mythweb/config/conf.php
> > mythweb/themes/Default/video.php
> >
> > mythweb/video_edit.php is new.
The mythweb.diff patch also included a patch for mythweb/video.php which
I didn't note. Here is a patch for just mythweb/video.php, which also
needs to be applied. Sorry for the omission.
Bob C
-------------- next part --------------
? video.php.diff
Index: video.php
===================================================================
RCS file: /var/lib/mythcvs/mythweb/video.php,v
retrieving revision 1.2
diff -u -d -r1.2 video.php
--- video.php 11 May 2004 06:18:22 -0000 1.2
+++ video.php 21 May 2004 21:02:53 -0000
@@ -34,7 +34,7 @@
// Set sorting
if (!is_array($_SESSION['video_sortby']))
$_SESSION['video_sortby'] = array(array('field' => 'title',
- 'reverse' => true));
+ 'reverse' => false));
// Sort the programs
if (count($All_Shows))
@@ -57,6 +57,7 @@
class Video {
+ var $intid;
var $plot;
var $rating; // this should be a reference to the $Channel array value
@@ -72,6 +73,7 @@
var $childid;
function Video($program_data) {
+ $this->intid = $program_data['intid'];
$this->plot = $program_data['plot'];
$this->rating = $program_data['rating'];
$this->title = $program_data['title'];
More information about the mythtv-dev
mailing list