Request - Individual File Download Button

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

Moderator: moderators

Request - Individual File Download Button

Postby manga84 » Sun Oct 26, 2014 6:34 pm

I guess this button has been removed a few releases back, but it's really a pain to get around it. Maybe have it as an option to display or hide? Any chance it could come back?
manga84
 
Posts: 7
Joined: Thu Feb 10, 2011 7:29 pm

Re: Request - Individual File Download Button

Postby ratsark » Sat Dec 20, 2014 6:11 am

I would love to see this button return as well. I don't understand why it was removed; I use it all the time. I have - for example - a folder full of movies, and I'd love to once again be able to download just one.
ratsark
 
Posts: 4
Joined: Thu Dec 08, 2011 5:51 pm

Re: Request - Individual File Download Button

Postby nildin » Tue Dec 30, 2014 9:17 am

Loacate your playButtons.jsp, make a backup and open it.

On my Debian machine it is located at /var/subsonic/jetty/4246/webapp/WEB-INF/jsp/playButtons.jsp

scroll to end of the file and there should be a part looking like that:

Code: Select all
<c:if test="${param.downloadEnabled}">
    <sub:url value="/download.view" var="downloadUrl">
        <sub:param name="id" value="${param.id}"/>
    </sub:url>
    <a href="${downloadUrl}">
        <img src="<spring:theme code="downloadImage"/>" alt="<fmt:message key="$
             title="<fmt:message key="common.download"/>" ></a>
</c:if>


now change the first line of that part to
Code: Select all
<c:if test="${not param.downloadEnabled}">


Restart your Server.

I'm not sure if this is the best method to use, but it should work.
nildin
 
Posts: 10
Joined: Thu Nov 28, 2013 10:07 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 43 guests