From d8a5a9f79b7dbb7ecb20786acc1b3b1949031fb0 Mon Sep 17 00:00:00 2001 From: Stephan Fuhrmann Date: Mon, 1 Jan 2024 11:21:25 +0100 Subject: [PATCH] Make more clear that we're waiting for the next song --- .../sfuhrm/radiorecorder/consumer/StreamCopyConsumer.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/de/sfuhrm/radiorecorder/consumer/StreamCopyConsumer.java b/src/main/java/de/sfuhrm/radiorecorder/consumer/StreamCopyConsumer.java index 5c3559f..666c985 100644 --- a/src/main/java/de/sfuhrm/radiorecorder/consumer/StreamCopyConsumer.java +++ b/src/main/java/de/sfuhrm/radiorecorder/consumer/StreamCopyConsumer.java @@ -238,11 +238,7 @@ protected void __accept(HttpConnection t, InputStream inputStream) { outputStream.get().write(buffer, 0, len); } else { if (!dropMsgWritten) { - if (metaData != null) { - log.info("Dropping bytes of incomplete title {}", metaData); - } else { - log.info("Dropping bytes, no file name yet"); - } + log.info("Dropping bytes of incomplete file, waiting for next song"); } dropMsgWritten = true; }