}
break;
default:
- logger.warn("Unknown Command {} from channel {}", command, channel);
+ logger.debug("Unknown command {} from channel {}", command, channel);
break;
}
} catch (OppoException e) {
- logger.warn("Command {} from channel {} failed: {}", command, channel, e.getMessage());
+ logger.debug("Command {} from channel {} failed: {}", command, channel, e.getMessage());
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, "Sending command failed");
closeConnection();
scheduleReconnectJob();
updateChannelState(CHANNEL_SUBTITLE_TYPE, UNDEF);
}
updateChannelState(CHANNEL_PLAY_MODE, playStatus);
+ updateState(CHANNEL_CONTROL,
+ PLAY.equals(playStatus) ? PlayPauseType.PLAY : PlayPauseType.PAUSE);
// ejecting the disc does not produce a UDT message, so clear disc type manually
if (OPEN.equals(playStatus) || NO_DISC.equals(playStatus)) {
}
} catch (OppoException | InterruptedException e) {
- logger.warn("Polling error: {}", e.getMessage());
+ logger.debug("Polling error: {}", e.getMessage());
}
// if the last event received was more than 1.25 intervals ago,
connector.sendCommand(OppoCommand.REWIND);
}
} else {
- logger.warn("Unknown control command: {}", command);
+ logger.debug("Unknown control command: {}", command);
}
}