Getting winamp info

From: Date: Wed, 25 Sep 2002 00:12:21 +0000
Subject: Getting winamp info
Groups: php.windows 
Request: Send a blank email to php-windows+get-15985@lists.php.net to get a copy of this message
Hi, I would like to retrieve some Winamp information from the server running my PHP site. The objective is to show what song Winamp is currently playing (title only) if Winamp is in use. I've tried using WinampCOM but the problem is that even if Winamp is not active, when I load the PHP page, it starts winamp. Here is the sample code I'm using: $winamp = new COM("WinampCOM.Application") or die("Could not instanciate WinampCOM object"); Moreover, I cannot get the $winamp->CurrentSongFileName() to work properly, the function always fails. Anyone know how to interact with Winamp 2 in PHP? (server side only) Thanks, Olivier

« previous php.windows (#15985) next »