Page 1 of 1

Request - Individual File Download Button

PostPosted: Sun Oct 26, 2014 6:34 pm
by manga84
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?

Re: Request - Individual File Download Button

PostPosted: Sat Dec 20, 2014 6:11 am
by ratsark
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.

Re: Request - Individual File Download Button

PostPosted: Tue Dec 30, 2014 9:17 am
by nildin
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.