Cda2mp3: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(→‎Configuration: link (en<->de))
No edit summary
Line 1: Line 1:
==Description==
==Description==
[[Image:dagrab.jpg|thumb|Screenshot]]
This is for ripping audio CDs via the commands menu.
This is for ripping audio CDs via the commands menu.

==Images==
[[Image:dagrab.jpg|thumb|none|''Status'']]


==Hardware requirements==
==Hardware requirements==
Line 10: Line 12:
* Dagrab
* Dagrab
* Lame
* Lame
* Libwww-perl


==Installation==
==Installation==
Libwww-perl
<pre>
cd $SOURCEDIR
libwww-perl-<VERSION>.tar.gz
cd libwww-perl-<VERSION>
perl Makefile.PL
make
make test
make install
</pre>

Lame
Lame
<pre>
<pre>
Line 44: Line 34:


A directory is needed, for the MP3s. E.g
A directory is needed, for the MP3s. E.g

<pre>
<pre>
mkdir /mp3
mkdir /mp3
</pre>
</pre>


The shell script '''dagrab.sh''' has to be copied into the PATH and made executable
The shell script '''[[:de:dagrab.sh|dagrab.sh]]''' has to be copied into the PATH and made executable

<pre>
<pre>
cp dagrab.sh /usr/bin
cp dagrab.sh /usr/local/bin
chmod 777 /usr/bin/dagrab.sh
chmod 777 /usr/local/bin/dagrab.sh
</pre>
</pre>



Revision as of 07:53, 25 March 2005

Description

This is for ripping audio CDs via the commands menu.

Images

Status

Hardware requirements

  • CD drive

Software requirements

  • At (job manager)
  • Dagrab
  • Lame

Installation

Lame

cd $SOURCEDIR
tar xvzf lame-<VERSION>.tar.gz
cd lame-<VERSION>
./configure --prefix=/usr
make
make install

Dagrab

cd $SOURCEDIR
tar xvzf dagrab-<VERSION>.tar.gz
cd dagrab-<VERSION>
make
cp dagrab /usr/local/bin

A directory is needed, for the MP3s. E.g

mkdir /mp3

The shell script dagrab.sh has to be copied into the PATH and made executable

cp dagrab.sh /usr/local/bin
chmod 777 /usr/local/bin/dagrab.sh

Configuration

Here is an example for the commands.conf

Run dagrab : /usr/local/bin/dagrab.sh -start /mp3
Status     : /usr/local/bin/dagrab.sh -status
List /mp3  : if ls "/mp3"/* >/dev/null 2>&1 ; then cd "/mp3" ; ls ; else echo '/mp3 is empty !' ; fi

During Run dagrab one should be online to have access to a CDDB database.

Problems

Links

[1] http://web.tiscali.it/marcellou/dagrab.html Dagrab homepage
[2] http://lame.sourceforge.net Lame homepage
[3] http://lwp.linpro.no/lwp Libwww homepage