
noreply at mythtv
Apr 7, 2012, 7:29 AM
Post #1 of 5
(101 views)
Permalink
|
|
Ticket #10552: Setup Wizard video test is broken
|
|
#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 _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-commits
|