Old 19th December 2010, 18:15   #1
ptescudier
Junior Member
 
Join Date: Aug 2010
Posts: 6
Shoutcast previously played songs

Does anyone know if it's possible to download a list of songs played from your shoutcast DNAS. It shows 10 songs but I would like to a have much larger list. The data exists somewhere so there must be a way to access it.

Pete
ptescudier is offline   Reply With Quote
Old 19th December 2010, 19:03   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
unless you have access to the server's logs there isn't a way to get everything played since it was started. you can increase it via the 'songhistory' option (at least in v2 DNAS) to a higher value but anything outside of the limit set is then discarded.

-daz
DrO is offline   Reply With Quote
Old 20th December 2010, 03:10   #3
ptescudier
Junior Member
 
Join Date: Aug 2010
Posts: 6
So who has access to the server's logs? As Administrator do I not have access?
ptescudier is offline   Reply With Quote
Old 20th December 2010, 07:46   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
it all depends upon how your server is setup and what level of access you have to the physical log files i.e. you should be able to view then directly if you are running the server on a machine you have full control off. either way, as long as you have the means to log into the admin page exposed from the index.html for the required stream (i.e. having the 'adminpassword') then you can look through the logs that way.

-daz
DrO is offline   Reply With Quote
Old 20th December 2010, 13:55   #5
ptescudier
Junior Member
 
Join Date: Aug 2010
Posts: 6
OK. What I was really looking for was a way to download a list. Not just view them.
I do have admin access.
I want to create, or have access to a "previously played" XML or CSV file. I can do it for a playlist that is broadcasting live from my machine but I would also like to have it when using an autoDJ on my station stream.
If you have a look out my station at http://oldiesalternative.com you will see that I have a previously played list generated from my machine. I would like to do it the same way when using autoDJ.

Pete
ptescudier is offline   Reply With Quote
Old 20th December 2010, 14:38   #6
DrO
 
Join Date: Sep 2003
Posts: 27,873
there is the xml stats through admin.cgi?mode=viewxml&sid=1 which can be parsed to get the song history (same limit applies for the view) via the <SONGHISTORY /> block otherwise that's it i believe on what can be queried via the server.

-daz
DrO is offline   Reply With Quote
Old 20th December 2010, 17:23   #7
ptescudier
Junior Member
 
Join Date: Aug 2010
Posts: 6
Thanks Daz, I'll give it a try.
ptescudier is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Discussions

Tags
now playing, played, shoutcast

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