How to RIP CD with ABCDE with cdparanoia cbbd?

Non release banter
benjibasson
Samurai
Samurai
Posts: 141
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

How to RIP CD with ABCDE with cdparanoia cbbd?

Post#1 by benjibasson » 02 Nov 2023, 22:21

Hi
I would like to rip CD digital audio with ABCDE in MP3 lame and make it rename track and id3tag witg CDDB tool.

Unfortunaly instead to RIP in MP3 with artist and song name in /hom/guest/music it rip in /home/guest/abcde.eb10fe10 and name track1 track2... and id3tag name artist abcde.eb10fe10 instead of Philippe Chatel.

I have installed abcde, perle and eyeD3-0.9.6-x86_64-1salix15.0
Porteus inclued cdparanoia, cd-discid and lame

my abcde.conf

Code: Select all

# -----------------$HOME/.abcde.conf----------------- #
# 
# A sample configuration file to convert music cds to 
#  MP3 format using lame, eyeD3 and abcde version 2.9.3 
# 
#        https://andrews-corner.org/abcde/
# -------------------------------------------------- #

# Encode tracks immediately after reading. Saves disk space, gives
# better reading of 'scratchy' disks and better troubleshooting of
# encoding process but slows the operation of abcde quite a bit:
LOWDISK=y

# Specify the method to use to retrieve the track information,
# the alternative is to specify 'musicbrainz':
CDDBMETHOD=cddb

# With the demise of freedb (thanks for the years of service!)
# we move to an alternative:
CDDBURL="http://gnudb.gnudb.org/~cddb/cddb.cgi"

# Make a local cache of cddb entries and then volunteer to use 
# these entries when and if they match the cd:
CDDBCOPYLOCAL="y"
CDDBLOCALDIR="$HOME/.cddb"
CDDBLOCALRECURSIVE="y"
CDDBUSELOCAL="y"

# Specify the encoder to use for MP3. In this case 'lame':
MP3ENCODERSYNTAX=lame 

# Specify the path to the selected encoder. In most cases the encoder
# should be in your $PATH as I illustrate below, otherwise you will 
# need to specify the full path. For example: /usr/bin/lame
LAME=lame

# Specify your required encoding options here. Multiple options can
# be selected as '--preset standard --another-option' etc.
# The '-V 2' option gives VBR encoding between 170-210 kbits/s.
LAMEOPTS='-V 2' 

# Output type for MP3.
OUTPUTTYPE="mp3"

# The cd ripping program to use. There are a few choices here: cdda2wav,
# dagrab, cddafs (Mac OS X only) and flac. New to abcde 2.7 is 'libcdio'.
CDROMREADERSYNTAX=cdparanoia            
                                     
# Give the location of the ripping program and pass any extra options,
# if using libcdio set 'CD_PARANOIA=cd-paranoia'.
CDPARANOIA=cdparanoia  
CDPARANOIAOPTS="--never-skip=40"

# Give the location of the CD identification program:       
CDDISCID=cd-discid            
                               
# Give the base location here for the encoded music files.
OUTPUTDIR="$HOME/Music"               

# The default actions that abcde will take.
ACTIONS=cddb,playlist,read,encode,tag,move,clean
              
# Decide here how you want the tracks labelled for a standard 'single-artist',
# multi-track encode and also for a multi-track, 'various-artist' encode:
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'

# Decide here how you want the tracks labelled for a standard 'single-artist',
# single-track encode and also for a single-track 'various-artist' encode.
# (Create a single-track encode with 'abcde -1' from the commandline.)
ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'

# Create playlists for single and various-artist encodes. I would suggest
# commenting these out for single-track encoding.
PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u'
VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u'

# This function takes out dots preceding the album name, and removes a grab
# bag of illegal characters. It allows spaces, if you do not wish spaces add
# in -e 's/ /_/g' after the first sed command.
mungefilename ()
{
  echo "$@" | sed -e 's/^\.*//' | tr -d ":><|*/\"'?[:cntrl:]"
}

# What extra options?
MAXPROCS=2                              # Run a few encoders simultaneously
PADTRACKS=y                             # Makes tracks 01 02 not 1 2
EXTRAVERBOSE=2                          # Useful for debugging
COMMENT='abcde version 2.9.3'           # Place a comment...
EJECTCD=y                               # Please eject cd when finished :-)

when I launch abcde with the CD emilie Jolie I first have

Code: Select all

Which entry would you like abcde to use (0 for none)? [0-1]: 1
Selected: #1 (cddb) (Philippe Chatel / Émilie jolie, un conte musical)
---- Philippe Chatel / Émilie jolie, un conte musical ----
Year: 1995
Genre: Sound Clip
1: Prologue
2: Chanson de la petite fille dans la chambre vide
3: Intermède - Le pays bleu
4: Chanson de la compagnie des lapins bleus
5: Intermède - Du pays bleu au pays des oiseaux
6: Chanson d'Émilie et du grand oiseau
...
27: Intermède - La transformation de la sorcière
28: Chanson finale
29: Rire d'Émilie
then it create in /music/Philippe Chatel-Émilie jolie, un conte musical/Émilie jolie, un conte musical.m3u

then outpoutin
then lame

and durring the tag I have many many many python's error althought python is included.

Code: Select all

 echo Tagging track 01 of 29: Prologue...
