Install abcde (a better cd encoder)

i have used tears of mandrake for enabling the repos, which is bundled with the gnome spin of openmandriva :slight_smile:

so, result from
sudo dnf clean all;dnf clean all;dnf repolist
is

15 file rimossi
12 file rimossi
id repo                   nome repo
opera                     Opera Browser
rock-updates-x86_64       OpenMandriva Rock - x86_64 - Updates
rock-updates-x86_64-extra OpenMandriva Rock - Extra - x86_64 - Updates
rock-x86_64               OpenMandriva Rock - x86_64
rock-x86_64-extra         OpenMandriva Rock - Extra - x86_64

1 Like

ok, after trying to rip a record in flac/cue (made with -1M), i still get the

Encoding track 01 of 01: In continuo movimento...
Tagging track 01 of 01: In continuo movimento...
/home/legacychimera247/abcde.9609c30b/track01.flac: ERROR: while parsing cuesheet "/home/legacychimera247/abcde.9609c30b/cue-9609c30b.txt" on line 4: CD-DA TRACK numbers must be sequential
*.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
[ERROR] abcde: The following commands failed to run:
tagtrack-flac-01: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-cuesheet-from=/home/legacychimera247/abcde.9609c30b/cue-9609c30b.txt --import-tags-from=- /home/legacychimera247/abcde.9609c30b/track01.flac
Finished. Not cleaning /home/legacychimera247/abcde.9609c30b.

error…

but, i tried doing it in ogg, and it worked, so i assume the problem lies in the flac format?

The problem could still be in abcde. Let the devs take a look.

Please could test abcde-2.9.3-6 (testing repository for rock)?

hello, i have enabled the rock testing repos but still, i can only see 2.9.3.5 only…

According to @uro .

it got published into extra testing heh rock-testing-znver1-extra or x86_64 if they are using it.

@247 We don’t add the testing repos. The following is a one shot deal.
This should grab it for you without adding the repo to your list.

sudo dnf install --enablerepo=rock-x86_64-extra abcde --refresh

I was able to verify that it is there.

[sudo] password for wilson: 
brave                                                                           6.0 kB/s | 2.0 kB     00:00    
OpenMandriva Rock - Extra - znver1                                              670 kB/s | 1.4 MB     00:02    
OpenMandriva Rolling - znver1                                                   5.2 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - znver1                                                   3.0 MB/s | 5.4 MB     00:01    
OpenMandriva Rolling - Extra - znver1                                           5.0 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - Extra - znver1                                           817 kB/s | 1.4 MB     00:01    
OpenMandriva Rolling - Restricted - znver1                                      3.0 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - Non-free - znver1                                        4.4 kB/s | 2.4 kB     00:00    
Dependencies resolved.
================================================================================================================
 Package                             Architecture   Version                  Repository                    Size
================================================================================================================
Installing:
 abcde                               noarch         2.9.3-6                  rolling-znver1-extra         117 k
Installing dependencies:
 cd-discid                           znver1         1.4-2                    rolling-znver1-extra          20 k
 cdparanoia                          znver1         1:10.2-27                rolling-znver1                41 k
 lib64discid0                        znver1         0.6.2-2                  rolling-znver1                19 k
 lib64glyr                           znver1         1.0.10-3                 rolling-znver1                79 k
 perl-CPAN-Meta-YAML                 noarch         0.018-32                 rolling-znver1                17 k
 perl-EV                             znver1         4.34-3                   rolling-znver1-extra         245 k
 perl-IO-Socket-IP                   noarch         0.4101-32                rolling-znver1                28 k
 perl-IO-Socket-SSL                  noarch         2.089-1                  rolling-znver1               215 k
 perl-JSON-PP                        noarch         1:4.16-32                rolling-znver1                58 k
 perl-Mojolicious                    noarch         9.39-3                   rolling-znver1-extra         987 k
 perl-MusicBrainz-DiscID             znver1         0.06-3                   rolling-znver1                21 k
 perl-Net-SSLeay                     znver1         1.920.0-4                rolling-znver1               297 k
 perl-Test-Simple                    noarch         1:1.302194-32            rolling-znver1               747 k
 perl-WebService-MusicBrainz         noarch         1.0.6-2                  rolling-znver1-extra          18 k
 perl-common-sense                   noarch         3.750.0-1                rock-znver1-extra             27 k
 vorbis-tools                        znver1         1.4.2-5                  rolling-znver1               209 k
