View Single Post
Old 28th May 2017, 03:05   #1
midiwriter
Member
 
midiwriter's Avatar
 
Join Date: Dec 2005
Posts: 99
No "ct" attribute showing in XML response

SHOUTcast DNAS/win64 v2.5.1.724 (Jan 27 2017);
Shoutcast Source DSP v2.3.5(Build 222);
Winamp v5.666 Build 3516 (x86);

See screenshot:


As you can see the "ct" attribute is not showing here, but when going to http://x.x.x.x:8000/stats?sid=1 which is the station's external ip address, it shows fine. My objective is to pull the "ct" data via parsing the XML. Why isn't this attribute there? I've spent a whole day on this. In the Shoutcast DSP I have Titles enabled. My sc_serv.conf looks like this:

adminpassword=password
password=password2
requirestreamconfigs=1
streamadminpassword_1=password3
streamauthhash_1=xxxxxxxxxxxxxxxxx
streammaxuser_1=512
streampassword_1=password4
streampath_1=http://listen.shoutcast.com/xxxxxxxx
TitleFormat= %s
publicserver=always
DestIP=ANY
portbase=8000
logfile=logs\sc_serv.log
w3clog=logs\sc_w3c.log

Typical entry from the DNAS (no errors):

2017-05-27 18:48:59 INFO [SRC 127.0.0.1:53219 sid=1] Title update [now: "Isao Tomita - Ethereal View", next: "Isao Tomita - Winds of Great Plains"]
2017-05-27 18:51:51 INFO [SRC 127.0.0.1:53219 sid=1] Title update [now: "Isao Tomita - Winds of Great Plains", next: "Isao Tomita - Winds of Great Plains"]
2017-05-27 18:51:55 INFO [YP] Updating listing details for stream #1 succeeded.
2017-05-27 18:56:33 INFO [SRC 127.0.0.1:53219 sid=1] Title update [now: "Isao Tomita - Winds of Great Plains", next: "Isao Tomita - Requiem of Plains"]

Opened ports 8000-8001 (port forwarding) on my router.

Am I on the right site?
Let me know if you need more info.
Please help because I have tried everything.
midiwriter is offline   Reply With Quote