Add 'to_json' into respective structs

This commit is contained in:
Omar Roth
2019-06-08 13:31:41 -05:00
parent 1c9085556c
commit 12b2ab5da8
7 changed files with 307 additions and 451 deletions

View File

@@ -35,7 +35,7 @@
</b>
</p>
<% when MixVideo %>
<a style="width:100%" href="/watch?v=<%= item.id %>&list=<%= item.mixes[0] %>">
<a style="width:100%" href="/watch?v=<%= item.id %>&list=<%= item.rdid %>">
<% if !env.get("preferences").as(Preferences).thin_mode %>
<div class="thumbnail">
<img class="thumbnail" src="/vi/<%= item.id %>/mqdefault.jpg"/>