View Single Post
Old 16th January 2019, 16:54   #7
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,491
@PARALAX:

Do you have any screenshots of what your output looks like? @neralex is right, but there are scripts that get both the admin and public stats, so i can present the data to your html in pretty much the same way.

Another thing, with respect to the DJ Name stuff, you could create that with php and a hard file, or you can use a v2 source which provides a dj field (it also may be possible to update the dj via admincgi, similar to a track title update, so that it can be retrieved via public stats.html).

when i get something running I'll post a link or code for you to try.

edit:add the admin.cgi to update DJ name:
code:
admin.cgi?sid=#&pass=<passsword>&mode=updinfo&dj=<the_dj_name>


edit:add2 after doing the above, your /stats?sid=# will look like this... http://digitalmix.ddns.net:30011/stats?sid=2
djSpinnerCee is offline   Reply With Quote