Using the host "localhost" and the service "silverjuke", you can also control Silverjuke by DDE on Windows or TCP/IP on Linux.
The supported topics are simelar the the command line options:
open - clear the playlist and open the files given as data; playback is started using the first given file
enqueue - enqueue the files given as data; the currently playing track stays unchanged and existing files are not removed from the queue
play - same as pressing the "play" button
pause - same as pressing the "pause" button
toggle - toggle play/pause
prev - play the previous track, if any
next - play the next track, if any
kiosk - start kiosk mode
raise - bring the Silverjuke main window to the top of all windows
Please also note the command line options which are easier to use in some cases.
Silverjuke 1.15beta2 supports a basic credit system that may be controlled with the following additional DDE commands:
addcredit - adds the numer of credits (tracks that may be enqueued) given in data to the credit system
setcredit - sets the number of available credits to the number given in data
These options only work if "Settings/Kiosk mode/Credit system/Credits may be added by external programs" is enabled.
The following commands will be introduced in Silverjuke 1.50beta5:
volup - Increase the main volume
voldown - Decrease the main volume
togglevis - Toggle the selected visualizations on and off
The following command will be introduced in Silverjuke 2.52beta2:
execute - Execute the script snippet given in data. Instead of giving the script directly, you can also write the script to a file and give the filename as data.
With this DDE command you are able to execute any little script by the command line. For scripting details, please refer to the Silverjuke SDK.
> Silverjuke 1.15beta2 supports a basic credit
> system that may be controlled with the following
> additional DDE commands:
> addcredit - adds the numer of credits (tracks that
> may be enqueued) given in data to the credit
> setcredit - sets the number of available credits
> to the number given in data
> These options only work if "Settings/Kiosk
> mode/Credit system/Credits may be added by
> external programs" is enabled.
Where can I buy a coin validator compatible with Silverjuke for british currency
> Where can I buy a coin validator compatible
> with Silverjuke for british currency
As far as I know, the emp800 should also work with british pounds. If in doubt, you should contact whberlin here: http://www.whberlin.de/neu/inhalt_e/index_e.html
For Silverjuke, you can use nearly any coin acceptors, for some high-level support modules, see http://www.silverjuke.net/en/addons
Can't you get any coin validations that has USB interface?!
> Using the host "localhost" and the service "silverjuke", you can also control Silverjuke by DDE on Windows or TCP/IP on Linux.
can you say a lillte more about the use of TCP/IP? Since there is no concept like the DDE 'service', I guess I need to specify a port number, and maybe a protocol? Can I just (for instance) telnet to a port and take it from there?
Thanks in anticipation...
Silverjuke uses the wxWidgets classes for interprocess communication. Theses classes use DDE on windows and TCP/IP on other operating systems. For further details, please have a look at http://docs.wxwidgets.org/2.6/wx_ipcoverview.html - please note, that you need some programming experiences to use this service. Please also note the command line options which may be easier to use.
NB: To test the DDE part under windows, we found a little "howto" here.
> can you say a lillte more about the use of TCP/IP?
> Since there is no concept like the DDE 'service',
> I guess I need to specify a port number, and
> maybe a protocol? Can I just (for instance)
> telnet to a port and take it from there?
Depending on your requirements the following might interest you: I have created a DLL with a remote HTTP interface for SJ, both the client side and the server side.
This system was originally created by me to have a Silverjuke running on a remote machine control. This uses internally a HTTP client from inside one Silverjuke instance, and a HTTP server inside the other. The interface is just HTTP you can test the system with any browser and control SJ from anything able to transmit a HTTP request.
Development on this system has halted due to lack of testers and time, but depending on your wishes it might give you a headstart if you want to do some serious remote controlling. PM me if you think this is something you can use as I do not want release the code into the public yet.
Final warning however: note this plugin is written in a mixture of C and SJ-script...