Hi ,
you have to edit /srv/http/assets/js/runeui.js
from:
// double click on Library list entry
db.on('dblclick', 'li', function(e) {
var el = $(this);
if (!$(e.target).hasClass('db-action')) {
$('li.active', '#database-entries').removeClass('active');
el.addClass('active');
var path = el.data('path');
// console.log('doubleclicked path = ', path);
if (el.hasClass('db-spotify')) {
path = el.attr('data-plid') + '-' + el.attr('data-path');
getDB({
cmd: 'spaddplay',
path: path,
querytype: 'spotify-track'
});
} else {
path = (el.hasClass('db-dirble')) ? path.split(' | ')[1] : path;
getDB({
cmd: 'addplay',
path: path
});
}
}
});
to:
// double click on Library list entry
db.on('dblclick', 'li', function(e) {
var el = $(this);
if (!$(e.target).hasClass('db-action')) {
$('li.active', '#database-entries').removeClass('active');
el.addClass('active');
var path = el.data('path');
// console.log('doubleclicked path = ', path);
if (el.hasClass('db-spotify')) {
path = el.attr('data-plid') + '-' + el.attr('data-path');
getDB({
cmd: 'spaddplay',
path: path,
querytype: 'spotify-track'
});
} else if (path.startsWith('Webradio')){
getDB({
cmd: 'addreplaceplay',
path: path
});
} else {
path = (el.hasClass('db-dirble')) ? path.split(' | ')[1] : path;
getDB({
cmd: 'addplay',
path: path
});
}
}
});
This also has to be minified (runeui.min.js) or you have to switch to dev mode.
Frank