[mythtv-users] mythweb: javascript buglet

tarek Lubani tarek at tarek.2y.net
Wed Feb 4 14:16:06 EST 2004


I did something like this on my system.. People with windows machines 
install the directshow Myth (dsmyth?) drivers, and then they can "click" 
to download.. Here's the line I added.. Just do a search for the if 
statement in recorded_programs.php. note that you should replace 
"URLHERE" with a web-accessible place where your myth store is.. For me, 
I just lnked /home/mythtv/store to my webspace.. Elegant it ain't, but 
it works..

if (show_recorded_pixmaps) {
 echo '<td>';
 generate_preview_pixmap($show);
 if (file_exists(image_cache.'/'.basename($show->filename).'.png')) echo 
'<a href=http://URLHERE/'.basename($show->filename).'>
<img border=0 id="'.$show->filename."\" src=\"".image_cache.'/'.basename 
($show->filename).'.png" width="'.pixmap_width.'" 
height="'.pixmap_height.'"> </a>';

>P.S: Serving content directly from mythweb via http would be nice. So casual 
>users don't need the frontend installed.
>
>  
>



More information about the mythtv-users mailing list