Skip to content

Commit

Permalink
Fix node to work with latest Node-RED
Browse files Browse the repository at this point in the history
Also fix links in package.json and remove link from readme.md
  • Loading branch information
hardillb committed Aug 25, 2022
1 parent 23c2c8c commit 7343206
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-play-audio-file",
"version": "0.0.1",
"version": "0.0.2",
"description": "Play an audio file",
"dependencies": {
"soundplayer": "*"
Expand All @@ -13,9 +13,8 @@
],
"repository": {
"type": "git",
"url": "git:https://github.com/sbrennion/node-red-contrib-play-audiofile.git"
"url": "https:https://github.com/LeanBI/node-red-contrib-play-audiofile"
},
"homepage": "https://leanbi.ch/big-data/",
"node-red": {
"nodes": {
"play-audio-file": "play_audio_file.js"
Expand Down
3 changes: 1 addition & 2 deletions play_audio_file.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = function(RED) {

function Play_audio_file(config) {
this.log("test")
RED.nodes.createNode(this,config);
var node = this;
//this.status({fill:"red",shape:"dot",text:"not started"});
Expand Down Expand Up @@ -33,4 +32,4 @@ module.exports = function(RED) {


RED.nodes.registerType("play_audio_file",Play_audio_file);
}
}
1 change: 0 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ One of the CLI based audio player
specify the audio file name to play in the config or in the message header : msg.filename=/home/me/file.mp3


[link](https://leanbi.ch/big-data/ "leanbi")

0 comments on commit 7343206

Please sign in to comment.