[mythtv-users] New version of windows filters for mythtv

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Wed Mar 10 09:49:57 EST 2004


mythtv-users-bounces at mythtv.org <> wrote:
> 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):
> 
> 

Looks right, but you probably also want a link for "currently recording"
recordgins too.
I did a patch like that a while ago, I just havent done if for the cvs
version of mythtv.

The cvs version of mythtv already have http links to the recordings, but
they only work for files <2Gb due to a bug in apache/php.
So maybe it shoud be a config option between http: and myth: style urls.

Maybe I'll create a patch for this.

> --- 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->filen ame)
>  ?>">Show</a></td> <?php  } ?>
>  </tr><?
>                 $prev_group = $cur_group;



More information about the mythtv-users mailing list