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 

Playlist like shoutcast

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






PostPosted: Thu Sep 01, 2005 3:08 am    Post subject: Playlist like shoutcast Reply with quote

I am wondering how to start doing this or if its available online, which I tried searching and I failed.

I was using shoutcast for my personal website. I placed statistics like the last 10 songs played. I did that by connecting to the admin interface in php and just grab the info and thats all.
People on irc recommended to use icecast, so today I was trying it out. I really liked it, and I seen alot of scripts in this forum that does nice things:).

So It there a php script out there that grabs the last 10 songs in playlist, and the current song being played, if not where can I access the information about those stats so I could make a script myself...

thanks for you time:)
Back to top
Anonymous
Guest





PostPosted: Tue Oct 25, 2005 8:03 pm    Post subject: Reply with quote

I'm using a cron job to run a php script that parses the http://mysite.com:8000/admin/stats.xml and records to database every minute.

Because the server is on the same machine as my site and it's using the xml stats rather than the full blown stats page it's fairly lightweight.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Oct 25, 2005 9:39 pm    Post subject: Reply with quote

With 2.3, you can also connect as a stats client and monitor events that come through, a simple example can be done with

curl -X STATS http://admin:pw@host:port/

This will probably be extended on in later releases but it may prove useful to some.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Wed Mar 08, 2006 4:33 am    Post subject: Reply with quote

Yes I would also like to post a listing of the last 10 songs/artists played.
What is the best way to do this?
Could this be implemented in the next release?
Back to top
mystery
Guest





PostPosted: Fri Apr 28, 2006 5:48 pm    Post subject: Reply with quote

I'm also interested in this functionality. Has anyone found a solution?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Apr 28, 2006 9:27 pm    Post subject: Reply with quote

There is a playlist log that can be processed as well. Just get the last 10 lines of updates relating to the mountpoint you want.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Casper5x



Joined: 20 Feb 2009
Posts: 1

PostPosted: Fri Feb 20, 2009 7:05 pm    Post subject: Reply with quote

Can someone provide a working script link for this?

I need something like this urgently..
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 -> Feature Requests 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