X-Git-Url: https://git.rvb.name/mpd-web.git/blobdiff_plain/e05325ceb8b812fc40b7c3475c59602dde9efdae..1f9cd46f82e950d6849000bb2cd64b51cfa99ffb:/ajax/trackinfo.php?ds=inline diff --git a/ajax/trackinfo.php b/ajax/trackinfo.php index e5cc464..f1c4b36 100644 --- a/ajax/trackinfo.php +++ b/ajax/trackinfo.php @@ -2,16 +2,25 @@ include('mpd.php'); -$cur_track= $mpd->current_track_id; -$playlist= $mpd->playlist; -if($cur_track !=-1) +$cur_track = $mpd->current_track_id; +$playlist = $mpd->playlist; +$playlist_count = $mpd->playlist_count; + +if($cur_track !=-1) { + + $trackno=$cur_track+1; + + echo "