How do I? A list of a few things I'd like to know how to do.

Need help? Post your questions here.

Moderator: moderators

How do I? A list of a few things I'd like to know how to do.

Postby kyomi7502 » Mon Sep 10, 2012 6:13 pm

I am running subsonic server 4.7 beta 3
1) Is it possible to remove the star icons that are now *everywhere*? I don't use that system and it seems kind of obnoxious now as opposed to how it was in 4.6
2) Anyway to get the "stats" (total count of artists, music and the like) back on the top left under the sub icon? I liked it better there.. it was kinda neat to just look at that at a glance. Now it just seems kinda "tacked on" at the bottom.
3) viewtopic.php?f=2&t=10214&p=45493#p45493 (just to avoid double posting it, figured I should make different posts since they are different issues)

If anyone has any input, I'd greatly appreciate it. Thanks :)
User avatar
kyomi7502
 
Posts: 69
Joined: Mon May 21, 2012 2:13 pm

Re: How do I? A list of a few things I'd like to know how to

Postby hakko » Mon Sep 10, 2012 6:47 pm

1 & 2: you can achieve this by altering the equivalent .jsp files in c:/subsonic/jetty/.... or equiv
3: you can achieve this by grabbing the code, changing, recompiling, building a new subsonic.war and replacing your current one

as with all modding, you'll be responsible for maintaining these changes, merging them with future releases by Sindre if you'd like to use 4.7 beta4 / 4.7 final etc. It's rewarding but it involves a little bit of work and learning.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: How do I? A list of a few things I'd like to know how to

Postby kyomi7502 » Mon Sep 10, 2012 7:07 pm

Ok, so they aren't somewhere in the settings. Is there some kind of guide for editing and recompiling these files? I've done java so I know how to get around it but I've never used a .war file.

It may help to say that I'm using Windows (Home Server v1).
User avatar
kyomi7502
 
Posts: 69
Joined: Mon May 21, 2012 2:13 pm

Re: How do I? A list of a few things I'd like to know how to

Postby hakko » Mon Sep 10, 2012 7:15 pm

I've never seen a guide actually. But it's using Maven so it's following the "convention over configuration" principle.

The .jsp files don't need re-compiling (or it's done on-the-fly), while the .java files do (to create those familiar .class files). The .war file is just a .zip file with a certain file structure. It's assembled using Maven. If you check out the whole source, you can make your changes and then execute the command "mvn package" in the subsonic-main directory, and Maven will create the subsonic.war file for you in the subsonic-main/target directory.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests