Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CD ripper that generates song titles?
Date: Tue, 08 Sep 2015 00:50:19
Message-Id: BLU437-SMTP92EC3AB109FEB79385108F8D530@phx.gbl
In Reply to: Re: [gentoo-user] CD ripper that generates song titles? by covici@ccs.covici.com
1 On Monday, September 07, 2015 7:45:47 PM covici@××××××××××.com wrote:
2 > Alex Corkwell <i.am.the.memory@×××××.com> wrote:
3 >
4 > > On Wed, Aug 26, 2015 at 04:06:10PM -0400, Walter Dnes wrote:
5 > > > I went to the CNE (Canadian National Exhibition) yesterday and
6 > > > indulged in a buying spree of 18 CD sets of my fave music (basically
7 > > > anything pop/rock/country pre-Beatles). I now have over 20 CDs that I
8 > > > want to rip to flac eventually. I dread the gruntwork in renaming
9 > > > tracks like track01.cdda.wav, etc. What Gentoo ebuilds are there for
10 > > > stuff that'll get ahold of track titles? Is it in the form of metadata
11 > > > on the CD?
12 > >
13 > > I personally like using morituri [1] for ripping my CDs.
14 > > It's a little bit slower than some, but very accurate (I believe it
15 > > compares several reads, just to make sure there were no errors).
16 > > It's not available in the main portage tree, but it's in the dev-zero
17 > > overlay as media-sound/morituri.
18 > >
19 > > It can rip to flac (with optional cue files) and works from the
20 > > terminal, if you prefer that.
21 > > Additionally, it can adjust for drive read offsets when writing files,
22 > > and is one of the few Linux things I've found which check the rips
23 > > against AccurateRip.
24 > >
25 > > What's particularly nice about it is that it uses what little metadata
26 > > and such it can get from the CD to look it up in MusicBrainz and add in
27 > > the title, artist, etc.
28 > > It also uses this to name the files according to album, artist, song
29 > > title, etc.
30 > > The template it uses to name the files and directories is relatively
31 > > configurable, as well.
32 > >
33 > > If you need more configurable tagging, cover art downloading, and such,
34 > > then look into Picard [2], which is in the main portage tree as
35 > > media-sound/picard.
36 > > It uses MusicBrainz [3] to get a whole bunch of metadata, tags, cover
37 > > art, and other stuff, and can rename files much more flexibly than
38 > > morituri.
39 > >
40 > > This is especially nice in combination with morituri, since morituri
41 > > saves the MusicBrainz ID into the metadata of the ripped files.
42 > > Normally, Picard looks files up by either the available metadata, or by
43 > > the acoustic fingerprint.
44 > > Since the MusicBrainz ID is already there, it immediately knows which
45 > > album it is (although it may have the wrong release if you want to be
46 > > that precise).
47 > >
48 > > The only caveats with Picard that I know of are that it's GUI only, it
49 > > can't embed full size cover art if the image is above some large
50 > > resolution, and I think that submitting extra fingerprints requires you
51 > > to register with AcoustID [4].
52 > > Also, it's not an actual ripper.
53 > > It just works on the metadata and tags of flac, mp3, and maybe a few
54 > > other types.
55 > >
56 > > I personally like to rip with morituri, then polish the tagging and get
57 > > the cover art with Picard.
58 > >
59 > > [1] http://thomas.apestaart.org/morituri/trac/wiki
60 > > [2] https://picard.musicbrainz.org/
61 > > [3] https://musicbrainz.org/
62 > > [4] https://acoustid.org/
63 >
64 > In trying to emerge morituri from the overlay I get the folloing:
65 >
66 > make[1]: Entering directory
67 > '/var/tmp/portage/media-sound/morituri-0.2.3/work/morituri-0.2.3'
68 > if test -e ./.git; then make REVISION; fi
69 > make[1]: Leaving directory
70 > '/var/tmp/portage/media-sound/morituri-0.2.3/work/morituri-0.2.3'
71 > ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
72 > Progress:
73 > 00:10
74 > (null)*(null) (null)ACCESS DENIED(null): mkstemp:
75 >
76 /run/user/0/orcexec.XXXXXX-------------------------------------------------------------------------]
77 > Building documentation: morituri.common.checksum
78 > (/var/tmp/portage/media-
79 sound/morituri-0.2.3/work/morituri-0.2.3/morituri/common/checksum.py)
80 > (gst-plugin-scanner:3783): GStreamer-CRITICAL **:
81 > gst_structure_empty_new: assertion 'gst_structure_validate_name (name)'
82 > failed
83 >
84 > (gst-plugin-scanner:3783): Clutter-CRITICAL **: Unable to initialize
85 > Clutter: Could not initialize Gdk
86 > ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
87 > Warning: Unable to extract the base list for
88 > twisted.trial.unittest.TestDecorator: Bad dotted name
89 > Warning: Module gobject._gobject is shadowed by a variable with the same
90 > name.
91 > Warning: 18 markup errors were found while processing docstrings. Use
92 > the verbose switch (-v) to display markup errors.
93 > >>> Source compiled.
94 > (null)*(null) --------------------------- ACCESS VIOLATION SUMMARY
95 > ---------------------------
96 > (null)*(null) LOG FILE: "/var/log/sandbox/sandbox-3700.log"
97 > (null)*(null)
98 > VERSION 1.0
99 > FORMAT: F - Function called
100 > FORMAT: S - Access Status
101 > FORMAT: P - Path as passed to function
102 > FORMAT: A - Absolute Path (not canonical)
103 > FORMAT: R - Canonical Path
104 > FORMAT: C - Command Line
105 >
106 > F: mkstemp
107 > S: deny
108 > P: /run/user/0/orcexec.XXXXXX
109 > A: /run/user/0/orcexec.XXXXXX
110 > R: /run/user/0/orcexec.XXXXXX
111 > C: /usr/lib64/gstreamer-0.10/gst-plugin-scanner -l
112 > (null)*(null)
113 >
114 --------------------------------------------------------------------------------
115 >
116 > >>> Failed to emerge media-sound/morituri-0.2.3, Log file:
117 >
118 > >>> '/var/log/portage/media-sound:morituri-0.2.3:20150907-233836.log'
119 >
120 >
121 > So, how can I fix or is this a dead package i.e. no maintainance?
122 >
123 > Thanks in advance for any ideas.
124 >
125 >
126 >
127
128 If you trust the ebuild you can try emerging it with FEATURES="-sandbox" or
129 add an exception for the temp directory on the ebuild.
130
131 https://devmanual.gentoo.org/function-reference/sandbox-functions/
132
133 --
134 Fernando Rodriguez

Replies

Subject Author
Re: [gentoo-user] CD ripper that generates song titles? covici@××××××××××.com
Re: [gentoo-user] CD ripper that generates song titles? covici@××××××××××.com