Madsonic Server 5.0 unRAID Plugin

User avatar
Madsonic
Administrator
Administrator
Posts: 969
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1158 times
Been thanked: 454 times

Madsonic Server 5.0 unRAID Plugin

Unread post by Madsonic »

Image

Madsonic 5.1 unRAID Plugin

http://lime-technology.com/


Contribution: http://lime-technology.com/forum/index. ... ic=21356.0 developed by jangjong
Download: https://code.google.com/p/unraid-subson ... loads/list

Image

Image Image Image Image

Picture Gallary Madsonic on unRAID Gallery Link

madsonic-5.1-1.8-x64.plg
madsonic-5.1-1.8-x86.plg

Version 1.8
  • Update: Java JRE to 1.7_67
  • Update: Madsonic Build 5060
  • Update: x64 ffmpeg fix
Version 1.6
  • Update: Java JRE to 1.7_60
  • Update: Madsonic Build 3880
Version 1.5
  • Update: Madsonic Build 3860
Version 1.4
  • support x64 unRaid 6.x Beta
Version 1.3
  • Update to Google Repository
Version 1.2
  • Update: split: jetty6/8 build installation
Version 1.1
  • Update: Java JRE to 1.7_51 package
  • Bugix: looped install
Version 1.0
  • Update: ffmpeg package
  • Update: Java JRE to 1.7.45 package
  • Update: back-porting madsonic.war & madsonic-booter.jar to jetty 6.1.x server

This version has known issues and is only for testing purpose ! ;)


Download & Installation

Repository

https://code.google.com/p/unraid-madson ... owse/trunk


x86 backported jetty 6.1.x version

Code: Select all

cd /boot/config
mkdir plugins
cd plugins 
wget --no-check-certificate http://unraid-madsonic-plugin.googlecode.com/svn/trunk/madsonic-5.0-1.6-x86-jetty6.plg
installplg madsonic-5.0-1.6-x86-jetty6.plg
or x86 default jetty 8.1.x version

Code: Select all

cd /boot/config
mkdir plugins
cd plugins
wget --no-check-certificate http://unraid-madsonic-plugin.googlecode.com/svn/trunk/madsonic-5.0-1.6-x86-jetty8.plg
installplg madsonic-5.0-1.6-x86-jetty8.plg
or new Madsonic 5.1 Public Preview x64

Code: Select all

cd /boot/config
mkdir plugins
cd plugins
wget --no-check-certificate http://unraid-madsonic-plugin.googlecode.com/svn/trunk/madsonic-5.1-1.8-x64.plg
installplg madsonic-5.1-1.8-x64.plg
or new Madsonic 5.1 Public Preview x86

Code: Select all

cd /boot/config
mkdir plugins
cd plugins
wget --no-check-certificate http://unraid-madsonic-plugin.googlecode.com/svn/trunk/madsonic-5.1-1.8-x86.plg
installplg madsonic-5.1-1.8-x86.plg

Requirement for virtual testing

* Create new virtual machine as linux -> ubuntu x86 machine type
* set the network card-type to network-bridged and realteak as brand
* add the unRAID virtual disk as primary disc and add others for your drive store
* create USB Installation disk http://lime-technology.com/unraid-server-installation
* start virtual machine and check online connectivity
* try to start download or install


Image

Image

Image

Image


Known issues
  • after installation the transcoding profil needs to be reseted to subsonic default
Image
These users thanked the author Madsonic for the post:
Lars
Rating: 7.69%

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

im trying to get video transcoding going but im getting the following error in madsonic android app:-

"no activity found to handle intent", maybe there has been a change to bsplayer but it doesnt work for me right now.

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

found out what the issue is, i have specified my server to use https, looks like BSPlayer cannot playback a https stream, or at least it can't from madsonic, any chance of a fix?.
These users thanked the author binhex for the post:
Madsonic
Rating: 7.69%

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

hey fergalc, yep i am using my own plugin, however it SHOULD work with mad's version, just make sure you switch the ports around in the unraid plugin settings, so set port number for http to 0 and then set https to the port you had previously set for http, so for me i have:-

