" method="post" enctype="multipart/form-data">
MPD Server Playlist
[" href="">refresh] playlist_count > 0 ) { $un = (conf('condPL')) ? "un" : ""; ?> [" href="/amp-mpd.php?action=shuffle">] [" href="/amp-mpd.php?action=clear">clear] [condense] [" href="/amp-mpd.php?action=crop">crop]
> playlist; if (is_null($pl)) echo "ERROR: ".$myMpd->errStr."\n"; else { $maxlen = strlen (count($pl)); $condPL = conf('condPL'); if ($condPL) { echo ""; } else { echo ""; } foreach ($pl as $id=>$entry) { if ( ($condPL) and (($id < $myMpd->current_track_id-1) or ($id > $myMpd->current_track_id + 10)) ) { continue; } unset($text_class); $track = $id+1; $len=strlen($track); while ($len < $maxlen) { $track = "0".$track; $len++; } // Still needed crap $totalsize += $song->size; $totaltime += $entry['Time']; ?> current_track_id) {$tdstyle = "style='padding: 0px 2px 0px 2px; font-weight: bold'";} else {$tdstyle = $minpad;} ?> title; $entry['Artist'] = $r->get_artist_name(); $entry['Album'] = $r->get_album_name(); } $count=0; // Didn't move this because I wasn't sure what it was for... ?> current_track_id+10 <= $myMpd->playlistcount)) { echo ""; } } //else $time = floor($totaltime/60) . ":" . sprintf("%02d", ($totaltime%60) ); $num = count($pl); ?>
>Flip > > >
... Condensed Playlist ...
 
> > > > > > > > > > name ?> > >f  >n  >x
... Condensed Playlist ...
 
: song(s) nowrap="nowrap">