wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmcdplay / README
blob855676b8322a6f52dbc9ca45443216d2301c8f1f
1 wmcdplay - A cd player designed for WindowMaker
2 Copyright (C) 1998  Sam Hawker <shawkie@geocities.com>
3 This software comes with ABSOLUTELY NO WARRANTY
4 This software is free software, and you are welcome to redistribute it
5 under certain conditions
6 See the COPYING file for details.
8   This program is free software; you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation; either version 2 of the License, or
11   (at your option) any later version.
13   This program is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
18   You should have received a copy of the GNU General Public License
19   along with this program; if not, write to the Free Software
20   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 THE AUTHOR:
24 ===========
26 Sam Hawker
27 shawkie@geocities.com
28 http://www.geocities.com/SiliconValley/Vista/2471/
31 INSTALLING:
32 ===========
34 autoreconf -i
35 ./configure
36 make
37 make install
39 TRACK SELECTION:
40 ================
42 Release 0.6 introduced track selection.
44 Actually, track selection is a slightly more logical version of the random/repeat
45 functions found in Creative Labs' SB16 software suite for win95.
47 The major change is that the previous releases just played from current position
48 to the end of the cd.
49 Now we play a single track, and when you set the track selection mode, you just
50 tell the cd player what to do at the end of the track. Here are the options:
51 0    None     - just stop
52 1    Next     - play next (audio) track (stop if end of cd)
53 2    Repeat   - play this track again
54 3    RepeatCD - play next (audio) track (start from first track if end of cd)
55 4    Random   - select an audio track at random and play it
57 The led display symbols for the modes are now part of the artwork file.
58 The mode defaults to Next, but can be changed with the "-t track_selection" command
59 line argument, or by clicking on the track selection mode led display.
61 The main consequence of this approach is that when using Random, you will
62 probably here a track twice before every track on the cd has been played once.
63 (Most cd players have a playlist listing all tracks in a randomized order)
64 Also, wmcdplay will always begin with track 1.
65 Furthermore, the Next and Prev buttons will always move through track numbers on the
66 cd (rather than, for instance, selecting random tracks).
69 AFTERSTEP USERS:
70 ================
71 (thanks to tygris@erols.com)
73 This release includes in a new command line option (actually, its "-a"
74 and artwork files are now loaded with "-f artwork_file").
75 The effect this has is to enable shape support (it implies "-s"), and
76 to reduce the size of the window to 56x56 pixels.
77 The "-position position" option has also been added, so you can push
78 wmcdplay off the edge of the screen while it gets swallowed.
79 To put wmmount in your Wharf, add the following line in the appropriate
80 part of your .steprc
82 *Wharf wmmount nil MaxSwallow "wmmount" wmmount -a -position -0-0 &
84 It is also possible (by editing and recompiling the afterstep sources),
85 to make Wharf handle the new 56x56 pixel window properly - yes, I add
86 an option to use a 56x56 pixel window, even though the AfterStep Wharf
87 really wants 55x57 pixel ones.
89 I am told (by tygris@erols.com):
91 "Locate Wharf.c (or is it Wharf.cc?)  Should be in
92 AfterStep-1.0/modules/Wharf.  Locate this:
94             if (Buttons[button].maxsize) {
95               Buttons[button].icons[0].w = 55;
96               Buttons[button].icons[0].h = 57;
97             }
99 and change the 55 and 57 to 56's.  Save and compile."
102 BUILD PROBLEMS:
103 ===============
105 You may have trouble linking wmmount with the compiler supplied on some
106 recent distributions (eg. Debian 2.0 & RedHat 5.1).
107 It can be made to build by adding the following line to the top of the
108 Imakefile, before executing xmkmf:
110 CC = c++
112 I am not sure of the effect this has on memory usage, etc.