HTTP Port for Madsonic Web Server: 0
HTTPS Port for Madsonic Web Server:3030 (my choice)

i can then connect via https://tower:3030

obviously if external you would use your assigned internet facing ip and setup port forwarding your router etc.

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

btw madevil if your following this then i have resolved the streaming issue over https by switching player to mxplayer, looks like this is fine with https streams, thought i would just let you know, might be nice to catch that error and display a more user friendly "bsplayer does not support https" message though perhaps?

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

thats odd, as stop and start (enable/disable in plugin ui) work fine for the plugin im using, im still surprised your not running into the other two issues i mentioned on the unraid forum
These users thanked the author binhex for the post:
Madsonic
Rating: 7.69%

User avatar
Madsonic
Administrator
Administrator
Posts: 969
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1158 times
Been thanked: 454 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by Madsonic »

unRAID Update:

madsonic-5.0-1.2-jetty6.plg
madsonic-5.0-1.2-jetty8.plg


Bugfix, JRE Update

best regards

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

hi madevil, i see you incorporated my posted fixes for the plugin, nice :-).
These users thanked the author binhex for the post:
Madsonic
Rating: 7.69%

User avatar
Madsonic
Administrator
Administrator
Posts: 969
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1158 times
Been thanked: 454 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by Madsonic »

binhex wrote:hi madevil, i see you incorporated my posted fixes for the plugin, nice :-).
Yes thanks, works great now! :)

i upload a version for subsonic 4.9 too.

best regards

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

my pleasure guys :-), one more thing you might want to tweak on the plugin is to change the max memory default, i think if im right its 350 MB by default in madsonic.sh?, so probably best to set the plugin to be the same wouldn't you agree, currently its set to 100MB and also incorrectly 128 MB (line 53) in your plugin, check lines 53, 227, 363 of your latest jetty8 plugin.

edit - confirmed, here are the defaults for init and max memory:-

MADSONIC_INIT_MEMORY=256
MADSONIC_MAX_MEMORY=350

User avatar
Madsonic
Administrator
Administrator
Posts: 969
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1158 times
Been thanked: 454 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by Madsonic »

hi there,

i don't know how much is the average used memory on unRAID server ?
i keep this settings low to prevent errors.

on the Settingspage you can define your needs for init/max memory setup.

Info http://javarevisited.blogspot.co.at/201 ... e-jvm.html

best regards

mrdrew
Posts: 9
Joined: 08 Dec 2013, 07:44
Has thanked: 1 time
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by mrdrew »

I see that you split somethin called jetty6 and jetty8.

What are those? Does it matter which one I use? I didn't see an explanation anywheres.

When downloading this PLG, be sure to get the "raw version" of the plg, so you don't accidentally wget a webage with the plg (whoops).

User avatar
Madsonic
Administrator
Administrator
Posts: 969
Joined: 07 Dec 2012, 03:58
Answers: 4
Has thanked: 1158 times
Been thanked: 454 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by Madsonic »

mrdrew wrote:I see that you split somethin called jetty6 and jetty8.

What are those? Does it matter which one I use? I didn't see an explanation anywheres.

When downloading this PLG, be sure to get the "raw version" of the plg, so you don't accidentally wget a webage with the plg (whoops).

Jetty is an HTTP server, HTTP client, and java servlet container.
Jetty is the default embedded Web-server for Madsonic or you can use tomcat instead.

Jetty6 is old but good for modding,
Jetty8 is better for performance.

http://www.eclipse.org/jetty/

binhex
Contributor
Contributor
Posts: 4
Joined: 15 Jan 2014, 11:05
Has thanked: 0
Been thanked: 5 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by binhex »

Madevil wrote:hi there,

i don't know how much is the average used memory on unRAID server ?
i keep this settings low to prevent errors.

on the Settingspage you can define your needs for init/max memory setup.

