Subsonic Pack version 3.9- 1335 new Update

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Subsonic Pack version 3.9- 1335 new Update

Postby cyclopes » Mon Feb 15, 2010 6:27 pm

=====================================================================================
SUBSONIC PACK = 2010.v1.0a
This is tested on

Works on : Windows, Linux Standalone , Ubuntu 9.10 Karmic , ArchLinux VM
=====================================================================================

Thanks to:
----------

*jonathanroz

*3R3

* all users ;)

=====================================================================================
New Window for Uploading music to your Subsonic Windows install standalone version 3.9
+ Search - forward and back button at bottom to now ;)
+ Playlist - have remove the player options at the right site
NOW with rewind and forward button ;) 17/03 -2010
=====================================================================================

Mod info:
=========
New Window for Uploading music to your Subsonic Windows install standalone version 3.9
+ Search - forward and back button at bottom to now ;)
+ Playlist - have remove the player options at the left


====================
Mod info , Log new version 3.9:
====================
# fixd bugs - some script error and more.jsp i have remove the other upload option.
# more.jsp - Changed create random playlist with 50 80 90 100 150 200. orginal is max 50 songs.'
# moree.jsp - script bugs fix - UPDATED 17/03 -10
# Upwin.jsp -
# Search.jsp - forward and back button at bottom to now. ;)
# Playlist.jsp - removed player option at left at the flash player ;)
NOW with forward rewind button 17/03-2010
==============================================
-- TURN OF SUBSONIC BEFORE CHANGES --- !! Can make error if not !!!
==============================================
-- BACKUP --- -- BACKUP --- -- BACKUP ---
==============================================


Download the file here.
http://www.ferietunet.no/subsonic/Subso ... .9_new.zip
Last edited by cyclopes on Wed Mar 17, 2010 11:03 am, edited 3 times in total.
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Postby precipitous » Wed Feb 17, 2010 8:09 am

Cyclopes:

Your modifications appear to work perfectly with the Linux Standalone version as well. I am running Ubuntu 9.10 Karmic, and have not experienced a single problem.

Another kick-ass job!

Thanks...
User avatar
precipitous
 
Posts: 91
Joined: Fri Aug 14, 2009 6:43 pm
Location: Santa Barbara CA USA

Postby cyclopes » Wed Feb 17, 2010 11:29 pm

thanks ;)
happy to help ...
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Working Great!

Postby idris » Wed Mar 03, 2010 4:34 pm

Cyclopes:

I wanted to also extend a thank you for this mod and confirm it works on Linux standalone as well. (ArchLinux VM)

Thanks for a great mod to a great program!
Paid Subsonic User
----
4,840 artists
7,695 albums
114,372 songs
1648.38 GB (~ 25,606 hours)
idris
 
Posts: 11
Joined: Wed Feb 03, 2010 4:00 pm

Postby 3R3 » Sun Mar 14, 2010 1:53 am

First up, thanks for keeping this mod and the easy to follow instrucions up to date with every new subsonic release.
And second, I have a small suggestion for my favourite mod. this was always the first thing i did after modding a new release of subsonic with cyclopes mod, but somehow i never thought of sharing it...here goes:

This allows you to do this: users will not be able to upload files where they want, thereby messing up any ordering system of yours, and you can always see who uploaded what.
Rather, they will only be able to upload to one folder that is specific for every user. This folder has the same name as the user that wants to upload. Also, subsonic will create it if it doesnt exist.
So you will have something like this if your upload folder is called "incoming":
Code: Select all
incoming
---------bob
------------Song 2.mp3
------------Tribute to Song 3.mp3
---------bill
------------Bills Mixtape
-------------------------file1.mp3
-------------------------file2.mp3
etc etc


find in jetty/1130/webapp/WEB-INF/jsp/moree.jsp:

${model.uploadDirectory}
and replace with
${model.uploadDirectory}/${model.user.username}

now to make the path field in the upload window invisible, find in same file: (just a few characters after the previous change)

<td><fmt:message key="more.upload.target"/></td>
<td><input type="text" id="dir" name="dir" size="37" value="${model.uploadDirectory}/${model.user.username}"/></td>

and change
input type="text"
to
input type="hidden"

Note about permission while creating the users folder: even if that directory does not exist, subsonic will create it, as long as the permissions with which it were startet allow it. Basically it just means that subsonic has to have write permission in the admin-specified upload folder.

Please report back with any feedback, it always worked for me but you never know^^

EDIT: Please note that the functionality of my addition to cyclopes mod has not yet been incorporated into his subsonicpack.zip. You have to add it by hand if you want convenient upload "management".
Also cyclopes, if you want you are free to add my addition to your pack. I only ask for attribution in the changelog, but other than that I consider it "paying it forward". And would be proud to be included into the best mod yet :)
Last edited by 3R3 on Fri Jan 14, 2011 7:43 pm, edited 4 times in total.
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Prepending username mod works perfectly!

Postby idris » Mon Mar 15, 2010 2:11 am

3R3 - just wanted to say I appreciate you submitting your mod to an already great mod :) I too will be performing your addition once any new pack is released. I have several users who upload against my system and forcing their username at the end will make tracking so much easier and prevent someone from overwriting the same album!

FYI, I also remove the 'checked' from automagically unpack so the files are not cataloged until I process them.

Cheers and thanks again!
Paid Subsonic User
----
4,840 artists
7,695 albums
114,372 songs
1648.38 GB (~ 25,606 hours)
idris
 
