MPD Web

<% if $hasAlbumArt %> Cover <% end %>

Control

<% if $current.to_i > 0 %> Previous <% else %> Previous <% end %> <% if $playing %> Pause <% else %> Play <% end %> <% if $stopped %> Stopped <% else %> Stop <% end %> <% if $current.to_i < ($playlist.length - 1) %> Next <% else %> Next <% end %> <% if $repeat %> Loop on <% else %> Loop off <% end %>

Volume

<% v = $config[:volumeInc] while (v <= 100) %> <% if $mpd.volume < v %> <%= v %>% <% else %> <%= v %>% <% end %> <% v += $config[:volumeInc] end %>

Playlist

<% $config[:plHeaders].each do |title| %> <% end %> <% $playlist.each do |s| %> > <% $config[:plContent].each do |col| %> <% if col == 'title' %> <% elsif col == 'tools' %> <% else %> <% end %> <% end %> <% end %>
<%= title %>
<%= s['title'] %> <%= playlist_item_tool s['pos'], $playlist %><%= s[col] %>
<%= $time[0].to_s_dtime %> of <%= $time[1].to_s_dtime %> in song
<%= $remaining_length.to_s_dtime %> of <%= $total_length.to_s_dtime %> in playlist
Browse Music, Search Music, Playlists

Tools