5.1 Configuring doodah
Before you can use doodah you need to tell it where the MySQL server is
and what player to use. You can do this by starting doodah and pressing
Ctrl+P.
MySQL options:
Host
-
This should be the address of the MySQL server. If you leave it blank it
will connect through a local socket which should be faster then
setting it to localhost.
Port
-
This is the port number to connect through. If you leave it on zero it
will use the default MySQL port.
Socket
-
This is the socket to connect through. If you leave it blank it should
connect through the default socket (usually `/tmp/mysql.sock'). Doodah
only uses this if you leave the
Host
field blank.
Username
-
This should be the username to connect to MySQL with. Set it to whatever
user you created for the database. 3.1 Configuring MySQL.
Password
-
This should be the password to connect to MySQL with. Set it to whatever
password you created for the database. 3.1 Configuring MySQL.
If you change any of the MySQL options you will want to reconnect to the
MySQL server. Do this by pressing Ctrl+C or selecting the
Doodah->Connect menu option. If it worked the status bar should say
`Connected'. Otherwise it will show an error message saying why it
couldn't connect.
Player options:
Player
-
This lets you select from the available players. If you compiled doodah
with XMMS support, XMMS will be one of the options. Otherwise you will
only be able to use a command line player.
XMMS Session
-
This selects which XMMS session number to use.
Command
-
This sets which command to use. The command should be one command, such
as `mpg123'. It will be run in the background and given one argument,
which will be the filename of the MP3. At the moment you can't set
any other arguments to the command so until then you'll have to make a
shell script if you want to do anything more complicated. The command is
searched for in the path.
Search Fields:
Here you can select the fields that will be shown in the selector
tab. You can perform a more complicated search with more fields but
the interface will look nicer with less.
When you exit doodah it should write a configuration file called
.doodah
in your $HOME
directory.
This document was generated
by Neil Roberts on November, 8 2001
using texi2html