Re: php and icecast/shoutcast

From: Date: Tue, 30 May 2000 12:27:41 +0000
Subject: Re: php and icecast/shoutcast
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-613@lists.php.net to get a copy of this message
> (either flat text file or mysql), Hooray for MySQL ... it's the best :-) > however one of the projects I have in mind is creating a public frontend to > list any audio streams running as online radio stations, on a particular > icecast server (Icecast can support multiple streams/mounts on the same > server). > The plan is to query the servers sources url from it's own admin page, > i.e > http://192.168.2.150:8000/admin?mode=sources > > This produces a page that contains details of all sources, which I imagine I > could capture as an array. Yes, there are PHP functions for reading HTML files and doing basic parsing on them, to skip header information (or read it), strip tags, then you can search for what you want, or whatever. > I would need an array for each for each station, as well as each station > being part of what I would imagine would be a bigger array containing all > the stations ( does the last part make as little sense to you as it does to > me as I write it?) maybe a small diagram would help. > > Stations > > Rock station one > Genre > Admin email > url > mount point > current track > Rock station two > Genre > Admin email > url > mount point > current track > Rap station one > Genre > Admin email > url > mount point > current track > > Etc for each mounted stream? > > Can any one give some hints, suggestions, code snippets etc that would > innitially allow me to display the details via PHP, then as I develop this > project allow me to, select the array elements I need such as IP > address:port/mount point , to create a stream address, Just like the chap asked about earlier regarding SQL Keywords stored in a table, grouped by ID -- if you can't find the postings I can forward them for you...

« previous php.general (#613) next »