MLServer Beta Download and Help Documentation

Discuss topics related to the plugins and uses for MLServer beta
User avatar
mcascio
Founder
Founder
Posts: 8270
Joined: Tue Jan 28, 2003 4:03 pm
Location: Kenosha, Wi
Contact:

MLServer Beta Download and Help Documentation

Postby mcascio » Tue Sep 09, 2003 12:39 pm

MainLobby Server is a new Server side application written for MainLobby and other Cinemar software - it comes free with every purchase of MainLobby and allows up to 5 clients to connect. Additional clients can be added - contact Cinemar for more information. MainLobby Server allows the Cinemar applications to have mutliple clients and send information back to the server. MainLobby clients can now communicate bi-directionally with a server to issue commands to control hardware and other software connected to the server as well as send macros.

It is available for download and requires MainLobby 2.30a or higher. MainLobby creates a file called mlserverconnect.ini in your Cinemar folder. If you are trying to connect to MLServer located on a networked computer, edit the ini file using Notepad changing the serverDomain to the name of the computer you are connecting to. From MainLobby, when you edit a button you will notice an MLServeCmd line in the button properties. You need to install the MainLobby Server software on the computer you'd like to control.

Download information available on the following page:
http://www.cinemaronline.com/mlserver.html

Sending Macros
MLServeCmd.Macro|MLFileOpen|notepad. exe!MLPause|3!MLWindowFunctions|Notepad~SENDKEYS~Hello
Just seperate each command with an ! and use MLPause|x seconds to time things correctly.

Changing Scenes
You can change scenes from any client or web browser, by sending:
MLServeCmd.MLCmd|ChangeScene~PROGEAR~musiclobby.mls
You can also choose ALL for the client to tell all connected clients to open the scene

+Added Web server on port 6246
+Added web capability http://server:6246/command?[MLServeCmd]|[Parameters]
> Sample: http://myServerDomainName:6246/command? ... yScene.mls
> Sample: http://main:6246/command?MLCmd|MLCommand~All~MLexit
> Sample: http://Main:6246/command?SetVariable|GarageStatus~Open
+Added web capability http://server:6246/send?[Text]
+Added MLServeCmd.MLCmd|ChangeScene~[Client/All]~[mls]
+Added MLServeCmd.MLCmd|Msg~[Client/All]~[Title]~[Text]
+Added MLServeCmd.MLCmd|MLCommand~[Client/All]~[MLCmd: MLBackScene/MLminimize/MLexit/MLsendtoback/RemoteFX Hide/RemoteFX Show/OverlayFX Hide/OverlayFX Show/BackgroundFX Hide/BackgroundFX Show/TaskBarShow/TaskBarHide/MLMenu]
+Added Passing Command Line Parameters from other programs: c:\progra~1\mlserver\mlserver.exe "MLServeCmd.Macro|MLRedirect|HTPC1::5004::MLServeCmd.MLFileOpen|C:\Program Files\ATI Multimedia\main\ATIMMC.exe~ /TV+"

To learn the proper command syntax to be sent for each Plugin - press the About button in MLServer after you have selected the proper plugin.

Develop or Submit Your Own Plug-Ins
Users have the ability to create plugins in VB, C++, Java, PerlScript, Python, PScript, JScript, VBScript - basically any language that has a windows scripting engine. Contact Cinemar if you would like more information.


Here is a list of the currently available plug-ins:
MLCX777ES
http://www.cinemaronline.com/mlserver.cx777es.html
Control the Sony DVP-CX777ES 400 Disc CD/DVD MegaChanger via serial connection.

MLConditional
Execute conditional statements from MLServer. (ie Checks if a file is running or if a file exists)

MLRedirect
Redirect commands to a copy of MLServer running on a different computer.

MLCallerID (US Robotics USR5633ACCS USB)
Uses a modem to display caller/photo ID on all MainLobby clients
Make sure modem is CallerID capable.

MLFileOpen
Open an application and/or pass parementers including window state (Hidden, Maximized, etc.)

MLSlinke
Control devices connected to the Nirvis Slinke from any computer including Pocket PCs connected to your network without the problems associated with DCOM. Integrate with DVDLobby for full DVD MegaChanger control.

MLFirecracker
Plug-in to allow MainLobby clients to communicate with a Firecracker/CM17a X-10 trasmitter on the server computer.

MLGirder
Plug-In for MLServer allowing you to send girder events directly to girder from connected clients. Much faster than using the Girder Event in the button properties panel.

MLHomeseer
Plug-in to allow MainLobby clients to control Homeseer.

MLShowshifter
Control Showshifter directly from MainLobby.

MLTheaterTek
Control TheaterTek directly from MainLobby.

MLZoomPlayer
Control ZoomPlayer directly from MainLobby.

MLMatrixOrbitalMX2
Plug-in to allow MainLobby clients to communicate with the MX2 LCD from Matrix Orbital.

MLMediaCenter
Plug-in to allow MainLobby clients to remotely control basic functions of J River MediaCenter/MediaJukebox. This plug-in connects to and requires the MusicLobby plug-in for MediaCenter.

MLMusicPlayer
Plug-In to allow MainLobby clients to play back audio files on the server. You can play files by calling their full path or creating an alias (ie, Test = C:\Program Files\MLServer\sounds\test.mp3). You may have as many user-defined aliases as you would like. Double-clicking an alias in the 'Settings' dialog will play that alias.

MLPause
This plug-in pauses execution of commands in a macro. This is typically used in a macro function.

MLRS232Send
This is a one-way plug-in to send ASCII/HEX characters out a designated serial port on the server for controlling external hardware devices.

MLWindowFunctions
Plug-In to manipulate windows on the server. This plug-in allows you to Minimize, Maximize, Restore to Default, Close, Quit, Send keystrokes to and bring any window to the foreground. SENDKEYS sets focus on the window and emulates keystrokes. SENDCHARACTERS sends a keystroke message to the window's messaging queue without changing focus. It is recommended to use SENDCHARACTERS whenever possible; however, it will not work with all applications.

BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
CAPS LOCK {CAPSLOCK}
DEL or DELETE {DELETE} or {DEL}
DOWN ARROW {DOWN}
END {END}
ENTER {ENTER}or ~
ESC {ESC}
HELP {HELP}
HOME {HOME}
INS or INSERT {INSERT} or {INS}
LEFT ARROW {LEFT}
NUM LOCK {NUMLOCK}
PAGE DOWN {PGDN}
PAGE UP {PGUP}
PRINT SCREEN {PRTSC}
RIGHT ARROW {RIGHT}
SCROLL LOCK {SCROLLLOCK}
TAB {TAB}
UP ARROW {UP}
F1 {F1}
F2 {F2}
F3 {F3}
F4 {F4}
F5 {F5}
F6 {F6}
F7 {F7}
F8 {F8}
F9 {F9}
F10 {F10}
F11 {F11}
F12 {F12}
F13 {F13}
F14 {F14}
F15 {F15}
F16 {F16}
+ {+}

To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes:

Key Code
SHIFT +
CTRL ^
ALT %

To specify that any combination of SHIFT, CTRL, and ALT should be held down while several other keys are pressed, enclose the code for those keys in parentheses. For example, to specify to hold down SHIFT while E and C are pressed, use "+(EC)". To specify to hold down SHIFT while E is pressed, followed by C without SHIFT, use "+EC".

To specify repeating keys, use the form {key number}. You must put a space between key and number. For example, {LEFT 42} means press the LEFT ARROW key 42 times; {h 10} means press H 10 times.

ADVANCED DVDLOBBY & MLSERVER: Launching Media Files from Multiple Clients using TheaterTek as the Player (on each Client) and a centrally stored Media Server and DVDLobby Database

Client1
MLServer Running, started and listening on Port 5004, but no configuration in MLDVDLobby is necessary
MainLobby Settings in Options > Startup
MLServer ClientID: Client1
Computer Name (Server): Name of Media Server's Computer (From the Media Server Computer goto: Start > Control Panel > System > Computer Name Tab)
MLServer Port: 5004

With the button that launches DVDLobby or an added button, assign the following MLServeCmd to a button that you press before launching a movie for the first time:
MLServeCmd.SetVariable|Location~Name of Client1's Computer
(From the Client1 Computer goto: Start > Control Panel > System > Computer Name Tab)


Client2
MLServer Running, started and listening on Port 5004, but no configuration in MLDVDLobby is necessary
MainLobby Settings in Options > Startup
MLServer ClientID: Client2
Computer Name (Server): Name of Media Server's Computer (From the Media Server Computer goto: Start > Control Panel > System > Computer Name Tab
MLServer Port: 5004

With the button that launches DVDLobby or an added button, assign the following MLServeCmd to a button that you press before launching a movie for the first time:
MLServeCmd.SetVariable|Location~Name of Client2's Computer
(From the Client2 Computer goto: Start > Control Panel > System > Computer Name Tab)


Media Server
MainLobby doesn't need to be running on this machine
MLServer running, started and listening on Port 5004
MLServer Media Titles Stored Here in MLDVDLobby Plugin)
Add Media Files to your MLDVDLobby Plugin and browse your hard drive for the IFO format file for each Media File. Be sure to browse through "My Network Places" when locating the files and that each client can actually see the files when browsing using Explorer.
Configure the Default Play Movie Command in the MLDVDLobby Plugin as:
MLServeCmd.MLRedirect|{{Location}}::5004::MLServeCmd.Macro|MLTheaterTek|EXIT!MLPause|5!MLFileOpen|<<FILE>>


Commonly Asked Questions
Q: Where's the help documentation for MLServer?
A: From MLServer, select a plugin in the plugin window then press Help. This will provide you with the sample syntax and available properties for that particular plugin.

Image

Q: When starting MLServer, I get the following errors,
Couldnt Find server CLSID Error Code ==0x800401f3
Coundnt create server object Error Code==0x80040154
A: When you install MLServer, there is an option to install the Slinke Plugin. Chances are you don't own or have a Nirvis Slinke connected to your computer. Reinstall MLServer and deselect the Slinke plugin.

Q: I didn't receive a registration key for MLServer and it says that it is an evaluation version. How do I get one and do I have to pay for it?
A: A registration key will be provided to all existing customers who have purchased a Cinemar software product at no charge. We are still working on completing and automating this process. Once it is ready, you will be emailed your key. Contact Cinemar if your trial/evaluation period has expired.

Q: How do I start a movie in my Sony Changer using my USBUIRT?
A: Make sure you've configured the Changer Location for each movie. Verify the MLUSBUIRT plugin is installed. Create a device called sonychanger1 in the MLUSBUIRT plugin and learn in the necessary IR codes (stop, folderall, enter, play and the number 0 through 9) and be sure to the name them exactly as the command below uses. Then paste this as your Default Play Move MLServeCmd in the MLDVDLobby plugin:
MLServeCmd.Macro|MLUSBUIRT|SendIR~sonychanger1~stop!MLPause|3.5!MLUSBUIRT|SendIR~sonychanger1~folderall!MLPause|12.5!MLUSBUIRT|SendIR~sonychanger1~<<CHANGERLOCATION1>>!MLPause|.15!MLUSBUIRT|SendIR~sonychanger1~<<CHANGERLOCATION2>>!MLPause|.15!MLUSBUIRT|SendIR~sonychanger1~<<CHANGERLOCATION3>>!MLPause|1!MLUSBUIRT|SendIR~sonychanger1~enter!MLPause|3!MLUSBUIRT|SendIR~sonychanger1~enter!MLPause|.25!MLUSBUIRT|SendIR~sonychanger1~play

Image
Last edited by mcascio on Sat Aug 27, 2005 1:52 pm, edited 21 times in total.
Mario Cascio
Cinemar, Inc.
http://www.cinemaronline.com

User avatar
mcascio
Founder
Founder
Posts: 8270
Joined: Tue Jan 28, 2003 4:03 pm
Location: Kenosha, Wi
Contact:

Postby mcascio » Tue Nov 11, 2003 9:21 pm

Hi Folks,

The top sticky has been updated to include a more comprehensive list of plugins that come standard with MainLobby Server.

We've also updated the MLServer page to include this same information:
http://www.cinemaronline.com/mlserver.html

In addition, we've added a new UPDATE LOG page for MLServer which will help users find out whether they need to update to a later version when they become available:
http://www.cinemaronline.com/mlserver_updatelog.html
Mario Cascio

Cinemar, Inc.

http://www.cinemaronline.com


Return to “MLServer Questions & Answers”

Who is online

Users browsing this forum: No registered users and 1 guest