diff --git a/common/src/main/java/ctbrec/recorder/download/hls/AbstractHlsDownload.java b/common/src/main/java/ctbrec/recorder/download/hls/AbstractHlsDownload.java index ab10fd53..a75de795 100644 --- a/common/src/main/java/ctbrec/recorder/download/hls/AbstractHlsDownload.java +++ b/common/src/main/java/ctbrec/recorder/download/hls/AbstractHlsDownload.java @@ -167,7 +167,6 @@ public abstract class AbstractHlsDownload extends AbstractDownload { } protected void handleHttpException(HttpException e) throws IOException { - consecutivePlaylistErrors++; if (e.getResponseCode() == 404) { checkIfModelIsStillOnline("Playlist not found (404). Model {} probably went offline. Model state: {}"); } else if (e.getResponseCode() == 403) { @@ -194,7 +193,7 @@ public abstract class AbstractHlsDownload extends AbstractDownload { return; } try { - LOG.debug("Trying to update playlist URL after waiting {}ms", A_FEW_SECONDS); + LOG.debug("Waiting {}ms before trying to update the playlist URL", A_FEW_SECONDS); waitSomeTime(A_FEW_SECONDS); segmentPlaylistUrl = getSegmentPlaylistUrl(model); } catch (Exception e) {