Subsonic webclient - play an album - quick!

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

Moderator: moderators

Subsonic webclient - play an album - quick!

Postby slimeee » Thu Jan 12, 2012 9:28 pm

Hi - after using SUbsonic for a year - I'm still missing one thing:

* When I list my albums - I want to play it directly instead of waiting for the album to load a tracklist a tracklist at the bottom of the window.

How about adding a "play" button somwhere - on top of the coverart - ot before / after the ARTIST + ALBUM NAME?

Here'sa quick mockup in paintbrush:

Image
slimeee
 
Posts: 2
Joined: Thu Jan 12, 2012 9:21 pm

Re: Subsonic webclient - play an album - quick!

Postby ytechie » Fri Jan 13, 2012 12:41 am

Interesting. I will think about how to add a link to the coverart in home.jsp. Thanks for the idea!
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic webclient - play an album - quick!

Postby BKKKPewsey » Fri Jan 13, 2012 2:45 am

It is a pity its not easy to implement right click options eg right click album cover select play now.
Hmm! perhaps there is a jquery right click option :wink:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic webclient - play an album - quick!

Postby ytechie » Fri Jan 13, 2012 2:48 am

Good idea. I'll look into that too!
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic webclient - play an album - quick!

Postby osh » Sat Jan 14, 2012 6:20 pm

A play icon right before the album name would work awesome for me too...
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm

Re: Subsonic webclient - play an album - quick!

Postby ytechie » Sun Jan 15, 2012 1:24 am

This is how to add a play icon to the left of the album names in home.jsp:

We are going to edit home.jsp. Here is the part we are going to edit:

Code: Select all
<c:choose>
   <c:when test="${empty album.artist and empty album.albumTitle}">
      <div class="detail"><fmt:message key="common.unknown"/></div>
   </c:when>
   <c:otherwise>
      <div class="detail"><em><str:truncateNicely lower="15" upper="15">${album.artist}</str:truncateNicely></em></div>
      <div class="detail">
      
      :)
      
      <str:truncateNicely lower="15" upper="15">${album.albumTitle}</str:truncateNicely></div>
   </c:otherwise>
</c:choose>


I put a smiley at the line that we are going to insert this code:

Code: Select all
<c:import url="playAddDownload.jsp">
   <c:param name="path" value="${album.path}"/>
   <c:param name="video" value="false"/>
   <c:param name="playEnabled" value="true"/>
   <c:param name="addEnabled" value="false"/>
   <c:param name="downloadEnabled" value="false}"/>
   <c:param name="asTable" value="false"/>
</c:import>


Note: When trying to play a video, it will stop the currently playing song, and clear your playlist. I wasn't able to tell it to detect if the child files are videos.

Hope this helps! :D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic webclient - play an album - quick!

Postby osh » Sun Jan 15, 2012 6:24 pm

Awesome!!! ytechie - that patch worked for me, you rock!!! Image I'm getting closer to that point where Jinzora goes away, Subsonic becomes my replacement media manager, and will donate to the cause.
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm

Re: Subsonic webclient - play an album - quick!

Postby ytechie » Sun Jan 15, 2012 7:44 pm

:D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Subsonic webclient - play an album - quick!

Postby slimeee » Mon Jan 16, 2012 8:33 pm

Absolutely awesome - works super. So fast... now I don't have to wait for the album to load.

Thanks a bunch! :lol:
slimeee
 
Posts: 2
Joined: Thu Jan 12, 2012 9:21 pm

Re: Subsonic webclient - play an album - quick!

Postby osh » Sat Feb 08, 2014 4:10 am

Bump - I recently upgraded to 4.8 (and may upgrade to 4.9 if recommended after this conversation) and reimplemented this "feature". I may have done it incorrectly, but I get the play icon where it was before, but that no longer does anything for me.

Do I need to add / change something else for this to work?

edit note: when I hover over the icon, the text reads play. The link at the bottom of my browser reads javascript:noop()...
osh
 
Posts: 19
Joined: Mon Jan 09, 2012 11:01 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 12 guests