best regards
i would say a majority of people have 4GB of ram, the amount used will obviously depend on the number of plugins people have running, i understand you want to keep memory requirements low to begin with, i still think you need to review the setting in the plugin though as you have a mismatch, at the top of the plugin on line 53 you specify 128MB of ram, but later on its referencing 100MB of ram on lines 227 and 363, so might be worth tweaking these?.

ootuoyetahi
Posts: 2
Joined: 28 Jan 2014, 18:21
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by ootuoyetahi »

I know this isnt the subsonic forum, but since you posted the subsonic unraid package could someone help me install it? This is literally the first unraid package I am attempting to install.

Thanks.

ootuoyetahi
Posts: 2
Joined: 28 Jan 2014, 18:21
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by ootuoyetahi »

fergalc wrote:
ootuoyetahi wrote:I know this isnt the subsonic forum, but since you posted the subsonic unraid package could someone help me install it? This is literally the first unraid package I am attempting to install.

Thanks.
In essence, it's the same install as Madsonic:

cd /boot/config
mkdir plugins
cd plugins
wget --no-check-certificate h**p://unraid-madsonic-plugin.googlecode.com/svn/trunk/subsonic-4.9-1.0.plg
installplg subsonic-4.9-1.0.plg

Replace both ** above with tt

Hope that helps..!
Best regards, fergal
Thanks a ton! I swear I tried this, and It didnt work but i copied and pasted your example and it worked. I probably fat fingered something, but nonetheless, thank you for your help ;-)

ootuoyetahi
Posts: 2
Joined: 28 Jan 2014, 18:21
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by ootuoyetahi »

fergalc wrote:
ootuoyetahi wrote:I know this isnt the subsonic forum, but since you posted the subsonic unraid package could someone help me install it? This is literally the first unraid package I am attempting to install.

Thanks.
In essence, it's the same install as Madsonic:

cd /boot/config
mkdir plugins
cd plugins
wget --no-check-certificate h**p://unraid-madsonic-plugin.googlecode.com/svn/trunk/subsonic-4.9-1.0.plg
installplg subsonic-4.9-1.0.plg

Replace both ** above with tt

Hope that helps..!
Best regards, fergal
I do get this error after launching it:

Code: Select all

HTTP ERROR: 404

NOT_FOUND
RequestURI=/

Powered by jetty://
Any ideas?

ootuoyetahi
Posts: 2
Joined: 28 Jan 2014, 18:21
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by ootuoyetahi »

fergalc wrote:
fergalc wrote:
ootuoyetahi wrote:
I do get this error after launching it:

Code: Select all

HTTP ERROR: 404

NOT_FOUND
RequestURI=/

Powered by jetty://
Any ideas?
are you installing Subsonic to your cache drive? If so, check the Subsonic folder and see what got installed in there...
I've just installed it on mine and it's coming up, no problems. Mind you, mine was a fresh install, are you installing it on top of jangjangs subsonic?
I'm installing it on a fresh unRAID installation as well in a virtual environment I set up just to test these before I move them to the production box. I installed it a second time and am getting the same issue. I am a little confused about what you mean when you ask if I am installing it on my cache drive. It gets installed on the flash, no?

EDIT: here are links to what the config looks like and the error I get.
http://i.imgur.com/l9DoMya.png
http://i.imgur.com/ayzBbm0.png

EDIT2:
It works if I keep the default ports. Unfortunately, I have something using that port already. Is it possible to use nonstandard ports and have this work?

ootuoyetahi
Posts: 2
Joined: 28 Jan 2014, 18:21
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by ootuoyetahi »

Thanks a ton fergalc, I got it working. I didnt really do anything other than stop it and start it a few times, but whatever the issue was has gone away. Now I can test :D

Thanks again for your help.

bdavis0185
Posts: 1
Joined: 04 Feb 2014, 02:46
Has thanked: 0
Been thanked: 3 times

Re: Madsonic Server 5.0 unRAID Plugin

Unread post by bdavis0185 »

Just wanted to stop in and say that the Subsonic UnRAID plg is working great, keep up the great work!!!

Post Reply