Madsonic Server 5.x Synology-DSM 5.x NAS Plugin

muiz
Posts: 20
Joined: 13 Jan 2013, 01:36
Has thanked: 4 times
Been thanked: 3 times

Re: Madsonic Server 5.0 Synology-NAS Plugin

Unread post by muiz »

same here, it does not play flac.

EDIT: fixed : flac to mp3, ffmpeg -i %s -ab %bk -v 0 -f mp3 -
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Re: Madsonic Server 5.0 Synology-NAS Plugin

Unread post by z-vap »

Just wanted to stop in and say that this package installs wonderfully. Perl, JAvaSE Embedded 8, and Serviio all went without any hitches.

I am not sure why Serviio is needed, but if it is needed can I "stop" it? Or what is it?

Also now I have a new question. When I was running the Windows version of this, The Madsonic Control Panel, had a Context area where I could change the path, and even the Port Number if I wanted to.

Where are these settings in Madsonic now?

EDIT: there's also something funny with adding new users; I eventually got it to work, but it was not like I expected it to work.
These users thanked the author z-vap for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Madsonic Server 5.0 Synology-NAS Plugin

Unread post by Madsonic »

z-vap wrote:Just wanted to stop in and say that this package installs wonderfully. Perl, JAvaSE Embedded 8, and Serviio all went without any hitches.

I am not sure why Serviio is needed, but if it is needed can I "stop" it? Or what is it?
Also now I have a new question. When I was running the Windows version of this, The Madsonic Control Panel, had a Context area where I could change the path, and even the Port Number if I wanted to.
Where are these settings in Madsonic now?
EDIT: there's also something funny with adding new users; I eventually got it to work, but it was not like I expected it to work.
Hi there,

Serviio is only needed for the ffmpeg version. With newer versions of the Madsonic plugin, there will be no more dependency on this package (ffmpeg).
I will rework the setup, that you can easily change the port.

best regards
HolgerWill
Posts: 6
Joined: 11 Mar 2013, 09:02
Has thanked: 0
Been thanked: 3 times

Re: Madsonic Server 5.0 Synology-NAS Plugin

Unread post by HolgerWill »

olive069 wrote:Cn you post your madsonic log when you attempt to transcode a file?
Sorry for delay but reinstalled NAS for some reason.

So here are my last Log File Line:
[19.06.14 21:03] DEBUG TranscodeInputStream Starting transcoder: [/usr/syno/synoman/webman/3rdparty/Madsonic/transcode/ffmpeg] [-i] [/volume1/Musik/Various - 2014 - WOW Hits 2014 [Deluxe Edition]/Various - WOW Hits 2014 [Deluxe Edition] CD1 - 01 - Whom Shall I Fear (Chris Tomlin).mp3] [-ab] [32k] [-v] [0] [-f] [mp3] [-]

Nothing else. Musik doesn't play.
ffmpeg is here with 777 rights:
cd /usr/syno/synoman/webman/3rdparty/Madsonic/transcode
-rwxrwxrwx 1 root root 143312 Jun 19 21:58 ffmpeg

I have a DS213j NAS
softsmoke
Posts: 1
Joined: 28 Jan 2014, 18:40
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Server 5.0 Synology-NAS Plugin

Unread post by softsmoke »

I updated my DSMm then I get this problem. I tryed to reinstalled without any luck. Can someone help me?

HTTP ERROR: 503

Problem accessing /index.view. Reason:

Service Unavailable

Powered by Jetty://

/softsmoke
elvosparsley
Posts: 1
Joined: 21 Jan 2013, 20:34
Has thanked: 0
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by elvosparsley »

I fixed wma transcoding in my Madsonic install by creating by shortcut, in the transcode dir, to the Synology installed ffmpeg (/usr/syno/bin/ffmpeg)

No need to install Serviio

also in the trancode settings I modified the cmd to this (adding -vn):
ffmpeg -i %s -ab %bk -v 0 -vn -f mp3 -

I do have a problem with some tag reading though, doesn't pick up the artist tag when the folder has multiple files with different artists, which hopefully will be fixed in 5.1

Works like a charm, so many thanks for doing this.
These users thanked the author elvosparsley for the post:
Madsonic
Rating: 7.69%
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by z-vap »

Installed the 5.1 spk without any hitches.

The NEW icon is displayed at the top right, suggesting 5.1.5150 is released. For us synology users, is it safe to upgrade by just replacing the WAR and JAR files?

EDIT its looking like the madsonic.war, madsonic-booter.jar, and madsonic.sh files
These users thanked the author z-vap for the post:
Madsonic
Rating: 7.69%
Siutsch
Posts: 9
Joined: 14 Mar 2013, 11:30
Has thanked: 2 times
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by Siutsch »

Hi.

I used the old Version Madsonic5.0-B3860-012.spk on my Synology 1813+ with installed but stopped serviio package and Java 7 in the past.
Everything worked.
I had also problems to activate transcoding, but I can't remember how I fixed this.

