View Single Post
Old 17th October 2013, 14:31   #19
DrO
Winamp / SHOUTcast Developer and continuing 3rd Party Plug-in Developer
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 24,385
Quote:
Originally Posted by djcenk View Post
But in sc_serv.log file not write a UID for disconnected users.
Fixed for next build (change had been made but i'd not committed it for some reason ).


Quote:
Originally Posted by Robster400 View Post
Bug/Feature?
Json metadata (admin.cgi?mode=viewjson&page=1&sid=1) holds now/next playing data after source has long since disconnected, and the streams are offline, as reported on admin.cgi.

The data should be cleared if no stream is active, (& populate "songtitle" with 'Offline'?) as it will provide false information that a track is playing when there are no streams, and it makes it tricky to report a offline status with js.
i've debated about that a bit as from testing, the v1 DNAS seemed to provide it in some cases when the source was disconnected and not in other cases (and the xml response does the same thing).

however, that is why there is the 'streamstatus' value to check if it's connected or not as i can see there being cases where knowing the last song, etc can be useful when there's no source connected (i know it's helped under debugging at times).

also you do realise that the url you're querying is the same response as hitting /stats?sid=1&json=1


Quote:
Originally Posted by milosz View Post
Got to study it a little and test it some first, make sure I understand how to make it go.

WOW, what a JOB this must have been coding this!
if you already have a v2 setup, bar any minor issues (like Robster400 has found), it should just be a straight replacement and the same should be the case for replacing with a v1 setup (unless i've missed something as per my notes in the first post).

that's what you get with 2yrs without a public update and me mainly working on it at the weekends in the last year as time allowed.


Quote:
Originally Posted by MrSinatra View Post
I am curious if in a high listener dnas situation, you think a SSD would be better or worse for that? I ask b/c while I swear by SSD in general, I have heard it might not be suited to enterprise/server/multiple r/w IO tasks?
the only time the DNAS needs to hit drive based storage is for logging and even under high listener loads that's not going to be that much compared to the network usage (so not sure why you're asking that). if SSD's weren't suited for high disk usage activity then why are they becoming the norm in that area? am by the question.

Find my plug-ins at http://nunzioweb.com/daz/ and
yes i will still be developing plug-ins for Winamp.


http://winampforum.com/ - Replacement Winamp Forums.
DrO is offline