Mon Oct 28, 2013 11:24 pm by sleky
Please see:
http://serviio.org/component/content/article?id=21#q3 What you are looking to pass is the
serviio.remoteHost property field.
OSX
Browse the contents of Serviio.app or Serviio-Console.app and open file Contents/Info.plist in TextEdit. To add the property insert these XML tags under Java/Properties/dict tree:
<key>property_name</key>
<string>property_value</string>
Here is my Info.plist.
- Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Serviio-Console</string>
<key>CFBundleShortVersionString</key>
<string>1.3.1</string>
<key>CFBundleGetInfoString</key>
<string>1.3.1 (c) 2009 - 2013 Petr Nejedly</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>false</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleExecutable</key>
<string>JavaApplicationStub</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleIconFile</key>
<string>serviio.icns</string>
<key>CFBundleIdentifier</key>
<string>org.serviio.serviio-console</string>
<key>CFBundleURLTypes</key>
<array> <dict> <key>CFBundleURLName</key> <string>org.serviio.url</string> <key>CFBundleURLSchemes</key> <array> <string>serviio</string> </array> </dict> </array>
<key>Java</key>
<dict>
<key>MainClass</key>
<string>org.serviio.console.ServiioConsole</string>
<key>JVMVersion</key>
<string>1.6+</string>
<key>ClassPath</key>
<array>
<string>$JAVAROOT/commons-codec.jar</string>
<string>$JAVAROOT/jul-to-slf4j.jar</string>
<string>$JAVAROOT/log4j.jar</string>
<string>$JAVAROOT/org.restlet.ext.net.jar</string>
<string>$JAVAROOT/org.restlet.ext.xstream.jar</string>
<string>$JAVAROOT/org.restlet.jar</string>
<string>$JAVAROOT/serviio-client.jar</string>
<string>$JAVAROOT/serviio.jar</string>
<string>$JAVAROOT/slf4j-api.jar</string>
<string>$JAVAROOT/slf4j-log4j12.jar</string>
<string>$JAVAROOT/xstream.jar</string>
<string>$JAVAROOT/config</string>
</array>
<key>VMOptions</key>
<string>-Xms5M -XX:+UseParNewGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10</string>
<key>Properties</key>
<dict>
<key>serviio.home</key>
<string>$JAVAROOT</string>
<key>java.net.preferIPv4Stack</key>
<string>true</string>
<key>serviio.remoteHost</key>
<string>10.4.20.10</string>
</dict>
</dict>
</dict>
</plist>