Now I tested the newest version "Madsonic5.1-B5060-016.spk" (deinstalled Madsonic before), but now with Java 8 an deinstalled serviio and installed again.
After installation I updated to 5.1.5150 by copying madsonic.war and madsonic-booter.jar from file "20140927_madsonic-5.1.5150-standalone.zip".

After log in and scanning my media-Files I only can play music (mp3).

Playing a movie leads to "Error loading media: File could not be played!".

In help it shows "WARNING no transcoder found!":

Version MADSONIC 5.1.5150.20140927.0920
MADSONIC REST API v1.12.0
License Madsonic Free Edition, for personal use only as described below.
Server jetty/8.y.z-SNAPSHOT, java 1.8.0_06, Linux (79,7 MB / 224,8 MB)
Size: Database: 427MB, Thumbs-Cache: 3MB, LastFM-Cache: 0MB, Lucene-Cache: 10MB
Spring.Framework v3.2.11, Spring.Security v3.2.5
HyperSQL DataBase v2.3.2
WARNING no transcoder found!

I tested with copying the ffmpeg binary from serviio directory and replaced the old one in /volume1/@appstore/Madsonic/transcode.
I changed permission to 775 and the owner to "madsonic" (instead of root after copying).
Transcoding does not work!

On 4.6.2014 you wrote:
Serviio is only needed for the ffmpeg version. With newer versions of the Madsonic plugin, there will be no more dependency on this package (ffmpeg).

Is this done with current version (5.1.5150) for Synology (after copying madsonic.war and madsonic-booter.jar)?
Or is serviio package still be necessary?

How can I get transcoding back to life?

Can we expect a current package for Synology or is copying madsonic.war and madsonic-booter.jar over version 5.1-B5060-016 enough?

Thankz for this fantastic tool!

Siutsch.

Update:
If I copy the ffmpeg from the Synology (from /use/syno/bin), the help page shows "ffmpeg version 2.0.2 (30.05.2014)".
But I still can not play videos.
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by z-vap »

i can't answer your question as I never played anything but music with mine, but I can tell you I did try playing a short video with mine recently and all it displayed was a black window.

I did see a copy of ffmpeg in the latest install (and i did not install serviio this time around). That all being said I do not know what the fix is for this.
Siutsch
Posts: 9
Joined: 14 Mar 2013, 11:30
Has thanked: 2 times
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by Siutsch »

Thankz! :)

I hope Madevil can help.
Siutsch
Posts: 9
Joined: 14 Mar 2013, 11:30
Has thanked: 2 times
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by Siutsch »

Plz don't forget us Synology users ...
These users thanked the author Siutsch for the post:
muiz
Rating: 7.69%
muiz
Posts: 20
Joined: 13 Jan 2013, 01:36
Has thanked: 4 times
Been thanked: 3 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by muiz »

Thx for trying. i was just going to try myself. Gues we have to wait for an update.
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by z-vap »

@el-gato are you saying you manually replaced madsonic.war, madsonic-booter.jar, and madsonic.sh to 5150 and it won't restart? I was just planning on doing that, but may hold off if you're showing problems
Siutsch
Posts: 9
Joined: 14 Mar 2013, 11:30
Has thanked: 2 times
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by Siutsch »

In my opinion you can not change the file "madsonic.sh", because the paths are different.

It won't start after that.

Replacing madsonic.war and madsonic-booter.jar is OK.

