From 33fdd95a26c0f9ba533653d47773778c07ed24a2 Mon Sep 17 00:00:00 2001
From: George Nassas <gnassas@gmail.com>
Date: Mon, 18 Nov 2013 17:12:59 -0500
Subject: [PATCH] MythWeb changes
---
modules/tv/classes/Program.php | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/modules/tv/classes/Program.php b/modules/tv/classes/Program.php
index 4192235..a49ec09 100644
a
|
b
|
class Program extends MythBase { |
129 | 129 | $this->partnumber = $data[46]; |
130 | 130 | $this->parttotal = $data[47]; |
131 | 131 | $this->category_type = $data[48]; |
| 132 | $this->inputname = $data[49]; |
132 | 133 | // Is this a previously-recorded program? |
133 | 134 | if (!empty($this->filename)) { |
134 | 135 | $this->url = video_url($this); // get download info |
… |
… |
class Program extends MythBase { |
176 | 177 | $this->syndicatedepisodenumber = $data['syndicatedepisodenumber']; |
177 | 178 | $this->title_pronounce = $data['title_pronounce']; |
178 | 179 | $this->recstatus = $data['recstatus']; |
| 180 | $this->inputname = $data['inputname']; |
179 | 181 | |
180 | 182 | // These db fields should really get renamed... |
181 | 183 | $this->audioproperties = $data['stereo']; |
… |
… |
class Program extends MythBase { |
206 | 208 | $this->starstring .= '½'; |
207 | 209 | elseif ($frac >= .25) |
208 | 210 | $this->starstring .= '¼'; |
209 | | // Get the name of the input |
210 | | if ($this->inputid) { |
211 | | $this->inputname = $db->query_col('SELECT displayname |
212 | | FROM cardinput |
213 | | WHERE cardinputid=?', |
214 | | $this->inputid); |
215 | | } |
216 | 211 | // Turn recstatus into a word |
217 | 212 | if (isset($this->recstatus) && $GLOBALS['RecStatus_Types'][$this->recstatus]) { |
218 | 213 | $this->recstatus_orig = $this->recstatus; |
… |
… |
class Program extends MythBase { |
392 | 387 | $this->partnumber , // 45 partnumber |
393 | 388 | $this->parttotal , // 46 parttotal |
394 | 389 | $this->category_type , // 48 category type |
| 390 | $this->inputname , // 49 input name |
395 | 391 | ) |
396 | 392 | ); |
397 | 393 | } |