Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

php code to fetch listener stats with admin password

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
gee2803



Joined: 11 Aug 2006
Posts: 48

PostPosted: Fri Nov 18, 2011 1:16 pm    Post subject: php code to fetch listener stats with admin password Reply with quote

Hello,

does anyone have a php script to fetch listener stats by using the admin password?

At the moment I am collecting data via cURL request of the status.xsl, but this is not a good solution.

E.g. Sam Broadcaster needs the admin password to collect data. So I think there might be a script solution.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Thu Nov 24, 2011 9:46 pm    Post subject: Reply with quote

Hi,

Most PHP scripts use php-Curl or php-http to fetch info.

Clients such as IDJC or (maybe SAM which I don't practise,not using windows) also use curl like routines.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gee2803



Joined: 11 Aug 2006
Posts: 48

PostPosted: Thu Nov 24, 2011 10:40 pm    Post subject: Reply with quote

Thank you for your response.

I am fetching data via cURL from the admin section now. This works great and has all data I need.

I am using this script
http://www.streamfirma.de/forum/webentwicklung/10-hoererzahlen_auslesen_fuer_icecast.html#17
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber