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 which are easier to use in some cases.
DDE and TCP/IP data exchange
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
DDE and TCP/IP data exchange
Last edited by Service-Team on 30. Sep 08, 09:14, edited 4 times in total.
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Credit system
Silverjuke 1.15beta2 supports a basic 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.
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.
- Attachments
-
- credits.gif (21.02 KiB) Viewed 26871 times
Last edited by Service-Team on 30. Sep 08, 09:15, edited 4 times in total.
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Volume & Visualizations
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
volup - Increase the main volume
voldown - Decrease the main volume
togglevis - Toggle the selected visualizations on and off
Last edited by Service-Team on 30. Sep 08, 09:15, edited 1 time in total.
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Start scripts via DDE
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 .
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 .
Last edited by Service-Team on 30. Sep 08, 09:13, edited 1 time in total.
Re: DDE and TCP/IP data exchange
Can't you get any coin validations that has USB interface?!
-
- Posts: 2
- Joined: 19. Mar 09, 12:16
- Location: UK [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: DDE and TCP/IP data exchange
Hello there
you say:
> 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...
J^n
you say:
> 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...
J^n
- Service-Team
- Posts: 2448
- Joined: 7. Dec 04, 04:48
- Location: Germany [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: DDE and TCP/IP data exchange
Hello jkn,
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 which may be easier to use.
NB: To test the DDE part under windows, we found a little "howto" .
Best regards,
Your Silverjuke-Team
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 which may be easier to use.
NB: To test the DDE part under windows, we found a little "howto" .
Best regards,
Your Silverjuke-Team
-
- Posts: 713
- Joined: 30. Sep 08, 14:00
- Location: Netherlands [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: DDE and TCP/IP data exchange
Hi jkn,
jkn wrote:
> 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...
Bye,
SilverEagle
jkn wrote:
> 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...
Bye,
SilverEagle