Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
1
answers
594
views
How to use eyeD3 for abcde since pep 668
How can I use eyeD3 in Debian 12 with abcde since pep 668? I am trying to use abcde with output set to mp3 set in `.abcde.conf`. abcde does not find eyeD3, so I try to install. However, `pip3`/`pip` tell me to use virtual environments or install via `apt install python3-eyed3` as far as I understand...
How can I use eyeD3 in Debian 12 with abcde since pep 668?
I am trying to use abcde with output set to mp3 set in
.abcde.conf
. abcde does not find eyeD3, so I try to install. However, pip3
/pip
tell me to use virtual environments or install via apt install python3-eyed3
as far as I understand. After installation of python3-eyed3
however the path is still not found.
# apt install python3-eyed3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-eyed3 is already the newest version (0.9.7-1).
pip eyeD3 installation try. pip3 gives the same result.
# pip install eyeD3
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ abcde
[ERROR] abcde: eyeD3 is not in your path.
[INFO] Define the full path to the executable if it exists on your system.
[INFO] Hint: sudo apt-get install
~$ cat /etc/debian_version
12.5
I have had a look in [pep 668](https://peps.python.org/pep-0668/) and [eyeD3 installation docs](https://eyed3.readthedocs.io/en/latest/#installation) . While understanding why the pep change happened I do not understand what to do.
Stefan Bollmann
(249 rep)
Feb 24, 2024, 01:53 PM
• Last activity: Feb 24, 2024, 07:35 PM
4
votes
1
answers
2367
views
Unable to read an audio CD in Debian 9.2
I'm running a debian 9.2 machine with a Plextor PX-716A DVD-Drive as `/dev/sr0`. I would like to rip a music CD to MP3 using `abcde`. When I try to to launch `abcde` : $ abcde -V -d /dev/sr0 CDDB method 0: cddb Executing customizable pre-read function... done. Getting CD track info... [WARNING] some...
I'm running a debian 9.2 machine with a Plextor PX-716A DVD-Drive as
/dev/sr0
. I would like to rip a music CD to MP3 using abcde
. When I try to to launch abcde
:
$ abcde -V -d /dev/sr0
CDDB method 0: cddb
Executing customizable pre-read function... done.
Getting CD track info... [WARNING] something went wrong while querying the CD... Maybe a DATA CD?
[WARNING] Error trying to calculate disc ids without lead-out information.
After a few investigations, I tried cdparanoia
, without success :
$ cdparanoia -vsQ
cdparanoia III release 10.2 (September 11, 2008)
Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for SCSI/MMC interface
SG_IO device: /dev/sr0
CDROM model sensed sensed: PLEXTOR DVDR PX-716A 1.08
Checking for SCSI emulation...
Drive is ATAPI (using SG_IO host adaptor emulation)
Checking for MMC style command set...
Drive is MMC style
004: Unable to read table of contents header
Unable to open disc. Is there an audio CD in the drive?
The I did the same with cd-discid
:
$ cd-discid
cd-discid: /dev/cdrom: CDROMREADTOCHDR: Input/output error
I also think about a permissions problem so I verified :
$ ls -al /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Nov 21 22:32 /dev/sr0
and the user that I use is in the group cdrom
.
To be sure that my drive is working I put a DVD inside it. I can mount it and access the content, so the DVD drive is not broken. I tried the CD on a CD player it works fine, I also tried another music CD and I've got the same result.
Finally I think that my DVD drive is unable to read the music CD, so I check with cd-info
:
$ cd-info /dev/sr0
cd-info version 0.83 i686-pc-linux-gnu
Copyright (c) 2003, 2004, 2005, 2007, 2008, 2011 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
CD location : /dev/sr0
CD driver name: GNU/Linux
access mode: IOCTL
Vendor : PLEXTOR
Model : DVDR PX-716A
Revision : 1.08
Hardware : CD-ROM or DVD
Can eject : Yes
Can close tray : Yes
Can disable manual eject : Yes
Can select juke-box disc : No
Can set drive speed : No
Can read multiple sessions (e.g. PhotoCD) : Yes
Can hard reset device : Yes
Reading....
Can read Mode 2 Form 1 : Yes
Can read Mode 2 Form 2 : Yes
Can read (S)VCD (i.e. Mode 2 Form 1/2) : Yes
Can read C2 Errors : Yes
Can read IRSC : Yes
Can read Media Channel Number (or UPC) : Yes
Can play audio : Yes
Can read CD-DA : Yes
Can read CD-R : Yes
Can read CD-RW : Yes
Can read DVD-ROM : Yes
Writing....
Can write CD-RW : Yes
Can write DVD-R : Yes
Can write DVD-RAM : No
Can write DVD-RW : No
Can write DVD+RW : No
__________________________________
Disc mode is listed as: No information
++ WARN: error in ioctl CDROMREADTOCHDR: Input/output error
cd-info: Can't get first track number. I give up.
As you can read, this drive is able to read music. In the end, I tried to install vlc
and mplayer
but none succeed in reading the CD. I'm now lost and far to accomplish a rip !
I would like your suggestions on this problem. Any ideas what to check next ?
Duc
(171 rep)
Nov 21, 2017, 10:12 PM
• Last activity: Nov 26, 2017, 06:15 PM
7
votes
1
answers
951
views
Ripping cd at multiple mp3 bit-rates at once using abcde
I've been trying to rip *mp3* copies of my cds using `abcde`. My issue is that I want to rip two sets of *mp3s* at two different bit-rates. One high bit-rate set for playback on my computer, and another lower bit-rate set for playback on mobile devices that have small storage capacity. Currently I r...
I've been trying to rip *mp3* copies of my cds using
abcde
. My issue is that I want to rip two sets of *mp3s* at two different bit-rates.
One high bit-rate set for playback on my computer, and another lower bit-rate set for playback on mobile devices that have small storage capacity.
Currently I run:
abcde -o mp3:"-b 320" && abcde -c .abcdelow.conf -o mp3:"-b 128"
...which technically works, but is annoying because I have to enter the same information twice, and really isn't feasible if I have to hand enter the album data. I would like to do this with one command so that I only have to enter the information one time.
My config file:
MP3ENCODERSYNTAX=default
FLACENCODERSYNTAX=default
LAME=lame
FLAC=flac
# Taggers, rippers, replaygain etc:
ID3=id3
ID3V2=id3v2
MID3V2=mid3v2
EYED3=eyeD3
#This line is the only difference between my two conf files.
OUTPUTFORMAT='low___${ARTISTFILE//_/ }/${ALBUMFILE//_/ }/${TRACKNUM//_/ } ${TRACKFILE//_/ }'
A_Sandwich
(71 rep)
Mar 13, 2017, 01:40 AM
• Last activity: Nov 23, 2017, 06:41 AM
1
votes
1
answers
271
views
Auto swallow and eject cd (from the commandline)
I am trying to close and eject cd from the commandline. The purpose is to rip a lot of audio cds with [abcde][1]. I use `eject` and `eject -t` commands to open and close the cd drive. I mount my cdrom with this line in /etc/fstab: /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 The problem is tha...
I am trying to close and eject cd from the commandline. The purpose is to rip a lot of audio cds with abcde .
I use
eject
and eject -t
commands to open and close the cd drive.
I mount my cdrom with this line in /etc/fstab:
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
The problem is that ejecting the cd means also to unmount it. After the unmount, there is no way to close it.
When I start the computer, eject -t
works and closes the tray. But if I open it again (with eject
) eject -t
does not find /dev/cdrom
because it is not mounted (the tray is open and there is no cd mounted).
Someone sees a simple solution?
P-S : Debian (unstable) system.
ppr
(1977 rep)
Jul 25, 2017, 03:56 PM
• Last activity: Jul 25, 2017, 04:07 PM
Showing page 1 of 4 total questions