marcoc1712 wrote: > Does it really works in firefox? I'm not able to make it add the button, > I get the alert "edit the scrpt before..." so is running, but if I edit > the script, delete the alert line and complete other lines with the > server IP and the player mac address it does nothing, no buttons > appears. > > Coul dbe the auth? In wich form is suposed to be ? user / passw ? > > thanks for any help.
it was working forme and i did exactly se same way as you (no user, no passw). For thos who want to use it with chrome I finaly found the solution using "Violent monkey" and with the following script: ------- // ==UserScript== // @name Qobuz // @namespace Violentmonkey Scripts // @grant none // ==/UserScript== // @match http://www.qobuz.com/*/album/* // @match http://www.qobuz.com/*/telechargement-album-mp3/* // @include http://www.qobuz.com/*/album/* // @include http://www.qobuz.com/*/telechargement-album-mp3/* // // Pierre Beck 11/2012 Creation // Pierre Beck 11/2014 Modification to match qobuz change on their pages architecture // // needs SqueezeboxQobuz plugin v1.70+ // http://forums.slimdevices.com/showthread.php?97146-Qobuz-com-streaming-plugin // https://github.com/pierrepoulpe/SqueezeboxQobuz/downloads // // ==/UserScript== //alert("Edit SqueezeboxQobuz.user.js before using it!"); return; // delete this line, uncomment and edit the next ones const squeezeBoxServer = "daphile.local:9000"; const multiPlayerSuffix = ""; //"&player=04:00:20:12:45:AB" const multiPlayerAuth = ""; //&cauth=xxxxxx" var albumIdentifier = document.querySelector("#item > div.action > span.btnLike").getAttribute("data-item-id"); var divListen = document.querySelector("#buyIt > div.actListen"); var newA = document.createElement("a"); newA.href="#"; var language = window.navigator.language.substr(0,2); switch (language) { case "fr": newA.innerHTML = "avec la SqueezeBox"; break; default: newA.innerHTML = "with the SqueezeBox"; break; } newA.className = "btn btn-green" newA.onclick = function(){ var iframe = document.createElement("iframe"); iframe.style.display = "none"; iframe.src = "http://" + squeezeBoxServer + "/status.html?p0=qobuz&p1=playalbum&p2=" + albumIdentifier + multiPlayerSuffix + multiPlayerAuth; this.parentNode.appendChild(iframe); return false; }; divListen.appendChild(newA); ------------ As you can see, the script is identical to the Grease monkey'one except the additional 4 first lines which were apparently required by Violent monkey plugin. Don't ask me why it works, I do not know (I am not informatician): I just did a copy (of the greasemonkey script) to the tampermonkey editor. PS: daphile.local has to be replaced by the IP of your LMS server of course ------------------------------------------------------------------------ pnaga's Profile: http://forums.slimdevices.com/member.php?userid=58031 View this thread: http://forums.slimdevices.com/showthread.php?t=97146 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins