View Single Post
Old 16th May 2020, 22:26   #1
good2see
Junior Member
 
Join Date: May 2020
Posts: 2
backupstatus status on Shoutcast stream JSON data

Hi,

I am calling below page while iI am hearing the backup file sound live but it says "backupstatus":0. I guess it must be 1 while backup file playing. Is it a bug?!

HTML Code:
http://XXX:8000/statistics?json=1
HTML Code:
{"totalstreams":1,"activestreams":1,"currentlisteners":2,"peaklisteners":3,"maxlisteners":512,"uniquelisteners":2,"averagetime":199,"version":"2.6.0.753 (posix(linux x64))","streams":[{"id":1,"currentlisteners":2,"peaklisteners":3,"maxlisteners":512,"uniquelisteners":2,"averagetime":399,"servergenre":"N/A","servergenre2":"","servergenre3":"","servergenre4":"","servergenre5":"","serverurl":"N\/A","servertitle":"This is my server name","songtitle":"","streamhits":5,"streamstatus":1,"backupstatus":0,"streamlisted":0,"streamlistederror":808464689,"streampath":"\/1","streamuptime":376,"bitrate":"48","samplerate":"44100","content":"audio\/mpeg"}]}
code:

adminpassword=xx
password=xx
requirestreamconfigs=1
streamadminpassword_1=xx
streamid_1=1
streampassword_1=xxx
streampath_1=1
streambackupfile_1=/root/backup_audio/backup-48.mp3
streambackuploop_1=10
logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip

good2see is offline   Reply With Quote