[mythtv-commits] Ticket #2875: mythweb does not use storagegroup streaming does not work

MythTV mythtv at cvs.mythtv.org
Fri Jan 5 22:15:07 UTC 2007


#2875: mythweb does not use storagegroup streaming does not work
--------------------------------------------------+-------------------------
 Reporter:  Michael Gisbers <michael at gisbers.de>  |        Owner:  xris   
     Type:  defect                                |       Status:  new    
 Priority:  minor                                 |    Milestone:  unknown
Component:  mythweb                               |      Version:  head   
 Severity:  medium                                |   Resolution:         
--------------------------------------------------+-------------------------
Comment (by Michael Gisbers <michael at gisbers.de>):

 I just created following 'workaround'

 line 72 ff.:
 <code># Get the filename on disk
     $sh = $dbh->prepare('SELECT dirname
                            FROM storagegroup
                           WHERE hostname=?');
     $sh->execute(hostname);
         print header();
     my $file;
     while ( ($filename) = $sh->fetchrow_array() ) {
         if ( -e "$filename/$basename" ) {
                 $file = "$filename/$basename";
                 last;
         }
     }
     $sh->finish;

     $filename = $file;</code>

 this seams to work with both of my storagegroups but still needs much work
 to respect stored storagegroups in recorded.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2875#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list