+ function radioTitle() {
+ console.log("radioTitle");
+ var url = 'http://radio.wpitchoune.net:8080/current.xsl';
+ var mountpoint = '/mp3';
+
+ $.ajax({ type: 'GET',
+ url: url,
+ async: true,
+ jsonpCallback: 'parseMusic',
+ contentType: "application/json",
+ dataType: 'jsonp',
+ success: function (json) {
+ $('#track-title').text(json[mountpoint].title);
+ }, error: function (e) { console.log(e.message);
+ }
+ });
+ }
+