Skip to content

Commit

Permalink
additional logging so we are not flying blind
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel committed Feb 12, 2015
1 parent e8b8858 commit 6394652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ sub commandCallback {
$iOldPlayState{$client} = $iPlay;

$log->debug( " New power state is " . $iPower . " and old power state was " . $iPowerOld);
$log->debug( " New play state is " . $iPlay . " and old play state was " . $iPowerOldPlay );
$log->debug( " New play state is " . $iPlay . " and old play state was " . $iPlayOld );

# Compare new power state with last known power state run external component power script
if( $iPowerOld ne $iPower) {
Expand All @@ -1403,7 +1403,7 @@ sub commandCallback {
}

if( $iPlayOld eq 'play' && not( $iPlay eq 'play' ) ) {
$log->debug( $client->name() . " handle IR command for change to playing state.");
$log->debug( $client->name() . " handle IR command for change to paused state.");
handlePause( $client );
}

Expand Down

0 comments on commit 6394652

Please sign in to comment.