Ticket #255: mythweb-softproto.diff

File mythweb-softproto.diff, 2.1 KB (added by willu.mailingLists@…, 14 years ago)
  • mythweb/includes/mythbackend.php

     
    2222// NUMPROGRAMLINES is defined in mythtv/libs/libmythtv/programinfo.h and is
    2323// the number of items in a ProgramInfo QStringList group used by
    2424// ProgramInfo::ToSringList and ProgramInfo::FromStringList.
    25     $NUMPROGRAMLINES = 43;
     25    $NUMPROGRAMLINES = 45;
    2626
    2727// Keep track of the master backend port/ip
    2828    $Master_Host = get_backend_setting('MasterServerIP');
  • mythweb/modules/tv/includes/objects/Program.php

     
    6363    var $recpriority2   = 0;
    6464    var $parentid;
    6565    var $storagegroup   = 'Default';
     66    var $softstart;
     67    var $softend;
    6668
    6769// The rest of these variables (which really need to get organized) are
    6870// calculated or queried separately from the db.
     
    142144            $this->recpriority2    = $data[40];
    143145            $this->parentid        = $data[41];
    144146            $this->storagegroup    = $data[42];
     147            $this->softstart       = $data[43];
     148            $this->softend         = $data[44];
    145149        // Is this a previously-recorded program?
    146150            if (!empty($this->filename)) {
    147151            // Calculate the filesize
     
    355359                             $this->recpriority2   , // 40 recpriority2
    356360                             $this->parentid       , // 41 parentid
    357361                             $this->storagegroup   , // 42 storagegroup
    358                              '',                     // 43 trailing separator
     362                             $this->softstart      , // 43 softstart
     363                             $this->softend        , // 44 softend
     364                             '',                     // 45 trailing separator
    359365                            )
    360366                      );
    361367    }