Permalink
Browse files

MythWeb: Show Season and Episode in the recorded page.

Displays the Season and Episode of a recorded program now that they're available (when mythmetadatalookup is called) for recordings.  if you haven't already done lookups in master for your recording rules to get the inetrefs in there, and to enable the mythmetadatalookup job, you should!  You can even turn the job on in mythweb's rule editor! :)

commit OK'd by Rob Smith, who graciously offered to fix the episode number padding when he gets a chance.
  • Loading branch information...
1 parent 598889f commit bbb7b6b65ecb772f18100785c8c040c8caed78c0 Robert McNamara committed Jul 8, 2011
@@ -914,6 +914,7 @@
"Searches"
Recerques
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1007,6 +1007,7 @@
"Searches"
Vyhledávání
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1232,6 +1232,7 @@
Søgninger
"Searches will be performed against the title of all TV shows"
Søgningen vil gennemgå alle titler på alle udsendelser
+"Seas/Ep"
"Season"
Sæson
"Server Statistics"
@@ -888,6 +888,7 @@
"Searches"
Zoekopdrachten
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -710,6 +710,7 @@
"Search will perform complex SQL queries against the database as per the search phrase below"
"Searches"
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -710,6 +710,7 @@
"Search will perform complex SQL queries against the database as per the search phrase below"
"Searches"
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -729,6 +729,7 @@
"Search will perform complex SQL queries against the database as per the search phrase below"
"Searches"
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1232,6 +1232,7 @@
"Searches"
Haut
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
Serverin statistiikkaa
@@ -1249,6 +1249,7 @@
Recherches
"Searches will be performed against the title of all TV shows"
Les recherches seront effectuées sur le titre de tous les programmes TV
+"Seas/Ep"
"Season"
Saison
"Server Statistics"
@@ -1249,6 +1249,7 @@
Recherches
"Searches will be performed against the title of all TV shows"
Les recherches seront effectuées sur le titre de toutes les émissions TV
+"Seas/Ep"
"Season"
Saison
"Server Statistics"
@@ -1227,6 +1227,7 @@
Suchen
"Searches will be performed against the title of all TV shows"
Die Suchen werden gegen alle Sendungstitel gerichtet sein
+"Seas/Ep"
"Season"
Staffel
"Server Statistics"
@@ -1163,6 +1163,7 @@
"Searches"
Keresőprofilok
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
Szerver statisztikák
@@ -888,6 +888,7 @@
"Searches"
サーチメニュー
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1233,6 +1233,7 @@
Søk
"Searches will be performed against the title of all TV shows"
Søk vil bli utført mot tittelen i alle TV sendinger
+"Seas/Ep"
"Season"
Sesong
"Server Statistics"
@@ -800,6 +800,7 @@
"Searches"
Poszukiwania
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1121,6 +1121,7 @@
"Searches"
Iskanja
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
Stratistike strežnika
@@ -982,6 +982,7 @@
"Searches"
Búsquedas
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
"Server Statistics"
"Set Host"
@@ -1232,6 +1232,7 @@
"Searches"
Sökningar
"Searches will be performed against the title of all TV shows"
+"Seas/Ep"
"Season"
Säsong
"Server Statistics"
@@ -82,6 +82,7 @@
<td class="list"<?php if ($group_field) echo ' colspan="2"' ?>>&nbsp;</td>
<th class="x-title"><?php echo get_sort_link('title', t('Title')) ?></th>
<th class="x-subtitle"><?php echo get_sort_link('subtitle', t('Subtitle')) ?></th>
+ <th class="x-seasep"><?php echo get_sort_link('season', t('Seas/Ep')) ?></th>
<th class="x-programid"><?php echo get_sort_link('programid', t('Program ID')) ?></th>
<th class="x-originalairdate"><?php echo get_sort_link('originalairdate', t('Original Airdate')) ?></th>
<th class="x-airdate"><?php echo get_sort_link('airdate', t('Airdate')) ?></th>
@@ -161,6 +162,7 @@
<td class="x-subtitle"><?php echo '<a href="', root_url, 'tv/detail/', $show->chanid, '/', $show->recstartts, '"'
.' title="', t('Recording Details'), '"'
.'>'.$show->subtitle.'</a>' ?></td>
+ <td class="x-seasep"><?php if ($show->episode > 0) {echo $show->season,'x',$show->episode;} ?></td>
<td class="x-programid"><?php echo $show->programid ?></td>
<td class="x-originalairdate"><?php echo $show->airdate ?></td>
<td class="x-airdate"><?php echo strftime($_SESSION['date_recorded'], $show->starttime) ?></td><?php
@@ -204,7 +206,7 @@
<?php } ?>
</td>
</tr><tr id="statusrow_<?php echo $row ?>" class="recorded statusrow">
- <td colspan="6" valign="top"><?php echo $show->description ?></td>
+ <td colspan="7" valign="top"><?php echo $show->description ?></td>
<td colspan="<?php echo 2 + $recgroup_cols ?>" class="x-progflags"><?php
// Auto expire is interactive
echo '<a onclick="set_autoexpire(', $row, ')" class="_autoexpire">',

0 comments on commit bbb7b6b

Please sign in to comment.