diff --git a/jvc_projector/jvc_projector.py b/jvc_projector/jvc_projector.py index 9347e8d..b3bac4b 100644 --- a/jvc_projector/jvc_projector.py +++ b/jvc_projector/jvc_projector.py @@ -225,7 +225,9 @@ def _send_command( """ # Check commands self.logger.debug("Command_type: %s", command_type) - self.logger.debug("Send command: %s is of type %s", send_command, type(send_command)) + self.logger.debug( + "Send command: %s is of type %s", send_command, type(send_command) + ) self.logger.debug("Send ack: %s", ack) if command_type == Header.reference.value: return self._do_command(send_command, ack, command_type) @@ -238,7 +240,7 @@ def _send_command( return self.emulate_remote(value) except ValueError: return f"No value for command provided {send_command}", False - + for cmd in send_command: cons_command, ack = self._construct_command(cmd, command_type) if not ack: @@ -248,9 +250,6 @@ def _send_command( return self._do_command(cons_command, ack.value, command_type) else: - str_cmd = send_command.split(",") - if "remote" in str_cmd[0]: - return self.emulate_remote(str_cmd[1]) try: cons_command, ack = self._construct_command(send_command, command_type) except TypeError: diff --git a/setup.py b/setup.py index e5e7e23..4046726 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="jvc_projector_remote_improved2", - version="3.6.4", + version="3.6.5", author="iloveicedgreentea", description="A package to control JVC projectors over IP", long_description=long_description,