We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7c29cd95 authored by mattl's avatar mattl

fix up player some more on albums page

parent 7b19c683
......@@ -16,24 +16,6 @@
alt="{$album->name|escape:'html':'UTF-8'}" title="{$album->name|escape:'html':'UTF-8'}" width="160" />
</div>
<hr />
{include file='player.tpl'}
<script type="text/javascript">
var playlist = [
{section name=i loop=$tracks}
{ldelim} "artist" : "{$tracks[i]->artist_name}", "album" : "{$tracks[i]->album_name}", "track" : "{$tracks[i]->name}", "url" : "{$tracks[i]->streamurl}" {rdelim},
{/section}
];
{if isset($this_user)}
playerInit(playlist, "{$this_user->getScrobbleSession()}", false);
{else}
playerInit(playlist, false, false);
{/if}
</script>
<ul id="tracks" rel="mo:track">
{section name=i loop=$tracks}
<li about="{$tracks[i]->id}" typeof="mo:Track" class="item">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment