!
! @(#)common.cfg	7.19 01/07/02
!
! Common configuration file
!
!   xmcd  - Motif(tm) CD Audio Player
!   cda   - Command-line CD Audio Player
!   libdi - CD Audio Player Device Interface Library
!
!   Copyright (C) 1993-2001  Ti Kan
!   E-mail: xmcd@amb.org
!
!   This program is free software; you can redistribute it and/or modify
!   it under the terms of the GNU General Public License as published by
!   the Free Software Foundation; either version 2 of the License, or
!   (at your option) any later version.
!
!   This program is distributed in the hope that it will be useful,
!   but WITHOUT ANY WARRANTY; without even the implied warranty of
!   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
!   GNU General Public License for more details.
!
!   You should have received a copy of the GNU General Public License
!   along with this program; if not, write to the Free Software
!   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
!
! Install this file as XMCDLIB/config/common.cfg.  XMCDLIB is the
! xmcd library directory that you specify during installation.
!
! Users can also override these parameters by specifying them
! in an optional $HOME/.xmcdcfg/common.cfg file.
!

!*
!* CD-player behavior control resources
!*
!* You may want to modify these parameters to suit your set-up.
!*
!* Unless otherwise marked, these parameters are used by both the cda
!* and xmcd utilities.
!*
!* In parameters below that specifies audio blocks, each audio block is
!* 1/75 second of playback time.
!*
!* Note that all msec time parameters used below are subject to the
!* resolution of your system software timer as provided in the
!* XtAppAddTimeOut() library call.
!*

! Default device to open for the CD-ROM player interface
!
! Examples:
! /dev/scsi/3			(Apple A/UX, SCSI ID 3)
! /dev/scsi/scsi(ncsc@7(FFFB0000,7),2,0)	(DG/UX, SCSI ID 2, LUN 0)
! /dev/rrz4c			(Digital Ultrix and OSF/1)
! /dev/rcd0c			(FreeBSD)
! /dev/rdsk/c201d4s0		(HP-UX 9.x, SCSI ID 4)
! /dev/rdsk/c0t4d0		(HP-UX 10.x, HP-UX 11.x, SCSI ID 4)
! /dev/rcd0			(IBM AIX)
! /dev/scd0			(Linux)
! /dev/rcd0d			(NetBSD/x86)
! /dev/rcd0c			(NetBSD, OpenBSD)
! /dev/racd0a			(OpenBSD ATAPI drives)
! /dev/cd0			(QNX)
! /dev/rcd0			(SCO UNIX, Open Desktop, Open Server)
! /dev/scsi/sc0d3l0		(SGI IRIX, controller 0, SCSI ID 3, LUN 0)
! /dev/ios0/rsdisk005s0		(Siemens Pyramid SINIX)
! /dev/rsd06c			(Sony NEWS-OS)
! /dev/rcdrom/c0a2d5l0		(Stratus FTX, vsb 2, SCSI ID 5, LUN 0)
! /dev/rsr0			(SunOS 4.x)
! /dev/rdsk/c0t6d0s0		(SunOS 5.x w/o Solaris Volume Manager)
! /vol/dev/aliases/cdrom0	(SunOS 5.x w/ Solaris Volume Manager)
! /dev/rcdrom/cd0		(UNIX SVR4.0/x86)
! /dev/rcdrom/cdrom1		(UNIX SVR4.2/x86, SVR4.2MP/x86, UnixWare)
! /dev/rdsk/m187_c0d3s7		(UNIX SVR4.0/88k, m187 controller 0, SCSI ID 3)
! DKA500:			(Digital OpenVMS)
! 
device:			/dev/rcd0

! Local CD information file permissions (used for xmcd "Local Discography")
! (xmcd only)
cdinfoFileMode:		0666

! Whether internet access should be inhibited.  If this is set to True,
! CD information lookups will only be done from the local cache (No remote
! CDDB server access).  Also, in xmcd, all wwwWarp menu entries that would
! invoke a remote web site will be disabled.
internetOffline:	False

! CD information search path.  This is a similar to the functionality
! of the "cddbPath" parameter found in xmcd 1.x and 2.x.  Items are
! separated by a semi-colon ';' character.  Each item can be:
!	- An absolute directory path.  Tilde expansion '~' is supported.
!	  Examples:
!		/usr/local/lib/cddb/classical
!		~john/cddb/jazz
!		~/mycddb/rock
!	- A relative directory path (which is taken to be relative
!	  to the top-level local CD database directory)
!	  Examples:
!		blues
!		reggae
!		soundtrack
!	- The keyword "CDDB", which indicates that the CDDB(tm) DRS(tm)
!	  service will be used to obtain the CD information over the internet.
!	  This may use the "classic" CDDB service or the enhanced CDDB2
!	  service, depending on which library the xmcd/cda executables are
!	  linked with.
!
! If the directory name is a "classic" CDDB standard genre, xmcd/cda will
! automatically translate it into an equivalent CDDB2 genre on screen.
!
! NOTE:	"Classic" CDDB remote database server URL entries are no longer
!	supported in this parameter.
!
cdinfoPath:		CDDB;rock;jazz;blues;newage;classical;reggae;folk;country;soundtrack;misc;data

! Whether to use a proxy server when connecting to CDDB
cddbUseProxy:		False

! The proxy server's host name and port number.  This is used
! only when cddbUseProxy is set to True.
!
!	Syntax: proxyhost[:port]
!
! The host name can also be an IP number.  The port number is optional
! (default is 80).
!
!	Examples:
!		proxy.xyz.com
!		proxy.xyz.com:80
!
proxyServer:		yourproxyhost:80

! Whether your proxy server enforces user password authorization
! (i.e., a user name and password pair must be entered to gain access
! through the proxy).  This is used only when cddbUseProxy is set to
! True.
proxyAuthorization:	False

! Whether xmcd will automatically send your web browser to the
! CDDB Music Browser on each successful lookup from CDDB.  This
! feature is available only when using the CDDB2 service.
autoMusicBrowser:	True

! The number days after which a locally-cached CDDB record would expire.
! After expiration, xmcd/cda will query the information from the
! server again.
cddbCacheTimeout:	7

! The amount of time (in seconds) allowed to establish network
! connections, interprocess communication or invoking external commands.
! If the task being invoked does not complete successfully within this
! time interval, it will be aborted.  If this parameter is set to 0,
! then a built-in default timeout value is used.
serviceTimeout:		60

! This controls when the Local Discography HTML files are generated.
!	0: Never
!	1: When a successful CD query is made
!	2: When the user invokes the Local Discography menu function
!	3: Same as both 1 and 2
localDiscographyMode:	3

! Play status poll interval during audio playback. (msec)
! This should be less than 500 to get satisfactory display update
! response.
! (xmcd only)
statusPollInterval:	260

! If no disc, poll interval for disc insertion (msec).  This is
! used only if "insertPollDisable" is False.  The minimum is 500.
! (xmcd only)
insertPollInterval:	4000

! If set to True, this causes xmcd not to poll for disc insertion
! when xmcd is first started (and a CD is not loaded), or after a
! CD is ejected.  A CD is detected only when the "Play/Pause" or
! "Stop" button is clicked.
! (xmcd only)
insertPollDisable:	False

! When previous track/index button pressed, if this number of audio blocks
! has been played in the current track/index, then playback will start from
! the beginning of the current track/index instead of the previous one.
! (xmcd only)
previousThreshold:	100

! During Sample playback operations, the number of audio blocks to play
! in each track.
! (xmcd only)
sampleBlocks:		750

! Whether Sun Solaris Volume Manager (vold) is running.  This is used
! only on the Solaris platform with the Volume Manager.
solaris2VolumeManager:	False

! Whether error messages are output to stderr when xmcd encounters
! errors when delivering commands to the CD-ROM drive.  You should
! only set this to False if you have a non SCSI-2 compliant CD-ROM
! drive that causes xmcd to display lots of error messages.
showScsiErrMsg:		True

! Whether the current device, disc ID, category and other information
! should be recorded in the /tmp/.cdaudio/cur.XXX file
curfileEnable:		True

! The default main window time display mode.  The supported modes are:
! 0	Track elapsed time (elapse)
! 1	Segment elapsed time (e-seg) (for "a->b" segment play only)
! 2	Disc elapsed time (e-disc)
! 3	Track remaining time (r-trac)
! 4	Segment remaining time (r-seg) (for "a->b" segment play only)
! 5	Disc remaining time (r-disc)
! (xmcd only)
timeDisplayMode:	0

! Whether to enable tool-tips.  When enabled, if the mouse cursor is
! positioned over a main window control, a small window is popped up
! after a delay, describing the function of the control.
! (xmcd only)
tooltipEnable:		True

! If tooltipEnable is set to True, this is the time delay (msec) after
! the mouse is positioned over a control before the tool-tip is popped up.
! (xmcd only)
tooltipDelayInterval:	1000

! After a tool-tip is popped up, the minimum amount of time (msec) that
! the tooltip will be displayed before automatically popping down.  The
! actual amount of time will be scaled up based on the length of text
! in the tool-tip.  Setting this to zero will make the tooltip stay active
! until the mouse cursor is moved away from the control.
! (xmcd only)
tooltipActiveInterval:	3000

! Whether xmcd/cda should disable maintaining a per-user history file of
! CDs that were played as $HOME/.xmcdcfg/history.  If set to True, then
! no history file will be written.
historyFileDisable:	False

! The maximum number of disc entries to maintain in the per-user history.
! If the history grows to beyond this number, old history is automatcally
! cleaned to maintain this count.  This is to limit the history file
! size and memory consumption.  If this is set to 0, then no history will
! be kept.
maximumHistory:		100

! The per-user history file's permissions
historyFileMode:	0600

! Whether the remote control feature should be enabled.
! (xmcd only)
remoteControlEnable:	True

! Whether remote control activity should be logged to the
! $HOME/.xmcdcfg/remote.log file.  This is useful only if the
! remoteControlEnable parameter is also True.
! (xmcd only)
remoteControlLog:	True

! Verbose debug diagnostics level (to be generated on stderr)
! The levels are defined as follows:
!	1	General debugging
!	2	Device I/O debugging
!	4	CD information debugging
!	8	User interface debugging
!	16	Remote control debugging
! You may add the values together to enable multiple debugging types
! (i.e., A value of 3 turns on both General and Device I/O debugging)
debugLevel:		0

! Words to exclude from the artist and titles when xmcd composes keywords
! for web searching.  This is done when reduction is specified (see %a,
! %d, %t or %b in the wwwwarp.cfg file).
excludeWords:	the and or an a re ve s d t

