From 72054862f9a9dc764476afa3cd70cdcc995661d2 Mon Sep 17 00:00:00 2001
From: George Nassas <George+Development@Nassas.com>
Date: Tue, 3 Jun 2014 13:27:47 -0400
Subject: [PATCH] Update
---
.gitignore | 5 +++++
modules/tv/classes/Program.php | 10 +++-------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/.gitignore b/.gitignore
index fec704b..d25b5f1 100644
a
|
b
|
|
| 1 | *~ |
| 2 | |
1 | 3 | .ht* |
2 | 4 | *.orig |
3 | 5 | .*.swp |
| 6 | |
| 7 | .project |
| 8 | go.php |
diff --git a/modules/tv/classes/Program.php b/modules/tv/classes/Program.php
index 3573e9b..b881380 100644
a
|
b
|
class Program extends MythBase { |
131 | 131 | $this->parttotal = $data[47]; |
132 | 132 | $this->category_type = $data[48]; |
133 | 133 | $this->recordedid = $data[49]; |
| 134 | $this->inputname = $data[50]; |
134 | 135 | // Is this a previously-recorded program? |
135 | 136 | if (!empty($this->filename)) { |
136 | 137 | $this->url = video_url($this); // get download info |
… |
… |
class Program extends MythBase { |
179 | 180 | $this->title_pronounce = $data['title_pronounce']; |
180 | 181 | $this->recstatus = $data['recstatus']; |
181 | 182 | $this->recordedid = $data['recordedid']; |
| 183 | $this->inputname = $data['inputname']; |
182 | 184 | |
183 | 185 | // These db fields should really get renamed... |
184 | 186 | $this->audioproperties = $data['stereo']; |
… |
… |
class Program extends MythBase { |
209 | 211 | $this->starstring .= '½'; |
210 | 212 | elseif ($frac >= .25) |
211 | 213 | $this->starstring .= '¼'; |
212 | | // Get the name of the input |
213 | | if ($this->inputid) { |
214 | | $this->inputname = $db->query_col('SELECT displayname |
215 | | FROM cardinput |
216 | | WHERE cardinputid=?', |
217 | | $this->inputid); |
218 | | } |
219 | 214 | // Turn recstatus into a word |
220 | 215 | if (isset($this->recstatus) && $GLOBALS['RecStatus_Types'][$this->recstatus]) { |
221 | 216 | $this->recstatus_orig = $this->recstatus; |
… |
… |
class Program extends MythBase { |
396 | 391 | $this->parttotal , // 46 parttotal |
397 | 392 | $this->category_type , // 48 category type |
398 | 393 | $this->recordedid , // 49 recordedid |
| 394 | $this->inputname , // 50 input name |
399 | 395 | ) |
400 | 396 | ); |
401 | 397 | } |