5 $cur_track = $mpd->current_track_id;
6 $playlist = $mpd->playlist;
8 $playlist_count = $mpd->playlist_count;
12 $trackno=$cur_track+1;
14 if ($playlist[$cur_track]['name']==$playlist[$cur_track]['title']) {
15 echo htmlentities(cut_file($playlist[$cur_track]['name']));
17 echo htmlentities($playlist[$cur_track]['title']);
21 echo "Трек не выбран";