aboutsummaryrefslogtreecommitdiff
path: root/oworadio/along/index.php
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-09-11 19:42:09 +0200
committerMinteck <nekostarfan@gmail.com>2021-09-11 19:42:09 +0200
commit2c014c29f2cf7a519152937f82ff67c0ef23d84f (patch)
tree158ce653bc4ff3edbb59ce6fbd3f9d94ef594a6a /oworadio/along/index.php
parent067d7fa420f6f07f1a26586f293f92f7f40e3d05 (diff)
downloadmain-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.gz
main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.tar.bz2
main-2c014c29f2cf7a519152937f82ff67c0ef23d84f.zip
Commit
Diffstat (limited to 'oworadio/along/index.php')
-rw-r--r--oworadio/along/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/oworadio/along/index.php b/oworadio/along/index.php
new file mode 100644
index 0000000..e25dcf5
--- /dev/null
+++ b/oworadio/along/index.php
@@ -0,0 +1,3 @@
+<?php
+
+echo((string)json_decode(file_get_contents("http://localhost:8000/status-json.xsl"), true)["icestats"]["source"]["listeners"] - 1); \ No newline at end of file