From 9f4529d5a5f6a37562f1d93b35f44bbc8f53c543 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 11 Nov 2021 14:47:06 +0000 Subject: [PATCH] include wanted playlist size when reporting its current state --- bin/mpd-feeder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mpd-feeder b/bin/mpd-feeder index d6f5d6f..1d0e233 100755 --- a/bin/mpd-feeder +++ b/bin/mpd-feeder @@ -399,7 +399,8 @@ SQL sub { my $present = scalar @{ $_[0] }; - $log->notice("Playlist contains $present songs"); + $log->notice( "Playlist contains $present songs. Wanted: " + . $opt->target_queue_length ); if ( $present < $opt->target_queue_length ) { $self->queue_songs( $opt->target_queue_length - $present, $callback ); -- 2.39.5