![]() |
#1 |
Junior Member
Join Date: Aug 2017
Posts: 13
|
Script for online dj photo
Hi All,
I am searching for a script that shows the picture of the current online dj. So the script must look at the shoutcast xml data and then must recognize a couple of words in the metadata or something, and then shows the dj picture. I know there is a script somewhere, but i cant find it. Who can help me? |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Mar 2011
Posts: 576
|
You can't modify the stats xml-files.
![]() These files are using the ID3 (v1, v2) meta-data from the files like mp3. You are only able to override the stream-title with a string like this: "Artist - Trackname". All other things are maybe working on the web-server but not with SHOUTcast DNAS. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Aug 2017
Posts: 13
|
I dont want to modify the xml file...
I'm looking for a script that reads the SC stats page en looks for the current song title. When a Dj is live, then it must display a picture of him/her. So if a dj is streaming his name to his server, the current song should be something like: Now on air - Dj Winamp with the greatest hits, then a picture of Dj Winamp must show on the site |
![]() |
![]() |
![]() |
#4 |
Major Dude
Join Date: Mar 2011
Posts: 576
|
Here on these forums you will find many scripts, which are reading the DNAS xml-stats like stream-title, listener-counts etc. You can also read the /docs/ of the DNAS download package, there you will find all infos about the XML/JSONP stats but please note - there is no way to pass a "picture" over the stats (XML, JSONP). If you source the DNAS you can only send a stream-title - NO pictures. So again - you can't do this only with the DNAS. Together with a webserver you can do it on many ways... PHP, MySQL, JSONP etc. But for that you need the knowledge how to handle this. There is no single-script, which you can upload and all is fine. This is custom coded stuff.
![]() |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Aug 2017
Posts: 13
|
Thanks for your answer.
I know it's custom stuff, but i cant find any script that im looking for, so i can modify it a little bit. Can you provide me a link? |
![]() |
![]() |
![]() |
#6 |
Major Dude
Join Date: Mar 2011
Posts: 576
|
|
![]() |
![]() |
![]() |
|
Tags |
dj photo shoutcast |
Thread Tools | Search this Thread |
Display Modes | |
|
|