{artisttracks artist=$album->artist_name album=$album->name}
{include file='tracklist.tpl' class=#table# items=$artisttracks fstream=true}
{if $add_track_link}{t}Add new track{/t}{/if}
{* Hack to get an album player for now, $album->isStreamable() would be better *}
{if $artisttracks[0].streamable}
{$streamable = true}
{$album_station = "librefm://artist/{$album->artist_name}/album/{$album->name}"}
{/if}
{include file='footer.tpl' sideplayer=true station=$album_station}