0CD_PLAYER, Utilities, Plays Audio CDs on OpenVMSJ* 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 drivesJcapable of doing so. It is written in C and uses the Motif user interface.MBecause it needs to access the SCSI device directly, it requires DIAGNOSE andIPHY_IO privilege to execute (note, you may INSTALL the program with theseMprivileges). You need to define the logical name "DECW$CD_PLAYER" to point toMthe device which you wish to us. You can use the procedure VUE_CD_PLAYER.COM,Hwhich will put up a requestor to select the drive if you haven't alreadydefined the logical.H The current version of CD_PLAYER supports an Album database for albumJtitles & track lengths and an auxiliary database for songs for the albums,Gwhich can store track titles and whether a track is preferred (a simpleLplaylist). The files SYS$LOGIN:ALBUM.CD and SONGS.DB are indexed files whose4current 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 haveIan 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 addressesNbelow. 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 Meadowsmeadowsj@boeing.comor joe@kirk.fhcrc.org CIan Kitching Computer Services, Anglia Polytechnic UniversityAsystimk@va.anglia.ac.uk East Rd, Cambridge, CB1 1PT, England0Phone: +44 223 63271 x 2278 Fax: +44 223 352973M----------------------------------------------------------------------------- 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).CIf 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. TheKalternative 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-modeIsystem 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 areMappropriate 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 areIcompile-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 inJthe 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 necessaryLfunctions. Prior to that one had to use the generic SCSI device driver - seeSYCONFIG.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 deviceLclass and/or type. As supplied these checks are disabled. It always performsGthe CD type check. If the device type check fails it disables any image:privileges, leaving just the process permanent privileges.