0 CD_PLAYER, Utilities, Plays Audio CDs on OpenVMS  J * Note from HG: there was a problem displaying the logo on AXP under MotifH   V1.2, so I gave define_logo a value of 0 in CD_PLAYER.C.  Feel free to6   change that to 1 and try it in your environment..... --------------------I     CD_PLAYER is a program to allow playing of Audio CDs on CD-Rom drives J capable of doing so. It is written in C and uses the Motif user interface.M Because it needs to access the SCSI device directly, it requires DIAGNOSE and I PHY_IO privilege to execute (note, you may INSTALL the program with these M privileges). You need to define the logical name "DECW$CD_PLAYER" to point to M the device which you wish to us. You can use the procedure VUE_CD_PLAYER.COM, H which will put up a requestor to select the drive if you haven't already defined the logical.  H    The current version of CD_PLAYER supports an Album database for albumJ titles & track lengths and an auxiliary database for songs for the albums,G which can store track titles and whether a track is preferred (a simple L playlist). The files SYS$LOGIN:ALBUM.CD and SONGS.DB are indexed files whose4 current and future structure is outlined in CD-DB.C.  C    Future support will hopefully include an Artist DB, as well as a ? "Prefered track" DB and logical song groupings in the songs DB.    L    If you already have used a previous version of this program, you may haveI an album database which may need converting to the current format via the ' included ALBUM.FDL & CONVERT.COM files.   M    All feedback is quite welcome: send correspondence to one of the addresses N below. Please bear in mind that this is a work in progress: if you have access; to the Internet, you can get up-to-date versions by asking!   G    Thank you for your interest in this program, I hope it proves useful  (well, at least fun).    Joe Meadows  meadowsj@boeing.com  or joe@kirk.fhcrc.org   C Ian Kitching		     Computer Services, Anglia Polytechnic University A systimk@va.anglia.ac.uk	     East Rd, Cambridge, CB1 1PT, England 0 Phone: +44 223 63271 x 2278  Fax: +44 223 352973  M -----------------------------------------------------------------------------    		Getting This Going 		==================  0    (There are compile-time options - see below.)  A    Copy CD_PLAYER.EXE and VUE_CD_PLAYER.COM to VUE$LIBRARY_WRITE: = (this is the "customer" part of the VUE$LIBRARY search list). C If you choose to put the .EXE elsewhere, edit the .COM accordingly.   J    Copy CD_PLAYER.DAT to DECW$USER_DEFAULTS:, which is usually the same as SYS$LOGIN:.   F    Consider installing the .EXE with DIAGNOSE & PHY_IO privileges. TheK alternative is for the process created by the Session Manager to have these  privileges.   L    Consider defining the DECW$CD_PLAYER logical name, ideally as a Exec-modeI system one. However the VUE procedure pops up a device name prompt if the ) DECW$CD_PLAYER logical name is undefined.   M    Define a Session Manager menu item to invoke "@VUE$LIBRARY:VUE_CD_PLAYER".   M    Launch CD_PLAYER and check that the defaults supplied in CD_PLAYER.DAT are M appropriate for you. In particular you may wish to resize the main window and - save the size via the Options pull-down menu.   M -----------------------------------------------------------------------------   . 		Installing with DIAGNOSE & PHY_IO Privileges. 		============================================  I    If you choose to install the program with DIAGNOSE & PHY_IO, there are I compile-time options in CD-UTIL.C for safety checks on the DECW$CD_PLAYER 
 logical name.   M    You can choose to ensure it's an Executive-mode system one or that it's in J the system table. As supplied it performs a standard Exec-mode-only check.  M    If the check fails the program turns off its installed privileges, leaving & just the process permanent privileges.  A    There are also optional checks on the device type (see below).   M -----------------------------------------------------------------------------    		Compiling & Linking  		===================   @    See MAKE.COM and/or MAKEFILE. for compiling and linking this.  J    The most recent phase of development has been with OpenVMS/VAX V5.5 and? Motif V1.1.  Link options for Motif V1.0 and V1.2 are supplied.   M -----------------------------------------------------------------------------    		Device Support 		==============  P    As of VMS V5.4-3(?) the normal SCSI disk device driver supports the necessaryL functions. Prior to that one had to use the generic SCSI device driver - see SYCONFIG.COM for hints.   I    This has only been tested with DEC's RRD42 drive, which appears not to   support software volume control.  L    The module CD-UTIL.C has compile-time options for checking the VMS deviceL class and/or type. As supplied these checks are disabled. It always performsG the CD type check. If the device type check fails it disables any image : privileges, leaving just the process permanent privileges.