forked from j62/ctbrec
Change log levels in determineResolution() to debug
This commit is contained in:
parent
df3e87f1dd
commit
afe482dfe1
|
@ -281,7 +281,7 @@ public class ThumbCell extends StackPane {
|
||||||
try {
|
try {
|
||||||
updateResolutionTag(resolution);
|
updateResolutionTag(resolution);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e.getLocalizedMessage());
|
LOG.debug("Couldn't update resolution tag for model {} - {}", model.getName(), e.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -302,17 +302,17 @@ public class ThumbCell extends StackPane {
|
||||||
|
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
} catch (IOException e1) {
|
} catch (IOException e1) {
|
||||||
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e1.getLocalizedMessage());
|
LOG.debug("Couldn't update resolution tag for model {} - {}", model.getName(), e1.getLocalizedMessage());
|
||||||
} catch(InterruptedException e1) {
|
} catch(InterruptedException e1) {
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e1.getLocalizedMessage());
|
LOG.debug("Couldn't update resolution tag for model {} - {}", model.getName(), e1.getLocalizedMessage());
|
||||||
} catch(ExecutionException e) {
|
} catch(ExecutionException e) {
|
||||||
if(e.getCause() instanceof EOFException) {
|
if(e.getCause() instanceof EOFException) {
|
||||||
LOG.warn("Couldn't update resolution tag for model {}. Playlist empty", model.getName());
|
LOG.debug("Couldn't update resolution tag for model {}. Playlist empty", model.getName());
|
||||||
} else if(e.getCause() instanceof ParseException) {
|
} else if(e.getCause() instanceof ParseException) {
|
||||||
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e.getMessage());
|
LOG.debug("Couldn't update resolution tag for model {} - {}", model.getName(), e.getMessage());
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("Couldn't update resolution tag for model {} - {}", model.getName(), e.getMessage());
|
LOG.debug("Couldn't update resolution tag for model {} - {}", model.getName(), e.getMessage());
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
ThumbOverviewTab.resolutionProcessing.remove(model);
|
ThumbOverviewTab.resolutionProcessing.remove(model);
|
||||||
|
|
Loading…
Reference in New Issue