<% include header.ejs %>

Matched albums for

<%= items[0].name %> - <%= items[0].artist.name %>

<% for (var i=0;i < items.length;i++) { var album = items[i]; %> <% if (album.type != "video") { %>
<% } else { %>
<% } %>
">
<%= i==0 ? "Found matches using this link" : "" %>
<% if (album.type == "video") { %>
More Youtube matches <% } else if (album.streamUrl) { %> <% } else if (album.purchaseUrl) { %> <% } else { %> <% } %>
<% if((i+1)%4 == 0) { %>
<% } %> <% } %>
<% include footer.ejs %>