Installing weak dependencies:
 flac                                znver1         1.5.0-1                  rolling-znver1               201 k
 glyr                                znver1         1.0.10-3                 rolling-znver1                32 k
 mkcue                               znver1         1.8-1                    rolling-znver1                23 k

Transaction Summary
================================================================================================================
Install  20 Packages

Total download size: 3.3 M
Installed size: 9.7 M
Is this ok [y/N]: n
Operation aborted.
1 Like

you are right but

bash-5.2$ dnf repolist
id repo                   nome repo
opera                     Opera Browser
rock-updates-x86_64       OpenMandriva Rock - x86_64 - Updates
rock-updates-x86_64-extra OpenMandriva Rock - Extra - x86_64 - Updates
rock-x86_64               OpenMandriva Rock - x86_64
rock-x86_64-extra         OpenMandriva Rock - Extra - x86_64
rock-x86_64-non-free      OpenMandriva Rock - Non-free - x86_64
rock-x86_64-restricted    OpenMandriva Rock - Restricted - x86_64
bash-5.2$ sudo dnf install --enablerepo=rock-x86_64-extra abcde --refresh
OpenMandriva Rock - x86_64            732 kB/s | 5.5 MB     00:07    
OpenMandriva Rock - x86_64 - Updates   13 kB/s |  29 kB     00:02    
OpenMandriva Rock - Extra - x86_64    328 kB/s | 1.4 MB     00:04    
OpenMandriva Rock - Extra - x86_64 -  7.8 kB/s |  17 kB     00:02    
OpenMandriva Rock - Restricted - x86_  12 kB/s |  36 kB     00:03    
OpenMandriva Rock - Non-free - x86_64  13 kB/s |  29 kB     00:02    
Opera Browser                         1.4 kB/s | 1.8 kB     00:01    
package abcde-2.9.3-5.x86_64 already installed.
Dependencies resolved.
Nothing to do.

maybe i should do it with testing-extra?

I do not run Rock, but those repos don’t look right. Can you please post the output of

dnf repolist

You are not posting the whole thing, so I cannot see what command you ran to get this.

Nevermind. I see your name is bash. :disappointed:

So, uninstall the version you have now. Then run the command.

You are missing the Updates repos for Extra, Restricted, and Non-Free, that won’t work well at all. Updated packages for Rock are in the Updates repos.

Your repolist should look like this:

I gave you this command yesterday to run that would rebuild your repo files. Did you run it?

sudo dnf reinstall distro-release-repos

I look in ABF and I do not see where abcde-2.9.3-6 was ever published to Rock. Not sure what the heck people are talking about.

Edit: I’ll see if I can backport that right now.

I see it here @ben79

[sudo] password for wilson: 
brave                                                                           6.0 kB/s | 2.0 kB     00:00    
OpenMandriva Rock - Extra - znver1                                              670 kB/s | 1.4 MB     00:02    
OpenMandriva Rolling - znver1                                                   5.2 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - znver1                                                   3.0 MB/s | 5.4 MB     00:01    
OpenMandriva Rolling - Extra - znver1                                           5.0 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - Extra - znver1                                           817 kB/s | 1.4 MB     00:01    
OpenMandriva Rolling - Restricted - znver1                                      3.0 kB/s | 2.4 kB     00:00    
OpenMandriva Rolling - Non-free - znver1                                        4.4 kB/s | 2.4 kB     00:00    
Dependencies resolved.
================================================================================================================
 Package                             Architecture   Version                  Repository                    Size
================================================================================================================
Installing:
 abcde                               noarch         2.9.3-6                  rolling-znver1-extra         117 k
