Skip to content

Commit

Permalink
Fix install end & inactive on start
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
ivesdebruycker committed Dec 1, 2016
1 parent de475a2 commit e57df00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ live_playlists.prototype.onVolumioStart = function () {

live_playlists.prototype.onStart = function () {
var self = this;
var defer = libQ.defer();
self.addToBrowseSources();

return defer.promise;
return libQ.resolve();
}

live_playlists.prototype.handleBrowseUri = function (curUri) {
Expand Down Expand Up @@ -362,6 +360,7 @@ live_playlists.prototype.getTrackInfo = function(path){
live_playlists.prototype.onStop = function () {
var self = this;
//Perform stop tasks here
return libQ.resolve();
};

live_playlists.prototype.onRestart = function () {
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ chown volumio:volumio /data/configuration/music_service/live_playlists/config.js
echo "Install NodeJS dependencies"
( cd /data/plugins/music_service/live_playlists && npm install )

echo "plugin install end"
echo "plugininstallend"

0 comments on commit e57df00

Please sign in to comment.