Tagging track 01 of 29: Prologue...
tagtrack-mp3-01 nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Prologue -G 37 -n 01 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track01.mp3
Grabbing track 02: Chanson de la petite fille dans la chambre vide...
Traceback (most recent call last):
  File "/usr/bin/eyeD3", line 33, in <module>
    sys.exit(load_entry_point('eyed3==0.9.6', 'console_scripts', 'eyeD3')())
  File "/usr/bin/eyeD3", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib64/python3.9/site-packages/eyed3/__init__.py", line 31, in <module>
    from .utils.log import log                                          # noqa: E402
  File "/usr/lib64/python3.9/site-packages/eyed3/utils/__init__.py", line 10, in <module>
    import deprecation
  File "/usr/lib64/python3.9/site-packages/deprecation.py", line 17, in <module>
    from packaging import version
ModuleNotFoundError: No module named 'packaging'
cdparanoia III release 10.2 (September 11, 2008)
then it sum up errors

Code: Select all

[ERROR] abcde: The following commands failed to run:
tagtrack-mp3-01: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Prologue -G 37 -n 01 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track01.mp3
tagtrack-mp3-02: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson de la petite fille dans la chambre vide -G 37 -n 02 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track02.mp3
tagtrack-mp3-03: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Le pays bleu -G 37 -n 03 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track03.mp3
tagtrack-mp3-04: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson de la compagnie des lapins bleus -G 37 -n 04 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track04.mp3
tagtrack-mp3-05: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Du pays bleu au pays des oiseaux -G 37 -n 05 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track05.mp3
tagtrack-mp3-06: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson d'Émilie et du grand oiseau -G 37 -n 06 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track06.mp3
tagtrack-mp3-07: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson de l'autruche -G 37 -n 07 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track07.mp3
tagtrack-mp3-08: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Le pays de la sorcière -G 37 -n 08 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track08.mp3
tagtrack-mp3-09: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson de la sorcière -G 37 -n 09 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track09.mp3
tagtrack-mp3-10: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - À la recherche du prince charmant -G 37 -n 10 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track10.mp3
tagtrack-mp3-11: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson des baleines de parapluie -G 37 -n 11 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track11.mp3
tagtrack-mp3-12: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Appel aux lapins bleus -G 37 -n 12 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track12.mp3
tagtrack-mp3-13: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Reprise de la chanson de la compagnie des lapins bleus -G 37 -n 13 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track13.mp3
tagtrack-mp3-14: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du Hérisson -G 37 -n 14 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track14.mp3
tagtrack-mp3-15: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Morale du hérisson - Mars -G 37 -n 15 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track15.mp3
tagtrack-mp3-16: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson de l'extra-terrestre -G 37 -n 16 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track16.mp3
tagtrack-mp3-17: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du petit caillou -G 37 -n 17 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track17.mp3
tagtrack-mp3-18: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Le pays des mots -G 37 -n 18 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track18.mp3
tagtrack-mp3-19: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du coq et de l'âne -G 37 -n 19 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track19.mp3
tagtrack-mp3-20: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - La fuite du loup -G 37 -n 20 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track20.mp3
tagtrack-mp3-21: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du loup -G 37 -n 21 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track21.mp3
tagtrack-mp3-22: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - La réconciliation du loup et de la grand-mère -G 37 -n 22 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track22.mp3
tagtrack-mp3-23: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du raton-laveur-rêveur -G 37 -n 23 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track23.mp3
tagtrack-mp3-24: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du début de la fin -G 37 -n 24 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track24.mp3
tagtrack-mp3-25: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - Toutes les chansons -G 37 -n 25 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track25.mp3
tagtrack-mp3-26: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson du prince charmant débutant -G 37 -n 26 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track26.mp3
tagtrack-mp3-27: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Intermède - La transformation de la sorcière -G 37 -n 27 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track27.mp3
tagtrack-mp3-28: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Chanson finale -G 37 -n 28 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track28.mp3
tagtrack-mp3-29: returned code 1: nice -n 10 eyeD3 --encoding utf16 -A Émilie jolie, un conte musical -a Philippe Chatel -t Rire d'Émilie -G 37 -n 29 -N 29 --text-frame=TDRC:1995 --comment abcde version 2.9.3 /home/guest/abcde.880d511d/track29.mp3
Finished. Not cleaning /home/guest/abcde.880d511d.
:wall: :wall: :wall:

I need help to rename and tag properly tracks when I rip CD DA
What Am I suppose to to to fixes python's errors ?

cheers

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

How to RIP CD with ABCDE with cdparanoia cbbd?

Post#2 by beny » 02 Nov 2023, 22:35

hi, you need python-packaging there is on slackware 15 /l but abcde if i remember well need some perl packages: /tmp/perl-Mojolicious-9.34-x86_64-1_SBo.tgz
/tmp/perl-MusicBrainz-DiscID-0.06-x86_64-1_SBo.tgz,/tmp/perl-WebService-MusicBrainz-1.0.6-noarch-1_SBo.tgz, ok try if work with..

benjibasson
Samurai
Samurai
Posts: 141
Joined: 06 Mar 2019, 15:14
Distribution: Arch linux

How to RIP CD with ABCDE with cdparanoia cbbd?

Post#3 by benjibasson » 03 Nov 2023, 09:21

Hi Beny, yes, thanks for the python components.

You deal with music brain and mojolicious: are they better than http://gnudb.gnudb.org/~cddb/cddb.cgi ? Do they recognize more CD digital audio than cddb above url?
Cheers.

beny
Full of knowledge
Full of knowledge
Posts: 2098
Joined: 02 Jan 2011, 11:33
Location: italy

How to RIP CD with ABCDE with cdparanoia cbbd?

Post#4 by beny » 03 Nov 2023, 11:29

hi, i have used a lot in the past and no failure for the name of the record and track slakfinder have also the abcde deps on salix repos

Post Reply