c1989 Interactive MicroSystems MediaPhile MicroFiche Filer Plus AREXX Macros ReadMe_CDPlayer This file contains documentation for MediaPhile ARexx macros that control a SONY CDP-C70 five disk compact disk (CD) player from within Software Visions/MicroFiche Filer Plus program. The MediaPhile ARexx macros provide an interface between MicroFiche Filer and the MediaPhile shareable library. A MicroFiche Filer Plus database must be created with information about the compact disks and music segment locations. The database includes the fields described below. 1) Field #1 is a Text field containing the title of the CD. 2) Field #2 is a Text field containing the name of the recording artist. 3) Field #3 is a Number field containing the track number of a selection on the CD described in Fields 1 and 2. 4) Field #4 is in a Text field containing the title of the selection on the track in Field #3. 5) Field #5 is an optional album cover Picture field. A database example named "CDLibrary.mff" shows three required fields #1-#3 together with optional fields for track titles (Field #4) and album cover pictures (Field #5) for five compact disks. File names of the ARexx macros are entered into the CD database by choosing "Edit & Run n" from the MicroFiche Filer Plus menu, where n is the MicroFiche Macro index number (1 - 9). One macro file name is entered into each of the nine available macro slots. The Macros are run by selecting the "Run Macro" menu item. For example, to run Macro 1, select "Edit & Run Macro 1" from the Macro menu. Enter "TrayNos" and click on the "Run Macro" button in the requester. This macro prompts the user to enter information about which CD's are currently loaded into the five trays of the CD player. The example database, CDLibrary.mff, is accessed using the MediaPhile Macros described below. To run a Macro select "Run Macro" from the Macro Menu where "n" is the Macro number. Preset the CD player by turning on the power and pressing "Continue" until "ALL DISKS" appears in the CD player display. Startup Procedure with two floppy drives: 1. Boot up your Amiga with a Workbench disk in the internal drive (DF0:). The Workbench disk should be configured with a start-up sequence that assigns the Devs: and Libs: volumes to the MediaPhile:Devs and MediaPhile:Libs directories. 2. Load the Interactive MicroSystems MediaPhile_Servers disk in the external drive (df1:). 3. Replace the Workbench disk with the the MicroFiche Filer Plus Disk. Open the MFF_Files directory box and click the MFF magnifying glass. 4. Highlight the "Change Directory" item in the MicroFiche Filer "File" menu and select "MediaPhile_Servers:MicroFiche_Filer/ cdlibrary.mff" 5. Preset the CD player by turning on the power and loading the compact disks. Press "Continue" on the remote control until "All Disks" appears in the display window. Press "Program" on the remote control until "PGM" appears in red next to "ALL DISKS" on the display. The CD player is now in program mode. 6. Highlight "Run Macro #3" in the MicroFiche Filer plus "Macro" menu and release to test the "play" macro. Run macro #5 to "Pause" and Macro #8 to stop the CD player. If the CD player responds to the macro commands proceed to item 7, otherwise check your MediaPhile control system setup. 7. Select one database record from each of the five compact disks loaded into the CD player by "Shift-clicking" over the record with the mouse. Choosing the record with the picture file for each disk ensures that all the disks will be selected. 8. Run Macro #1 from the "Macro" menu and enter the tray numbers of each disk in response to the prompts. 9. Click a MicroFiche Filer record with the mouse and run Macro #2 ("Play Program") to play the selection. Run Macro #5 to pause the player. 10. Shift-click several selections and run Macro #2 to program the CD player to play the selections in the order that they appear in the MicroFiche Filer database. Run Macro #4 to "Abort" the program. A description of each macro is given below: TrayNos (Macro #1) : This Macro prompts the user to enter compact disk tray locations. Run this macro first and enter the compact disk tray locations. Shift-click one selection from each compact disk in the MicroFiche Filer database and choose the "Run Macro 1" menu item corresponding to the "TrayNos" ARexx Macro. Type in the compact disk tray number of each selection in response to the prompts. Press Return or click on the OK gadget in the requester to enter the tray numbers. Now the other macros will now know which trays selected CD's can be found in. PlayProgram (Macro #2) : This macro controls the CD player to play selected tracks. First select each track to be played by shift-clicking on the corresponding database image square with the mouse. Run the macro by choosing the "Run Macro2" menu item corresponding "PlayProgram". The CD player will be sent the infrared codes required to play the selected tracks. The selections will be played in the order that they appear in the database, not the order of selection. PLAY (Macro #3) - This macro sends the CD player the infrared command code to "Play". ABORT (Macro #4) - This macro sends the CD player the command to "Abort" the program previously entered. PAUSE (Macro #5) - This macro sends the CD player the command to "Pause". SkipSelection (Macro #6) - This macro sends the CD player the command to Skip a selection. RepeatSelection (Macro #7) - This macro sends the CD player the command to Repeat a selection. STOP (Macro #8) - This macro sends the CD player the command to "Stop". CLEAR (Macro #9) - This macro sends the CD player the command to "Clear". Look in the MediaPhile ARexx Macro files for source code listings.