![]() |
#1 |
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 |
![]() |
![]() |
![]() |
#2 |
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 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Aug 2010
Posts: 6
|
So who has access to the server's logs? As Administrator do I not have access?
|
![]() |
![]() |
![]() |
#4 |
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 |
![]() |
![]() |
![]() |
#5 |
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 |
![]() |
![]() |
![]() |
#6 |
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 |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Aug 2010
Posts: 6
|
Thanks Daz, I'll give it a try.
|
![]() |
![]() |
![]() |
|
Tags |
now playing, played, shoutcast |
Thread Tools | Search this Thread |
Display Modes | |
|
|