Installing dependencies:
 cd-discid                           znver1         1.4-2                    rolling-znver1-extra          20 k
 cdparanoia                          znver1         1:10.2-27                rolling-znver1                41 k
 lib64discid0                        znver1         0.6.2-2                  rolling-znver1                19 k
 lib64glyr                           znver1         1.0.10-3                 rolling-znver1                79 k
 perl-CPAN-Meta-YAML                 noarch         0.018-32                 rolling-znver1                17 k
 perl-EV                             znver1         4.34-3                   rolling-znver1-extra         245 k
 perl-IO-Socket-IP                   noarch         0.4101-32                rolling-znver1                28 k
 perl-IO-Socket-SSL                  noarch         2.089-1                  rolling-znver1               215 k
 perl-JSON-PP                        noarch         1:4.16-32                rolling-znver1                58 k
 perl-Mojolicious                    noarch         9.39-3                   rolling-znver1-extra         987 k
 perl-MusicBrainz-DiscID             znver1         0.06-3                   rolling-znver1                21 k
 perl-Net-SSLeay                     znver1         1.920.0-4                rolling-znver1               297 k
 perl-Test-Simple                    noarch         1:1.302194-32            rolling-znver1               747 k
 perl-WebService-MusicBrainz         noarch         1.0.6-2                  rolling-znver1-extra          18 k
 perl-common-sense                   noarch         3.750.0-1                rock-znver1-extra             27 k
 vorbis-tools                        znver1         1.4.2-5                  rolling-znver1               209 k
Installing weak dependencies:
 flac                                znver1         1.5.0-1                  rolling-znver1               201 k
 glyr                                znver1         1.0.10-3                 rolling-znver1                32 k
 mkcue                               znver1         1.8-1                    rolling-znver1                23 k

Transaction Summary
================================================================================================================
Install  20 Packages

Total download size: 3.3 M
Installed size: 9.7 M
Is this ok [y/N]: n
Operation aborted.

That was ROME(rolling) not Rock. At any rate in git 6.0 had files for abcde-2.9.3-5. So I updated the files and built the package and:

So package is built of 6.0, it installs, whether it works is to be determined by someone that actually knows what this software is for.

@247 note the repos in use for this abcde install. I don’t use non-free repos normally. That is for the poor sad souls with nVidia hardware and other non-free stuff.

just for clarification, the command is the one you gave me

sudo dnf install --enablerepo=rock-x86_64-extra abcde --refresh

and dnf repolist is exactly in that message, i included it already :slight_smile:

now give me a second and i’ll read all the other messages :slight_smile:

hello, and thank you, now that you backported the app to rock, i have finally updated it :slight_smile: i’ll try how it goes :slight_smile:

ok, tried it, and while i thank you for the update, making the cue file (-1M -o flac) still gives me a

/home/legacychimera247/abcde.0701c002/track1.flac: ERROR: while parsing cuesheet "/home/legacychimera247/abcde.0701c002/cue-0701c002.txt" on line 4: CD-DA TRACK numbers must be sequential
*.flac: ERROR: reading metadata, status = "FLAC__METADATA_CHAIN_STATUS_ERROR_OPENING_FILE"

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.
[ERROR] abcde: The following commands failed to run:
tagtrack-flac-1: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-cuesheet-from=/home/legacychimera247/abcde.0701c002/cue-0701c002.txt --import-tags-from=- /home/legacychimera247/abcde.0701c002/track1.flac
Finished. Not cleaning /home/legacychimera247/abcde.0701c002.

this seems to happen with flac only as i tried with ogg and it worked perfectly

Maybe that means something

The errors you are posting are pointing to a problem with the FLAC files being generated:

The FLAC file could not be opened.  Most likely the file does not exist
or is not readable.

Of course if the files it is generating are unreadable then they will not match the metadata in the associated cuesheet, causing a casacade of failures/errors from the programs you are running through abcde (which is just a glorified bash script executing other programs).

It may be something related to the parameters you are pushing through abcde I honestly do not know, but when a program says the files you are operating on, in this case FLAC files, are unreadable then it is bound to throw errors when trying to read those files or to do anything else with them.

The fact that abcde can rip to .OGG files perfectly fine and as both I have confirmed this and you have done so a few days ago yourself also points to the issue being elsewhere.

Another package suggestion for ripping audio CDs would be to install flacon as an alternative which is also available in the Rock extra repos.