'clear and play' function does not work im volumio 2.129

hi everyone,

today I updated my volumio and facing problem described in topic,

I always use function clear and play to avoid mess in my library, unfortunately with new volumio it doesn’t work.
function ‘detele after playing’ seems to be broken as well.

greets from Poland

correct, can confirm myself and there are other reports. This will be taken care off. Please bear with us.

thanks for your confirmation. I thought that it may even be a hardware problem.
so, I will be waiting for information about corrected version of volumio
at the moment I work with downgraded software,nevertheless it’s fantastic solution!

best regards

I’ve the same issus. Here’s the content of /var/log/volumio.log:

2017-04-06T21:45:17.353Z - info: CoreCommandRouter::volumioStop
2017-04-06T21:45:17.355Z - info: [1491515117354] CoreStateMachine::stop
2017-04-06T21:45:17.356Z - info: [1491515117356] CoreStateMachine::setConsumeUpdateService undefined
2017-04-06T21:45:17.359Z - info: [1491515117358] CorePlayQueue::clearPlayQueue
2017-04-06T21:45:17.360Z - info: [1491515117359] CorePlayQueue::saveQueue
2017-04-06T21:45:17.362Z - info: [1491515117361] CoreStateMachine::pushEmptyState
2017-04-06T21:45:17.363Z - info: CoreCommandRouter::volumioPushState
2017-04-06T21:45:17.364Z - info: CoreCommandRouter::executeOnPlugin: volumiodiscovery , saveDeviceInfo
2017-04-06T21:45:17.367Z - info: [1491515117366] interfaceApi::pushState
2017-04-06T21:45:17.368Z - info: [1491515117367] InterfaceWebUI::pushState
2017-04-06T21:45:17.405Z - info: CoreCommandRouter::volumioPushQueue
2017-04-06T21:45:17.406Z - info: [1491515117405] interfaceApi::pushQueue
2017-04-06T21:45:17.407Z - info: [1491515117407] InterfaceWebUI::pushQueue
2017-04-06T21:45:17.420Z - info: [1491515117419] Play playlist Audiophile Jazz
2017-04-06T21:45:17.426Z - info: Pushing Favourites {“service”:“mpd”,“uri”:"",“favourite”:false}


I think the problem is located in the file /volumio/app/plugins/user_interface/websocket/index.js starting at line 120

connWebSocket.on(‘replaceAndPlay’, function (data) {


I modified the code as follows:

connWebSocket.on('replaceAndPlay', function (data) {
    var timeStart = Date.now();

        return self.commandRouter.stateMachine.playQueue.clearPlayQueue();
          console.log("DATA::::" +JSON.stringify(data));
         // self.commandRouter.playPlaylist(data.title);
         return self.commandRouter.addQueueItems(data);
         return self.commandRouter.volumioPlay(e.firstItemIndex);

I’ve attachted my modified version of the file.

fix.zip (8.12 KB)