[mythtv-users] New version of windows filters for mythtv
Dan Boger
mythtv at peeron.com
Tue Mar 9 16:25:49 EST 2004
On Tue, Mar 09, 2004 at 09:46:22PM +0100, Torbj?rn Jansson wrote:
> If mythweb coud provide links to the recordings with this kind of urls
> you coud just click on the link in mythweb and your player app will
> open the file and play it directly from mythbackend without having to
> type anything in manualy.
wouldn't something like this work then? (disclaimer, I've never written
a line of php in my life):
--- mythweb/themes/Default/recorded_programs.php Tue Mar 9 16:12:30 2004
+++ mythweb/themes/Default/recorded_programs.php Tue Mar 9 16:23:13 2004
@@ -137,7 +137,8 @@
<td width="5%">currently recording</td>
<?php } else { ?>
<td width="5%" class="command command_border_l command_border_t command_border_b command_border_r" align="center">
- <a id="delete_<?php echo $row?>" href="recorded_programs.php?delete=yes&file=<?php echo urlencode($show->filename)?>">Delete</a></td>
+ <a id="delete_<?php echo $row?>" href="recorded_programs.php?delete=yes&file=<?php echo urlencode($show->filename)?>">Delete</a>
+ <a href="<?php echo 'myth://'.$_SERVER['HTTP_HOST'].':6543/'.basename($show->filename) ?>">Show</a></td>
<?php } ?>
</tr><?
$prev_group = $cur_group;
Dan
More information about the mythtv-users
mailing list