How to parse json and should still auto update?

{ "/ArReTrans": { "name" : "", "listeners" : "0", "description" : "", "title" : "", "genre" : "", "url" : "" }, "/efir": { "name" : "Unspecified name", "listeners" : "3", "description" : "Unspecified description", "title" : "Russian folk - Katyusha", "genre" : "various", "url" : "https://www.test.ru" } }

this information in this form managed to get on the website by inserting the code:
<?php
$s = file_get_contents("http://music.test.ru:8000/info.xsl");
echo($s);
?>

As in scripts I do not know much about me, tell me:
How to display in the div - Russian folk - Katyusha (the title track), and that it is updated when changing songs or every 10 seconds for example (i.e. without rebooting).
June 8th 19 at 17:17
0 answer

Find more questions by tags Web Development