Old 24th January 2012, 15:59   #1
helios399
Junior Member
 
Join Date: Jan 2011
Posts: 34
admin.cgi XML return with multiple encoders

HI all,

I have 3 encoders (36,48,64 kbs) in the same sc_trans.conf

When my PHP script run this cgi cdm
GET, "/admin.cgi?pass=$pass&sid=".$streamid."&mode=viewxml"
I receive all the "Listeners" for the 3 encoders.

Is there a way to receive the listeners of each encoders ?

It's the same result displayed when I type /admin.cgi?sid=# in a Browser, and I clic on "Listeners" (Summary | Listeners | Song History | Stream Metadata)

Thanks for your advices
helios399 is offline   Reply With Quote
Old 24th January 2012, 16:19   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
it should be showing only what is related to the streamid being queried - i'll log it as something to investigate as time allows (best i can do at the moment).

-daz
DrO is offline   Reply With Quote
Old 24th January 2012, 16:36   #3
helios399
Junior Member
 
Join Date: Jan 2011
Posts: 34
Thanks DrO
It will be very useful for my connexion list in real time
helios399 is offline   Reply With Quote
Old 31st January 2012, 23:26   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
i've had a chance to look at this and i'm not able to replicate the issue with either the public build or the current internal one.

are you absolutely sure that you're not thinking it's incorrectly merging the listeners and is infact actual multiple connections from the same IP, etc? as i've spent the last 30mins trying to replicate this and just cannot not.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
encoder, listeners, xml

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump