PDA

View Full Version : Multizone jnlp problem...



meep
2007-10-28, 07:59
Hi All

I've set up batch file to launch 3x instances of softsqueeze. The batch file, (reproduced below) launches slightly modified verions of .jnlp per instance. The purpose of the .jnlp files is to set the MAC address and sound dievice per softsqueeze instance.

When I set this uo a few monhs ago, it worked perfectly. Running the batch file would launch the 3x instances and each would have seperate settings.

Now, however, the 3x softsqueeze instances launch but they do not take on the different MAC and device settings. They all take the same settings and I must change them manually via each player settings.

All I can think that has changed are either an OS update or, more likely, a Java update.

Anyone any thoughts on how I might fix this?

The batch file is as follows;

C:\WINDOWS\system32\javaws.exe -offline "C:\Program Files\SlimServer\server\HTML\EN\html\softsqueeze\s oftsqueeze_movies.jnlp"

C:\WINDOWS\system32\javaws.exe -offline "C:\Program Files\SlimServer\server\HTML\EN\html\softsqueeze\s oftsqueeze_kitchen.jnlp"

C:\WINDOWS\system32\javaws.exe -offline "C:\Program Files\SlimServer\server\HTML\EN\html\softsqueeze\s oftsqueeze_masterbed.jnlp"





One of the .jnlp files is as follows (the others are similar with different macaddress and sound.mixer properties.

<?xml version="1.0" encoding="[% LOCALE %]"?>

<!-- JNLP File for Softsqueeze -->

<!-- ** This file is configured for the slimserver ** -->

<!-- To use this jnlp file from another webserver or your local file -->
<!-- system you must edit the 'codebase' and 'slimserver' attributes. -->
<!-- Note you must make sure that the webserver returns the MIME -->
<!-- type 'application/x-java-jnlp-file'. -->

<jnlp
spec="1.0+"
codebase="http://127.0.0.1:9000/html/softsqueeze/"
href="softsqueeze.jnlp">
<information>
<title>Softsqueeze 3.4</title>
<vendor>Richard Titmuss, et.al.</vendor>
<homepage href="http://softsqueeze.sourceforge.net"/>
<description>Softsqueeze Squeezebox Emulator</description>
<description kind="short">Softsqueeze Squeezebox Emulator</description>
<icon width="400" height="200" kind="splash" href="icons/splash.gif" />
<icon width="64" height="64" href="icons/icon64.gif" />
<offline-allowed />
<shortcut online="false">
<desktop />
<menu submenu="SlimServer" />
</shortcut>
</information>
<offline-allowed/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="SoftSqueeze.jar"/>
<jar href="lib/log4j-1.2.8.jar"/>
<jar href="lib/tritonus_share.jar"/>
<jar href="lib/mp3spi1.9.2.jar"/>
<jar href="lib/jl1.0.jar"/>
<jar href="lib/jflac-1.0.jar"/>
<jar href="lib/jsch-20040429.jar"/>
<jar href="lib/jogg-0.0.7.jar"/>
<jar href="lib/jorbis-0.0.15.jar"/>
<jar href="lib/vorbisspi1.0.2.jar"/>
<jar href="lib/nativeskin.jar"/>
<nativelib href="lib/nativeskinlib.jar"/>

<!-- Set the following properties to configure the server and firmware -->

<property name="slimserver" value="192.168.1.4"/>
<property name="macaddress" value="68:12:6e:9a:74:68 "/>
<property name="audio.mixer" value="M-Audio Delta 410 1/2"/>

</resources>
<application-desc main-class="org.titmuss.softsqueeze.Application"/>
</jnlp>

meep
2007-11-01, 09:51
Anyone even understand what I'm talking about or do I need to re-phrase?

Peter