Posts: 11
Joined: Wed Feb 03, 2010 4:00 pm

NEW UPDATE

Postby cyclopes » Wed Mar 17, 2010 11:01 am

Have now updated the Subsonic pack ;)

feedback ;)

Cyclopes
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Postby twent4 » Mon Mar 29, 2010 6:17 pm

hey guys,
i followed the instructions here and the features are sweet (thanks!) but it seemed to have removed my player selector dropdown. can anyone tell me which line i've possibly deleted to accidentally get rid of it?
twent4
 
Posts: 17
Joined: Tue Jul 07, 2009 1:06 am

Postby cyclopes » Mon Mar 29, 2010 7:00 pm

player selector dropdown ,
i have removed this but you can get it back open playlist.jsp

find:

<div class="bgcolor2" style="position:fixed; top:0; width:100%;padding-top:0.1em">
<table style="white-space:nowrap;">
<tr style="white-space:nowrap;">
<c:if test="${model.player.web}">
<td style="width:240px; height:20px;padding-left:0.1px;padding-right:10px"><div id="placeholder">


Replace width this:


<div class="bgcolor2" style="position:fixed; top:0; width:100%;padding-top:0.1em">
<table style="white-space:nowrap;">
<tr style="white-space:nowrap;">
<td><select name="player" onchange="location='playlist.view?player=' + options[selectedIndex].value;">
<c:forEach items="${model.players}" var="player">
<option ${player.id eq model.player.id ? "selected" : ""} value="${player.id}">${player}</option>
</c:forEach>
</select></td>
<td>
<c:if test="${model.player.web}">
<td style="width:240px; height:20px;padding-left:0.1px;padding-right:10px"><div id="placeholder">
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Postby twent4 » Mon Mar 29, 2010 7:16 pm

thanks cyclopes!
twent4
 
Posts: 17
Joined: Tue Jul 07, 2009 1:06 am

Postby jonathanroz » Mon Jun 07, 2010 1:13 pm

The mod works on 4.0.1. Tested on Windows and Ubuntu.

Thanks for keeping this going cyclopes.
jonathanroz
 
Posts: 172
Joined: Thu Dec 18, 2008 8:54 pm
Location: Frisco, TX USA

Postby kroken » Mon Nov 01, 2010 9:23 am

Is it possible to add something that updates artist to the left when upload is done?

EDIT: fixed this by myself
kroken
 
Posts: 81
Joined: Sat Oct 16, 2010 6:28 am

SUBSONIC PACK 2010

Postby cyclopes » Wed Dec 29, 2010 3:33 am

Works on version 4.2 ;)
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Postby 3R3 » Fri Jan 14, 2011 7:04 pm

If you use this mod on SS 4.3, the player will not load. Heres the fix:

On SS 4.3 you need to change the filename of the JWPlayer in the
subsonic/jetty/2078/webapp/WEB-INF/jsp/playlist.jsp

find
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-4.4.swf"/>", "placeholder", "340", "20", "9.0.0", false, flashvars, params, attributes);

change to
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder", "340", "20", "9.0.0", false, flashvars, params, attributes);


Also to make the "more" tab look proper again, in
subsonic/jetty/2078/webapp/WEB-INF/jsp/more.jsp

find
Code: Select all
<h2><img src="<spring:theme code="androidImage"/>" alt=""/>&nbsp;<fmt:message key="more.android.title"/></h2>
<fmt:message key="more.android.text"/>
<h2><img src="<spring:theme code="subairImage"/>" alt=""/>&nbsp;<fmt:message key="more.subair.title"/></h2>
<fmt:message key="more.subair.text"/>
<h2><img src="<spring:theme code="wapImage"/>" alt=""/>&nbsp;<fmt:message key="more.mobile.title"/></h2>
<fmt:message key="more.mobile.text"><fmt:param value="${model.brand}"/></fmt:message>
<h2><img src="<spring:theme code="podcastImage"/>" alt=""/>&nbsp;<fmt:message key="more.podcast.title"/></h2>
<fmt:message key="more.podcast.text"/>

replace with
Code: Select all
<h2><img src="<spring:theme code="androidImage"/>" alt=""/>&nbsp;<fmt:message key="more.apps.title"/></h2>
<fmt:message key="more.apps.text"/>
<h2><img src="<spring:theme code="wapImage"/>" alt=""/>&nbsp;<fmt:message key="more.mobile.title"/></h2>
<fmt:message key="more.mobile.text"><fmt:param value="${model.brand}"/></fmt:message>
<h2><img src="<spring:theme code="podcastImage"/>" alt=""/>&nbsp;<fmt:message key="more.podcast.title"/></h2>
<fmt:message key="more.podcast.text"/>


Though even after doing that my search tab doesnt work and throws a java exception when called. I hope this is due to my fiddling and doesnt happen with other servers. Anyway this is the exception in case someone else does happen to get the same error. I spare you the whole log, but this is the Exception and detail message:
org.springframework.beans.NotReadablePropertyException
Message Invalid property 'offset' of bean class [net.sourceforge.subsonic.command.SearchCommand]: Bean property 'offset' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?


enjoy!
Last edited by 3R3 on Mon Jan 17, 2011 11:25 am, edited 5 times in total.
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Postby cyclopes » Sat Jan 15, 2011 4:05 am

Thanks 3R3

:D :D

new mod soon ready for release ;) !!!
Vote Confirmation ;)
User avatar
cyclopes
 
Posts: 51
Joined: Thu Mar 12, 2009 11:33 pm
Location: Norway

Next

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests