Commit facbfbb9 authored by Joe Holden's avatar Joe Holden

fix url, fix statuses

parent 17d6fe92
......@@ -3,7 +3,7 @@
require_once dirname(__FILE__) . '/vendor/autoload.php';
//$url = 'https://s3.amazonaws.com/nascar-www/data/cacher/production/live/live-feed.json';
$url = 'http://www.nascar.com/live/feeds/series_1/4589/live_feed.json';
$url = 'http://www.nascar.com/live/feeds/live-feed.json';
$duration = new Khill\Duration\Duration;
$climate = new League\CLImate\CLImate;
......@@ -107,10 +107,10 @@ function draw($json, $old, $climate, $duration, $refresh) {
$status = 'pits';
break;
case 3:
$status = 'garage';
$status = 'out';
break;
case 6:
$status = '???';
$status = 'garage';
break;
default:
$status = 'unknown';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment