time of last song

Discuss Shoutcast streaming here, any issues, advice or tips are welcome
Forum rules
Please don't use the forums to report outages, particularly if you are a FreeStreamHosting.org user.

time of last song

Postby ptescudier » Sat 16th Oct, 2010 2:55 pm

Hi, I've noticed that the history pages indicate the time a song was played . Does anyone know if it's possible to retrieve that time data from the server?

The reason I would like this is because I have been having player crashes & would like to directly input this information into my web page. I need a way to retrieve the time the last successful song was played.

Thanks
Pete
http://oldiesalternative.com
The best in hard to find oldies
ptescudier
 
Posts: 3
Joined: Mon 05th Jul, 2010 3:37 pm

Re: time of last song

Postby Gavin » Sat 16th Oct, 2010 5:46 pm

Hi Pete,

The times may not always be accurate, but you can get them from the XML stats if you can find/write a script to grab the XML output.

A quick search on Google for 'shoutcast xml' should come up with plenty of information.
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: time of last song

Postby ptescudier » Mon 18th Oct, 2010 6:33 pm

Thanks Gavin,
I was able to get it working from the XML file.
I have it working now.

Pete
http://oldiesalternative.com
The best in hard to find oldies
ptescudier
 
Posts: 3
Joined: Mon 05th Jul, 2010 3:37 pm


Return to Streaming Discussion

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

cron