Old 22nd December 2017, 23:43   #1
Jannes01
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?
Jannes01 is offline   Reply With Quote
Old 23rd December 2017, 12:31   #2
neralex
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.
neralex is offline   Reply With Quote
Old 24th December 2017, 19:01   #3
Jannes01
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
Jannes01 is offline   Reply With Quote
Old 25th December 2017, 06:49   #4
neralex
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.
neralex is offline   Reply With Quote
Old 31st December 2017, 14:01   #5
Jannes01
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?
Jannes01 is offline   Reply With Quote
Old 31st December 2017, 14:15   #6
neralex
Major Dude
 
Join Date: Mar 2011
Posts: 576
http://forums.winamp.com/showpost.ph...03&postcount=2
neralex is offline   Reply With Quote
Old 6th February 2018, 20:03   #7
Jannes01
Junior Member
 
Join Date: Aug 2017
Posts: 13
still haven't find what i am looking for.
But a long time ago, there was this thread.. click
This is looking very promising, anyone have this script in full?
Jannes01 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Tags
dj photo 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