[mythtv-commits] Ticket #10552: Setup Wizard video test is broken

MythTV noreply at mythtv.org
Sat Apr 7 14:29:43 UTC 2012


#10552: Setup Wizard video test is broken
--------------------------------------+-------------------------
     Reporter:  jyavenard             |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  0.25
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 When trying to download either the SD or HD video sample; we get:
 {{{
 <?
 Header( "HTTP/1.1 302 Moved Temporarily" );

 $agent = $_SERVER['HTTP_USER_AGENT'];
 $file = "";

 if (preg_match('/Torc/i', $agent)) {
         Header( "Location: http://www.torcdvr.com/" );
 }
 else
 {
         if (preg_match('/mythdownloadmanager/i', $agent) &&
 isset($_GET['sample'])) {
                 if ($_GET['sample'] == "HD") {
                         $file = "mythtv_video_test_HD_19000Kbps_H264.mkv";
                 } else {
                         $file = "mythtv_video_test_SD_6000Kbps_H264.mkv";
                 }

                 Header( "Location:
 ftp://ftp.osuosl.org/pub/mythtv/samples/videos/$file");
         }
         else
         {
                 Header( "Location: http://www.mythtv.org/" );
         }
 }

 ?>
 }}}

 looks like a broken php header, shouldn't it start with <?php

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10552>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list