Skip to content

Commit

Permalink
Server: log plays to stderr
Browse files Browse the repository at this point in the history
The old xqpd did this, and it was nice to be able to peek
back through it later. Perhaps it's redundant, as you could
easily make a 'play' notification hook to do this, but
whatever. My users can complain if they want.
  • Loading branch information
peff committed Oct 3, 2011
1 parent e278580 commit e123638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions XQP/Server.pm
Expand Up @@ -36,6 +36,7 @@ sub check_queue {
$self->{current} = shift @{$self->{queue}};
$self->_qnotify;
$self->_notify(play => $self->{current});
print STDERR "play $self->{current}\n";
$self->{player}->set_file($self->{current});
$self->{player}->play;
}
Expand Down

0 comments on commit e123638

Please sign in to comment.