I am trying to add artist name to the left column so that it displays "Artist - SongName" instead of just SongName..
Editing left.jsp so that
- Code: Select all
<c:import url="playAddDownload.jsp">
<c:param name="path" value="${song.path}"/>
<c:param name="playEnabled" value="${model.user.streamRole and not model.partyMode}"/>
<c:param name="addEnabled" value="${model.user.streamRole}"/>
</c:import>
${song.artist}
</p>
</c:forEach>
becomes
- Code: Select all
<c:import url="playAddDownload.jsp">
<c:param name="path" value="${song.path}"/>
<c:param name="playEnabled" value="${model.user.streamRole and not model.partyMode}"/>
<c:param name="addEnabled" value="${model.user.streamRole}"/>
</c:import>
${song.artist} - ${song.title}
</p>
</c:forEach>
But doing that reverts to original version... I haven't found any API to describe the song object parameters but surely there must be a .artist property?