Click on song name to play?

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Click on song name to play?

Postby Lobsang » Sun Apr 28, 2013 4:58 am

Hello,

This has probably been requested a number of times here, but I couldn't find it anywhere in the forums: Is it possible to play the song when clicking on the name? Clicking on the tiny [>] symbol is somewhat of a pain and the song name itself could be a nice link to playing that particular song.

Regards,
L
Lobsang
 
Posts: 2
Joined: Sun Apr 28, 2013 4:55 am

Re: Click on song name to play?

Postby stozher » Tue Jun 25, 2013 8:35 pm

.../jetty/XXXX/webapp/WEB-INF/jsp/main.jsp (search for "child.title"):
Code: Select all
<span title="${child.title}"><str:truncateNicely upper="${cutoff}">${fn:escapeXml(child.title)}</str:truncateNicely></span>

replace with:
Code: Select all
<a href="javascript:noop()" onclick="top.playQueue.onPlay(${child.id});"><span title="${child.title}"><str:truncateNicely upper="${cutoff}">${fn:escapeXml(child.title)}</str:truncateNicely></span></a>
http://music.stozher.com:8080/login.view?user=guest&password=
User avatar
stozher
 
Posts: 313
Joined: Tue Nov 16, 2010 10:56 am
Location: Sofia, Bulgaria


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 5 guests