diff --git a/package.json b/package.json index b4d0077..a82a418 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "displayName": "Denon TV", "name": "homebridge-denon-tv", - "version": "5.1.9", + "version": "5.1.10", "description": "Homebridge plugin to control Denon/Marantz AV Receivers.", "license": "MIT", "author": "grzegorz914", diff --git a/src/mainzone.js b/src/mainzone.js index e355ab0..db7bc05 100644 --- a/src/mainzone.js +++ b/src/mainzone.js @@ -388,7 +388,7 @@ class MainZone extends EventEmitter { return true; } catch (error) { - await this.openwebif.impulseGenerato.stop(); + await this.denon.impulseGenerato.stop(); throw new Error(`Start error: ${error.message || error}, check again in 15s.`); }; }; diff --git a/src/surround.js b/src/surround.js index 4200d2b..874a43d 100644 --- a/src/surround.js +++ b/src/surround.js @@ -356,7 +356,7 @@ class Surround extends EventEmitter { return true; } catch (error) { - await this.openwebif.impulseGenerato.stop(); + await this.denon.impulseGenerato.stop(); throw new Error(`Start error: ${error.message || error}, check again in 15s.`); }; }; diff --git a/src/zone2.js b/src/zone2.js index 5e0dcf2..88ae137 100644 --- a/src/zone2.js +++ b/src/zone2.js @@ -386,7 +386,7 @@ class Zone2 extends EventEmitter { return true; } catch (error) { - await this.openwebif.impulseGenerato.stop(); + await this.denon.impulseGenerato.stop(); throw new Error(`Start error: ${error.message || error}, check again in 15s.`); }; }; diff --git a/src/zone3.js b/src/zone3.js index 3b617c7..d3c3205 100644 --- a/src/zone3.js +++ b/src/zone3.js @@ -386,7 +386,7 @@ class Zone3 extends EventEmitter { return true; } catch (error) { - await this.openwebif.impulseGenerato.stop(); + await this.denon.impulseGenerato.stop(); throw new Error(`Start error: ${error.message || error}, check again in 15s.`); }; };