Post Reply 
dlna search & synology nas
17-07-2012, 07:57 (This post was last modified: 24-07-2012 20:16 by winxi.)
Post: #11
RE: dlna search & synology nas
Quote:This is probably because MinimServer doesn't implement the optional AVTransport service. It sounds like either BubbleUPnP or the Sony Blu-ray system needs that.

i see! it seems that the sony renderers need that protocol, since neither my Sony Bravia TV, nor the Sony Bluray System even show up minimServer in their native DLNA menu. do you have plans to implement this?

Quote:That's great news! Could you write a very brief set of instructions and post them here for the benefit of other Synology users?

running it at a Synology DS is quite straightforward. note that it requires java being installed - you are recommended to use this package. After you have installed java, reboot your NAS.
be aware that you have to adopt the following instructions to the version of MinimServer you use (version number and either ARM or x86).

1) get access to your DS via telnet or ssh and login as root. (i.e. use 'root' as username, and type your admin-password).

2) copy the appropriate MinimServer archive to your '/usr/local' folder. Assuming you use 'MinimServer-05.2-linux-arm.tar.gz' and you have downloaded it to the root folder of volume1, type:

Code:
cp /volume1/MinimServer-05.2-linux-arm.tar.gz /usr/local

3) change the directory and extract the archive:

Code:
cd /usr/local
tar xvzf MinimServer-05.2-linux-arm.tar.gz

4) now you may delete the archive by typing

Code:
rm MinimServer-05.2-linux-arm.tar.gz

5) change the dircetory and run MinimServer as background process:

Code:
cd /usr/local/minimserver-0.52/data
java -jar ../lib/minimserver.jar --quiet --nohup &

Note that it is recommended to kill MinimServer before powering off or rebooting the NAS.

If you want MinimServer to be started and killed automatically when you boot or poweroff your NAS, create the script 'minim.sh' containing

Code:
#!/bin/sh
case $1 in
    start)
        if [ -f  /tmp/minim.pid ]; then
            echo "MinimServer is already running..."
            exit 1
        else
            cd /usr/local/minimserver-0.52/data
            /volume1/@appstore/java7/jre/bin/java -jar ../lib/minimserver.jar --quiet --nohup &
            PID=$!
            echo $PID > /tmp/minim.pid
            exit 0
        fi
    ;;
    stop)
        if [ -f  /tmp/minim.pid ]; then
            PID=$(cat /tmp/minim.pid)
            rm /tmp/minim.pid
            kill $PID
            sleep 2
            exit 0
        else
            echo "MinimServer is not running..."
            exit 1
        fi
    ;;
esac

and put it in the folder 'usr / local / etc / rc.d' (please remove the spaces, couldn't post this else). note that when you create such a file in windows, you need an editor that supports UTF-8 (e.g. notepad++). in the above code, you have to adopt the path of your java installation, which you might get by typing

Code:
which java

cheers, winxi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
dlna search & synology nas - winxi - 16-07-2012, 08:44
RE: dlna search & synology nas - winxi - 17-07-2012 07:57

Forum Jump:


User(s) browsing this thread: 1 Guest(s)