Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] CD ripper that generates song titles? Fernando Rodriguez <frodriguez.developer@×××××××.com>
Re: [gentoo-user] CD ripper that generates song titles? Fernando Rodriguez <frodriguez.developer@×××××××.com>