Re: php and icecast/shoutcast
| From: | Carl Robson | Date: | Tue, 30 May 2000 12:48:33 +0000 |
| Subject: | Re: php and icecast/shoutcast | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-621@lists.php.net to get a copy of this message | ||
I know I'm top posting, but James Thanks,
Will look into it.
Carl
James Lyon <james.lyon@aztec.co.uk> wrote in message
news:3933B3BD.34BA06D8@aztec.co.uk...
> > (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...
>
>
----------------------------------------------------------------------------
----
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net