Regardless of the xsl files. Can't we communicate with the icecast server directly to retrieve the information ?? On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote:> lluis wrote: > > i need to access the info of the files > > > > /admin/stats.xsl > > /admin/listmounts.xsl > > /admin/listclients.xsl > > > > from a remote machine and i don't want to send every time the admin passwd ... > > > > there is any way to make this info visible in the public /status.xsl page or > > in any other ??? > > All the admin functions sit behind the admin PW, and there's no way that > I've found to separate them, but I had a similar issue. > > I wanted to let other people monitor the connection stats and such of > the stream without giving out the PW. I run a cron job on a remote > machine that gets the stats file every minute (the stats prog we use > needs the stats.xml file) with the admin UN/PW, and everyone then gets > the stats from my remote box without needing the admin PW or having > access to the admin functions. > > -I > _______________________________________________ > Icecast mailing list > Icecast@xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >-- Mohamed Eldesoky www.eldesoky.net RHCE
On Tue, 2005-02-15 at 14:28, Mohamed Eldesoky wrote:> Regardless of the xsl files. > Can't we communicate with the icecast server directly to retrieve the > information ?? > > > > On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote: > > lluis wrote: > > > i need to access the info of the files > > > > > > /admin/stats.xsl > > > /admin/listmounts.xsl > > > /admin/listclients.xsl > > >> > I wanted to let other people monitor the connection stats and such of > > the stream without giving out the PW. I run a cron job on a remote > > machine that gets the stats file every minute (the stats prog we use > > needs the stats.xml file) with the admin UN/PW, and everyone then gets > > the stats from my remote box without needing the admin PW or having > > access to the admin functions.Any of the stats in stats.xsl can be listed via xsl in webroot (eg status.xsl) provided they are not marked as hidden (<hidden>1</hidden>). The information about specific listeners (like IP addressess) are not in the stats so are created specifically for the xsl, so those cannot be done without password access. karl.
I have a patch on icecast-2.2.0 svn version which was written specifically to support SimpleCast users to retrieve the stats for their mountpoint and only that mountpoint. This is based on per mount-point username password. Using HTTP authentication the client can retrieve only http://hostname/admin/stats.xml given the correct username/password. This will only return the stats for that specific mount point in XML format. In this case the XSL can be used safely outside the admin dir referencing the admin/stats.xml using the HTTP authentication. I'm on holiday currently, but I'll post the patch as soon as I get a chance to do so. Cheers, KJ Karl Heyes wrote:>On Tue, 2005-02-15 at 14:28, Mohamed Eldesoky wrote: > > >>Regardless of the xsl files. >>Can't we communicate with the icecast server directly to retrieve the >>information ?? >> >> >> >>On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote: >> >> >>>lluis wrote: >>> >>> >>>>i need to access the info of the files >>>> >>>>/admin/stats.xsl >>>>/admin/listmounts.xsl >>>>/admin/listclients.xsl >>>> >>>> >>>> > > > >>>I wanted to let other people monitor the connection stats and such of >>>the stream without giving out the PW. I run a cron job on a remote >>>machine that gets the stats file every minute (the stats prog we use >>>needs the stats.xml file) with the admin UN/PW, and everyone then gets >>>the stats from my remote box without needing the admin PW or having >>>access to the admin functions. >>> >>> > >Any of the stats in stats.xsl can be listed via xsl in webroot (eg >status.xsl) provided they are not marked as hidden (<hidden>1</hidden>). > >The information about specific listeners (like IP addressess) are not in >the stats so are created specifically for the xsl, so those cannot be >done without password access. > >karl. > > >_______________________________________________ >Icecast mailing list >Icecast@xiph.org >http://lists.xiph.org/mailman/listinfo/icecast > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20050215/e148c4f5/attachment.htm
I don't mind using the password. Just I am asking if there is some sort of protocol to retrieve the information without playing with the xsl !! I mean, to directly retrieve the wanted information, like ME: Get MetaData Server: Celin Dion - All comes back to me. On Tue, 15 Feb 2005 10:22:11 -0800 (PST), Karl Heyes <karl@xiph.org> wrote:> On Tue, 2005-02-15 at 14:28, Mohamed Eldesoky wrote: > > Regardless of the xsl files. > > Can't we communicate with the icecast server directly to retrieve the > > information ?? > > > > > > > > On Mon, 14 Feb 2005 12:58:56 -0500, Ian A. Underwood <agentgrn@dcne.net> wrote: > > > lluis wrote: > > > > i need to access the info of the files > > > > > > > > /admin/stats.xsl > > > > /admin/listmounts.xsl > > > > /admin/listclients.xsl > > > > > > > > I wanted to let other people monitor the connection stats and such of > > > the stream without giving out the PW. I run a cron job on a remote > > > machine that gets the stats file every minute (the stats prog we use > > > needs the stats.xml file) with the admin UN/PW, and everyone then gets > > > the stats from my remote box without needing the admin PW or having > > > access to the admin functions. > > Any of the stats in stats.xsl can be listed via xsl in webroot (eg > status.xsl) provided they are not marked as hidden (<hidden>1</hidden>). > > The information about specific listeners (like IP addressess) are not in > the stats so are created specifically for the xsl, so those cannot be > done without password access. > > karl. > >-- Mohamed Eldesoky www.eldesoky.net RHCE