ports/www/madsonic/files/message-common.in
Rodrigo Osorio cbe630e956 Add new port www/madsonic, a network media streamer
Madsonic is a fork of Subsonic, offering more features
and mobile client access without the subscription fee.

PR:		ports/186860
Submitted by:	Nicole Reid <root@cooltrainer.org>
2014-11-26 09:26:43 +00:00

17 lines
698 B
Text

On headless machines, start the container server with
%%CONTAINERFLAGS%%="-Djava.awt.headless=true"
to prevent problems showing album art thumbnails.
You can increase the container server's memory allocation if needed like
%%CONTAINERFLAGS%%="-Xms96m -Xmx512m"
Use a UTF-8 locale to enable support for all possible tags. Otherwise,
files with Unicode tags will not scan properly and will be unplayable.
Chapter 23 of the FreeBSD Handbook has information on using locales.
https://www.freebsd.org/doc/handbook/l10n.html
For example, US English:
%%CONTAINERFLAGS%%="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US"
Combine multiple flags into a single %%CONTAINERFLAGS%%="[...]" line.