Changeset 180

Show
Ignore:
Timestamp:
10/21/08 02:03:21 (3 months ago)
Author:
drarok
Message:

* Reduced verbosity so the log doesn't grow massively when nothing is happening.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hellaworld/branches/autonzb/cron.php

    r179 r180  
    1818foreach ($dataset->feed as $feed) { 
    1919        $attrs =& $feed->attributes(); 
    20         echo 'Checking ', $attrs->name, "\n"; 
    2120         
    2221        $atom = new Atom_Feed($attrs->url); 
     
    2625        if ($parsed->episode > $attrs->latest_episode) { 
    2726                // There's a new ep!!! 
    28                 echo sprintf('New ep!!! %s > %s', $parsed->episode, $attrs->latest_episode), "\n"; 
     27                echo sprintf('New episode of %s (%s > %s)', 
     28                                $attrs->name, $parsed->episode, $attrs->latest_episode), "\n"; 
    2929                $nzb_id = end(explode('/', substr($latest->id, 0, -1))); 
    3030                 
     
    3636                } 
    3737        } else { 
    38                 echo 'Same old. '.$parsed->episode, "\n"; 
     38//              echo 'Same old. '.$parsed->episode, "\n"; 
    3939        } 
    4040}