Package Details: serviio 2.0-1

Git Clone URL: https://aur.archlinux.org/serviio.git (read-only)
Package Base: serviio
Description: Free DLNA media server
Upstream URL: http://www.serviio.org/
Licenses: custom
Submitter: cebru
Maintainer: lesebas
Last Packager: lesebas
Votes: 60
Popularity: 0.006867
First Submitted: 2011-04-09 16:25
Last Updated: 2019-05-28 19:50

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

lesebas commented on 2015-11-05 09:35

@zerophase

For your first question, I don't think so... Did you try to run the service on other machine (if possible)?

For the second you don't have to install specific vendor Sun for Java, see wiki on java:

https://wiki.archlinux.org/index.php/Java#Package_pre-requisites_to_support_archlinux-java

''Packages that need any Java environment should declare dependency on java-runtime, java-runtime-headless or java-environment as usual''

zerophase commented on 2015-11-05 04:20

Serviio has been slowing down shutdown for me. Are there any modification to the service file that could fix this?

is there a solution for getting rid of JavaEmbeddedFrame when the console is open, other than installing Sun Java?

m79reed commented on 2015-03-09 07:54

It's better to use: "-Dffmpeg.location=ffmpeg" instead "-Dffmpeg.location=/usr/bin/ffmpeg". See source file: serviio-1.5.1-linux.tar.gz:serviio-1.5.1/bin/serviio.sh, line 57.

lesebas commented on 2015-03-07 11:24

OK package updated with all you suggestions. Let me know if it works for everyone as I didn't test it with other version of java runtine than openjdk.

dront78 commented on 2015-03-07 11:11

pls remove gksu dependence
also modified startup to jre support, since no jdk.sh in oracle java8

#!/bin/sh

if [ $UID -eq 0 ]
then
if [[ -f /etc/profile.d/jdk.sh ]]; then
. /etc/profile.d/jdk.sh
elif [[ -f /etc/profile.d/jre.sh ]]; then
. /etc/profile.d/jre.sh
fi
export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
SERVIIO_HOME="/usr/share/java/serviio"
CP="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config"
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME"

java -Xmx384M $JAVA_OPTS -classpath $CP org.serviio.MediaServer "$@"
else
echo "Must be run as root."
fi

dront78 commented on 2015-03-07 10:42

also modified startup to jre support, since no jdk.sh in oracle java8

#!/bin/sh

if [ $UID -eq 0 ]
then
if [[ -f /etc/profile.d/jdk.sh ]]; then
. /etc/profile.d/jdk.sh
elif [[ -f /etc/profile.d/jre.sh ]]; then
. /etc/profile.d/jre.sh
fi
export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
SERVIIO_HOME="/usr/share/java/serviio"
CP="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config"
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME"

java -Xmx384M $JAVA_OPTS -classpath $CP org.serviio.MediaServer "$@"
else
echo "Must be run as root."
fi

nplatis commented on 2015-03-06 20:12

The dependency on 'jre8-openjdk-headless' could be replaced by the more generic 'java-runtime-headless=8'.

axel commented on 2015-03-06 19:40

Ok I have found a solution. I added in /usr/bin/serviio at the end of JAVA_OPTS the location of ffmpeg

-Dffmpeg.location=/usr/bin/ffmpeg

axel commented on 2015-03-06 18:58

Version 1.5.1 doesn't scan my files. I checked /var/log/serviio/serviio.log and it is full with java exceptions and messages like those:

ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "lib\ffmpeg.exe": error=2, No such file or directory

MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (*.mp4). Message: Unknown video file type.

lesebas commented on 2015-02-25 20:26

Updated, enjoy.