Changeset 1403

Show
Ignore:
Timestamp:
08/19/06 17:41:40
Author:
miyagawa
Message:

iTunesMac: sleep

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Notify/Audio/iTunesMac.pm

    r1401 r1403  
    66 
    77sub play { 
    8     my($self, $filename) = @_; 
     8    my($self, $filename, $length) = @_; 
    99 
    1010    my $playlist = ref $self; 
     
    1414    $itunes->add_track($filename, $playlist); 
    1515    $itunes->play_track(1, $playlist); 
     16    sleep $length; 
    1617} 
    1718