(But I can't transcode and hoping on help from Madevil.)
These users thanked the author Siutsch for the post:
z-vap
Rating: 7.69%
MuadDib_II
Posts: 9
Joined: 18 Jul 2013, 14:09
Has thanked: 1 time
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by MuadDib_II »

Hi,

Does someone knows how to use a SSL connection to Madsonic? All my Synology apps use it with the only exception being Madsonic, witch I can't change the config...

Thanks in advance,
Marc
User avatar
olive069
Posts: 13
Joined: 03 Dec 2013, 15:53
Has thanked: 8 times
Been thanked: 10 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by olive069 »

Can someone make a Madsonic spk for ARMv5 with Madsonic 5.2 Beta2??

thanks.
st3ffen
Posts: 1
Joined: 07 May 2014, 06:02
Has thanked: 0
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by st3ffen »

Works fine @ DSM 5.1 / DS413 :) .
Does anyone use the Jukebox function?
java audioDevList didnt found any mixer :(
st3ffen
Posts: 1
Joined: 07 May 2014, 06:02
Has thanked: 0
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by st3ffen »

Yes, with no changes. But i've only tested with flac audio files. I've installed the following apps. And i wonder myself that Serviio is not installed and it works anyway :0.
Last edited by st3ffen on 19 Jan 2015, 19:56, edited 1 time in total.
These users thanked the author st3ffen for the post:
DoCC
Rating: 7.69%
st3ffen
Posts: 1
Joined: 07 May 2014, 06:02
Has thanked: 0
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by st3ffen »

Ok, now i've a the problem @ my new DS415+. Trancode on Madsonic doesn't work.
The reason for that is certainly that the surviio package doesn't exists for my 415+.
Now my question:
-Is it possible to use the ffmpeg package which is allready installed by "Audio Station" ?

Code: Select all

DiskStation> find /* |grep ffmpeg
/usr/syno/bin/ffmpeg-thumb
/usr/syno/bin/ffmpeg
/volume1/@appstore/AudioStation/bin/ffmpeg
/volume1/@appstore/AudioStation/lib/ffmpeg
/volume1/@appstore/AudioStation/lib/ffmpeg/libavresample.so.1
/volume1/@appstore/AudioStation/lib/ffmpeg/libavformat.so.55
/volume1/@appstore/AudioStation/lib/ffmpeg/libswresample.so.0
/volume1/@appstore/AudioStation/lib/ffmpeg/libavutil.so.52
/volume1/@appstore/AudioStation/lib/ffmpeg/libavcodec.so.55
/volume1/@appstore/AudioStation/lib/ffmpeg/libavdevice.so.55
/volume1/@appstore/AudioStation/lib/ffmpeg/libswscale.so.2
/volume1/@appstore/AudioStation/lib/ffmpeg/libavfilter.so.3
/volume1/@appstore/Madsonic/transcode/ffmpeg
DiskStation>

This is my "find" output on my DS413:

Code: Select all

Server> find * / |grep ffmpeg
find: *: No such file or directory
/usr/syno/bin/ffmpeg-thumb
/usr/syno/bin/ffmpeg
/volume1/@appstore/SurveillanceStation/lib/ffmpeg
/volume1/@appstore/SurveillanceStation/lib/ffmpeg/libswscale.so.2
/volume1/@appstore/SurveillanceStation/lib/ffmpeg/libswresample.so.0
/volume1/@appstore/SurveillanceStation/lib/ffmpeg/libavformat.so.54
/volume1/@appstore/SurveillanceStation/lib/ffmpeg/libavutil.so.51
/volume1/@appstore/SurveillanceStation/lib/ffmpeg/libavcodec.so.54
/volume1/@appstore/Serviio/bin/ffmpeg-wrapper.sh
/volume1/@appstore/Serviio/bin/ffmpeg
/volume1/@appstore/Subsonic/transcode/ffmpeg
/volume1/@appstore/DVBLinkServer/common/ffmpeg
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libavfilter.so.3
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libswresample.so.0
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libavformat.so.54
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libavdevice.so.54
/volume1/@appstore/DVBLinkServer/common/ffmpeg/ffmpeg
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libshine.so.1
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libswscale.so.2
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libavutil.so.51
/volume1/@appstore/DVBLinkServer/common/ffmpeg/make_thumbnail.sh
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libavcodec.so.54
/volume1/@appstore/DVBLinkServer/common/ffmpeg/libpostproc.so.52
/volume1/@appstore/VideoStation/bin/ffmpeg
/volume1/@appstore/VideoStation/bin/cffmpeg
/volume1/@appstore/VideoStation/lib/ffmpeg
/volume1/@appstore/VideoStation/lib/ffmpeg/libavformat.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libswresample.so.0
/volume1/@appstore/VideoStation/lib/ffmpeg/libavutil.so.52
/volume1/@appstore/VideoStation/lib/ffmpeg/libavcodec.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libavdevice.so.55
/volume1/@appstore/VideoStation/lib/ffmpeg/libswscale.so.2
/volume1/@appstore/VideoStation/lib/ffmpeg/libavfilter.so.3
/volume1/@appstore/VideoStation/lib/ffmpeg/libpostproc.so.52
/volume1/@appstore/Madsonic/transcode/ffmpeg
And if anyone has any ideas for my other problem ;)

DiskStation> java audioDevList
Available mixers:
DiskStation>
st3ffen
Posts: 1
Joined: 07 May 2014, 06:02
Has thanked: 0
Been thanked: 2 times

Re: Madsonic Server 5.x Synology-NAS Plugin

Unread post by st3ffen »

Transcoding works :)

First: Its not necessary to install Serviio.(but it worked with the arch = avoton)

My Steps:

Code: Select all

cd /volume1/@appstore/Madsonic/
mv transcode/ transcode1/
mkdir transcode
chown madsonic:users transcode/
ln -s /volume1/@appstore/AudioStation/bin/ffmpeg  transcode/
cd transcode
ll
DiskStation> ll
drwxr-xr-x    2 madsonic users         4096 Jan 24 11:25 .
drwxr-xr-x   11 madsonic users         4096 Jan 24 11:37 ..
lrwxrwxrwx    1 root     root            42 Jan 24 11:25 ffmpeg -> /volume1/@appstore/AudioStation/bin/ffmpeg
DiskStation> 
Best Regards
st3ffen
Post Reply