diff --git a/views/track.ejs b/views/track.ejs index 002caed..d467624 100644 --- a/views/track.ejs +++ b/views/track.ejs @@ -10,10 +10,18 @@
-
-

Matched tracks for

+
+

Matched albums for

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

+
<% for (var i=0;i < items.length;i++) { var track = items[i]; %> @@ -21,11 +29,11 @@
">
<%= i==0 ? "Found matches using this link" : "" %>
<% if (track.type == "video") { %> -
- -
- More Youtube matches - <% } else if (track.streamUrl) { %> +
+ +
+ More Youtube matches + <% } else if (track.streamUrl) { %> <% if((i+1)%4 == 0) { %>
<% } %> <% } %>
- + <% include footer.ejs %>