
300
|
Chapter 11, Hardware
#98 Sync Your iRiver with Linux
HACK
or by using the following command if your Metallica songs are in /home/
joeblogs/Metallica:
foo@bar:~$ cp -r /home/joeblogs/Metallica* /mnt/iriver
Rebuild the Database
The iRiver database is essential in terms of making the iRiver as usable as
possible. This database contains a detailed list of artists, genres, albums,
song lengths, track numbers, and more; many of the features in the iRiver
are available only if you have created the database. You still can use the
iRiver without the database, but you can choose your songs and albums
only via the clunky file manager on the iRiver as opposed to its special
menus. Unfortunately, the installation CD does not come with a tool to
build the database for Linux, but a simple utility available on the Internet,
called
iRipDB, can do the job. You can download iRipDB from http://www.
fataltourist.com/iripdb/.
Once you have downloaded the latest version of
iRipDB, unzip it onto your
hard disk with this command:
foo@bar:~$ tar xcvf iRipDB-x-x-x.tar.gz
Replace x-x-x with the actual version number of the iRipDB program. You
need to ensure that you have the following libraries on your system before
you compile the code:
libid3
This library provides the use of ID3 tags in songslibogg.
libvorbis
These libraries provide support for Ogg Vorbis files.
To compile the code, run the compilation script included with the ...