Ja ist klar, man…
$startnext = file_get_contents ($payload);
Bin ein schwieriger Fall :rolleyes:
Die Cover habe ich direkt in den jeweiligen Ordner der verschiedenen Alben z.B.

Bekomme jetzt noch eine Fehlermeldung, die aber mit Foobar zu tun hat, da er die Datei „foo_httpcontrol_controls_tpl.html“ nicht findet, die aber auch in diesem Template nicht zu finden ist.
string(371) „Invalid requestError reading foo_httpcontrol_data\ajquery\foo_httpcontrol_controls_tpl.htmlCheck foobar2000 console (View/Console) for error details.Open ajquery template“
…wie muss ich das mit den Zusatz Parameter machen die manche Befehle haben?
z.B.
Volume
Set volume level, in percent.
param1=volume level, 0…100
EDIT: Ich habe jetzt mal ein anderes Template ausgewählt und jetzt habe ich folgende Scriptausgabe z.B. bei Play
string(14569) "
foo_httpcontrol-->
Foo_control
<!--
var mouseX = 0;
var p_key = 0;
var act = 0;
function KeyPress(e) {
p_key = e;
if (p_key == 16) // shift -- focus
act = 3;
else if (p_key == 17) // ctrl -- remove
act = 4;
else if (p_key == 81) // q -- enqueue
act = 1;
else if (p_key == 87) // w -- dequeue
act = 2;
else
act = 0;
document.getElementById('Actions').selectedIndex = act;
}
function pad(str, char, count) {
var str_out = str.toString();
while (str_out.length < count)
str_out = char + str_out;
return str_out;
}
function pc(c, p) {
var com = c || ''; var par = p || '';
with (document.cmd_form)
{
cmd.value = com;
param1.value = par;
submit();
}
}
function format_time(time) {
mins = Math.floor(time / 60);
secs = pad(time % 60, '0', 2);
return mins+":"+secs;
}
function set_t_pos(time) {
var str = format_time(time) + " / ";
document.getElementById("t_time").innerHTML = str + ( 0 > 0 ? format_time(0) : '?' );
}
function set_np_width(t_sec, t_length) {
var np_width = document.getElementById("npd").offsetWidth;
np_width = np_width < 100 ? 100: np_width;
document.getElementById('np').style.width=Math.floor(np_width * t_sec / t_length) + "px";
}
function t_playback_timer(t_sec, t_length) {
if (t_sec <= t_length && t_length != 0)
{
set_t_pos(t_sec);
if (t_length != 0)
set_np_width(t_sec, t_length);
setTimeout('t_playback_timer('+(t_sec+1)+','+t_length+')',1000);
}
}
function a(track) { // do a(ction) on clicked entry
if (act == 0) pc('Start', track);
else if (act == 1) pc('EnqueueTrack', track);
else if (act == 2) pc('DequeueTrack', track);
else if (act == 3) pc('MoveCursor', track);
else if (act == 4) pc('Del', track);
}
function np_onclick() {
with (document)
pc('Seek', Math.round((mouseX-getElementById("np").offsetLeft)*100 / (getElementById("npd").offsetWidth)) );
}
function mouse_capture_init() {
if (document.layers? true : false)
captureEvents(Event.MOUSEMOVE)
document.onmousemove = handleMouseMove;
}
function handleMouseMove(evt) {
if (evt)
mouseX=evt.clientX;
else
if (event)
mouseX=event.x;
return false;
}
function fit() {
with (document.getElementById('playlist'))
{
style.position = 'static'; // important for the onresize event
style.overflowY = 'auto';
style.top = offsetTop + 'px';
style.left = offsetLeft + 'px';
style.right = offsetLeft + 'px';
style.bottom = '2px'; // fit this to your taste
style.position = 'absolute';
var npelem = document.getElementById("nowplaying");
if (npelem)
{
scrolltop = npelem.offsetTop - offsetHeight/2;
if (scrolltop > 0)
scrollTop = scrolltop;
}
}
}
document.onkeydown = function(evt) { KeyPress(evt?evt.keyCode:event.keyCode); }
//-->
/*BODY {background: black; color: silver;} /* colors for safety's sake */
DIV#header {position: fixed; top: 0; height: 50px; left: 0; right: 0;
background: black; margin-bottom: 2px; color: white;padding : 0,0,0,0;}
DIV#sidebar {position: fixed; width : 320px; top: 50px; bottom: 0; left: 0;
background: black; margin-right: 2px; color: white;text-align: center;}
DIV#main {position: absolute; top: 50px; bottom: 0; left: 320px; right: 0;
background: black; color: white;padding-left : 10px;}
body {background: #000; color: #fff; font: menu; margin: 0; padding: 0,0,0,0;}
form {margin-top: 10px; padding: 1px;}
div.nob {border-bottom: none;}
/*div, p {padding: 5px 0; margin: 0; line-height: 1.3;}*/
/* form elements */
#controls {margin-top: 5px; margin-bottom: 10px;}
input[type=button] {font: 12px sans-serif; box-sizing: border-box; margin: 3px 0; height: 1.6em; cursor: pointer;}
input[type=checkbox] {font: 12px sans-serif; box-sizing: border-box; margin: 3px 0; height: 1.6em;}
div#controls input[type=image] { vertical-align : middle; padding : 0,0,0,0;margin-right: -5px;}
select {box-sizing: border-box; margin: 3px 0; height: 1.6em; font: 12px sans-serif;}
select[title="Playlists"] {width: 56%; max-width: 400px; min-width: 95px;}
select[title="Playback order"] {width: 36%; max-width: 215px; min-width: 55px;}
/* now playing line */
#npd {border: solid gray 1px; position: relative; padding-right: 6em; white-space: pre-wrap; cursor: move;}
#np {position: absolute; left: 0; top: 0; bottom: 0; width: 0px; opacity: .50; background-color: #aaa;}
#track_title {font: bold 16px sans-serif; font-variant: small-caps; text-shadow: 0px 0px 10px #aaa; padding: 2px;}
#t_time {position: absolute; right: 2px; top: 2px; width: 6em; text-align: right;}
fieldset {margin-top : 10px; padding-top: 10px;}
a, a.current, a.current:hover { color: #555;}
a:hover {text-decoration: none;}
/* cover art */
img {width: 300px; height : 300px; magin-left: 150 px; border: solid #eaeaea 1px;}
/* playlist_pages */
#playlistpage { margin-top : 50px; font-size:12pt;}
/* playlist table */
table {border-collapse: collapse; margin-top: 0px;}
table td {padding: 2px 1px; }
tr.npr td {background: #ccc; color: black ;font-weight: bold;}
.playlist_time {border-top: 1px ; text-align: right;}
/* playlist entries highlight */
tr.o td {background: #000000;} /* o(dd) */
tr.e td {background: #222222;} /* e(ven) */
tr.prev td {border: 1px ;} /* prev(iously played) */
tr.focus td {border: 1px ;} /* focus(ed) */
tr.queue td {background: #red;} /* queue(d) #ecebff */
td.t {text-align: right;} /* t(otal time) */
td.q {text-align: right;} /* q(ueue order) */
Volume Level 10095908580757065605550454035302520151050 %
-->
StartEnqueueDequeueFocusDelete on click
SAC -->
First Previous 1 2 3 Next Last
<!--
with (document)
{
act = 0;
getElementById('Actions').selectedIndex = act;
if (1) { // start progressbar if playing
t_playback_timer(0,0);
if ((0>0))
setTimeout('pc()',(0-0)*1000 + 500);
getElementById('status').innerHTML = '[ Playing ? / 85 ]';
}
else if (0) { // adjust progressbar width if paused
set_np_width(0, 0);
set_t_pos(0);
getElementById('status').innerHTML = '[ Paused ? / 85 ]';
} else { // hide unnecessary track info if stopped
counter = getElementById("counter");
if (counter)
counter.innerHTML = "";
getElementById("status").innerHTML = "[ Stopped ]";
getElementById("npd").style.visibility = "hidden";
}
if (0 ) {
getElementById('status').innerHTML = '[ Enqueuement in progress ] ' + getElementById('status').innerHTML;
setTimeout('pc()',5000);
}
track = getElementById("track_title");
if (track && track.innerHTML == '' && (1 || 0)) // if playing but track info is not loaded yet, reload page
setTimeout('pc()',500);
npp = getElementById("np"); // adjust progressbar width and height, and opacity hack for IE6
if (npp)
with (npp.style) {
// if (getElementById("np").offsetHeight >= 2 )
// height=getElementById("np").offsetHeight*2-2+"px";
// left=getElementById("npd").offsetLeft+"px";
filter = "alpha(opacity=50)";
}
}
//-->
Pink Floyd [Wish You Were Here] 02-Welcome To The Machine7:27Pink Floyd [Wish You Were Here] 03-Have A Cigar5:08Pink Floyd [Wish You Were Here] 04-Wish You Were Here5:40Pink Floyd [Wish You Were Here] 05-Shine On You Crazy Diamond [Part Two]12:23Led Zeppelin [Led Zeppelin CD01] 01-Good Times Bad Times2:47Led Zeppelin [Led Zeppelin CD01] 02-Babe I'm Gonna Leave You6:43Led Zeppelin [Led Zeppelin CD01] 03-You Shook Me6:28Led Zeppelin [Led Zeppelin CD01] 04-Dazed And Confused6:29Led Zeppelin [Led Zeppelin CD01] 05-Your Time Is Gonna Come4:35Led Zeppelin [Led Zeppelin CD01] 06-Black Mountain Side2:13Led Zeppelin [Led Zeppelin CD01] 07-Communication Breakdown2:30Led Zeppelin [Led Zeppelin CD01] 08-I Can't Quit You Baby4:43Led Zeppelin [Led Zeppelin CD01] 09-How Many More Times8:30Martin Dupont [Lost And Late...] 01-Just Because 1985 Remix4:41Martin Dupont [Lost And Late...] 02-No Hands1:43Martin Dupont [Lost And Late...] 03-Wagui3:03Martin Dupont [Lost And Late...] 04-I Love The Lovers3:19Martin Dupont [Lost And Late...] 05-Other Souvenir3:06Martin Dupont [Lost And Late...] 06-Your Passion3:44Martin Dupont [Lost And Late...] 07-Shake Your Flowers2:47Martin Dupont [Lost And Late...] 08-Without Face5:42Martin Dupont [Lost And Late...] 09-Its No Use3:49Martin Dupont [Lost And Late...] 10-Lost And Late3:02Martin Dupont [Lost And Late...] 11-Just Because4:59A Flock Of Seagulls [A Flock Of Seagulls] 01-Modern Love Is Automatic3:49A Flock Of Seagulls [A Flock Of Seagulls] 02-Messages2:52A Flock Of Seagulls [A Flock Of Seagulls] 03-I Ran5:06A Flock Of Seagulls [A Flock Of Seagulls] 04-Space Age Love Song3:47A Flock Of Seagulls [A Flock Of Seagulls] 05-You Can Run4:26A Flock Of Seagulls [A Flock Of Seagulls] 06-Telecommunication2:32
6:30:27
"