Hi there i enqueue my mp3file with,
this little thing below...
it only works if target and webserver are the same..
In winamp i set enqueue as default action..
I think it would work with order players too.
The clue is that you have to generate a pls or m3u file to.
for questions mail me...
i although work on a programm like yours maybe we can work together on one really cool application
<?
header("Content-Type: audio/mpeg");
header("Content-Disposition: inline; filename=enqueue.pls");
require_once("./config.inc.php");
require_once("./db_connect.inc.php");
if (isset($id)){
$search_sql = "select * from main where id = '".$id."'";
$res = mysql_query($search_sql);
while ($row = mysql_fetch_array($res)){
?>
[playlist]
File1=<? echo $row['path2file']."\r\n"; ?>
Title1=<? echo $row['artist']." - ".$row['title']."\r\n"; ?>
Length1=125<? echo "\r\n"; ?>
NumberOfEntries=1<? echo "\r\n"; ?>
Version=2<? echo "\r\n"; ?>
<?
}
}
?>