Skip to content

Commit

Permalink
fix: minor tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 23, 2023
1 parent d5b8dc8 commit ce8aef4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 254 deletions.
12 changes: 0 additions & 12 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ class SoundrInstance extends InstanceBase {
}
}

checkConnection() {
if (this.isReady) {
bent('GET', 200, 'http://' + this.config.host + ':' + this.config['port'] + '/v1/list', 'json')()
.then(function handleList(body) {
tThis.changeStatus(InstanceStatus.Ok)
})
.catch(function handleError(err) {
tThis.updateStatus(InstanceStatus.ConnectionFailure)
})
}
}

updateVariables() {
const tThis = this
if (this.isReady) {
Expand Down
223 changes: 0 additions & 223 deletions newMain.js

This file was deleted.

20 changes: 1 addition & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
{
"name": "pnh-soundr",
<<<<<<< HEAD
"version": "1.0.0",
=======
"version": "1.0.2",
"api_version": "1.0.0",
"keywords": [
"Software",
"Soundr",
"Sound"
],
"manufacturer": "[Project-Name-Here]",
"product": "Soundr",
"shortname": "soundr",
"description": "Module to control Soundr",
"homepage": "example.com",
"bugs": {
"url": "example.com"
},
>>>>>>> 2e0aec79605164d580acab56eca6ab4b28f47deb
"version": "2.0.1",
"repository": {
"type": "git",
"url": "git+github.com/bitfocus/companion-module-pnh-soundr.git"
Expand Down

0 comments on commit ce8aef4

Please sign in to comment.