share links without use of subsonic.org

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

Moderator: moderators

share links without use of subsonic.org

Postby pir8radio » Sat Sep 01, 2012 8:29 pm

i would like to be able to put my own domain name in the settings page instead of having to use XXXXXX.subsonic.org

It would be nice just to have an empty field that we could use for either "mydomain.com" or still be able to enter, "myname.subsonic.org" not quite sure why this restriction has been coded in?


Thanks!!!
pir8radio
 
Posts: 79
Joined: Mon Apr 23, 2012 10:44 pm

Re: share links without use of subsonic.org

Postby GJ51 » Sat Sep 01, 2012 10:55 pm

This has been requested before. Although the shortcuts generated are for the Subsonic.org address, you can still use any valid address to get to your site and get to the shortcut.

http://74.110.53.107:8088/subsonic/share/jNpkr
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: share links without use of subsonic.org

Postby pir8radio » Thu Sep 20, 2012 2:33 am

i understand the links work.. . but when my users want to just click the share on facebook link its not automatic... i want them to be able to click SHARE ON FACEBOOK and be done... thanks for the input though.. well i would think the code to change this wouldnt be more than deleting the automatic addition of subsonic.org from the existing code... maybe only take a second... is there any reason users are forced to use subsonics redirect service? don't get me wrong i appreciate the ability to use subsonic resources.... but you know...
pir8radio
 
Posts: 79
Joined: Mon Apr 23, 2012 10:44 pm

Re: share links without use of subsonic.org

Postby GJ51 » Thu Sep 20, 2012 5:16 am

Use MadEvil's Madsonic Mashup Mod. It allows you to put your own URL into the Network settings. The mod is outstanding and very stable and easy to install now. Just like doing any Subsonic upgrade. I just did a standard Windows upgrade from ver 4.6 in just a couple minutes. It has great features and appears to be every bit as stable as the standard Subsonic release.

I've switch all my Subsonic sites to the Madsonic mod except one to keep as a baseline for comparison.

Send me a PM if you want to look at a live preview before you decide, but I think you'll really like it.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: share links without use of subsonic.org

Postby pir8radio » Sat Sep 22, 2012 12:51 am

i found a fix.... i just put "www" in the settings page, so the share link would be http://www.subsonic.org/share/XXXXX then i changed the jsp in the createShare.jsp anywhere there was ${model.playUrl} and replaced them with ${fn:replace(model.playUrl,'www.subsonic.org','somewebsite.com')} where somewebsite.com is my actual url. what that bit of code does is finds "www.subsonic.org" and replaces it with "somewebsite.com" so all of the share links will point to somewebsite.com/share/XXXXX . Now all of the share links point to the correct place... for anyone else looking to do this.. easy to do... i also changed the sharesettings.jsp so those links were correct.
pir8radio
 
Posts: 79
Joined: Mon Apr 23, 2012 10:44 pm

Re: share links without use of subsonic.org

Postby manwithaplan » Sat Oct 27, 2012 9:01 pm

pir8radio kind sir,

I have modified the createshare.jsp just as you prescribe, but am not sure what exactly to change in sharesettings.jsp. Can you elaborate on that? Thanks much.
Last edited by manwithaplan on Sat Oct 27, 2012 10:13 pm, edited 1 time in total.
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 153
Joined: Sun Nov 28, 2010 5:01 pm

Re: share links without use of subsonic.org

Postby hakko » Sat Oct 27, 2012 9:59 pm

find /Library/Application\ Support/Subsonic/jetty/ -name '*jsp'
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: share links without use of subsonic.org

Postby manwithaplan » Sat Oct 27, 2012 10:15 pm

hakko wrote:find /Library/Application\ Support/Subsonic/jetty/ -name '*jsp'


got it, yeah, I was being an idiot. I found all the jsp's now, all is well there. I've modified createshare.jsp but not quite sure what I should change in sharesettings.jsp. Thanks Hakko, much appreciated!
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 153
Joined: Sun Nov 28, 2010 5:01 pm

Re: share links without use of subsonic.org

Postby pir8radio » Mon Nov 05, 2012 11:19 pm

In the sharesettings.jsp page change the one instance of ${model.shareBaseUrl} to ${fn:replace(model.shareBaseUrl,'www.subsonic.org','somewebsite.com')} again where "somewebsite.com" is your own url.
pir8radio
 
Posts: 79
Joined: Mon Apr 23, 2012 10:44 pm

Re: share links without use of subsonic.org

Postby manwithaplan » Tue Nov 06, 2012 12:38 pm

Thank you sir! Works perfectly. I love having my share links all work for my local domain like this. Absolutely perfect. Cheers!
Subsonic 5.2.1 on 2009 Apple XServe w/ Yosemite Server 10.10.5; 96GB RAM. Lots of Music - High Rez, native DSD streaming, and otherwise.
manwithaplan
 
Posts: 153
Joined: Sun Nov 28, 2010 5:01 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 9 guests