public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] CD ripper that generates song titles?
Date: Sat, 29 Aug 2015 10:38:44 +0100	[thread overview]
Message-ID: <20150829103844.6c1af9c5@digimed.co.uk> (raw)
In-Reply-To: <20150829010931.GA3724@waltdnes.org>

[-- Attachment #1: Type: text/plain, Size: 1595 bytes --]

On Fri, 28 Aug 2015 21:09:31 -0400, Walter Dnes wrote:

> > Why reinvent the wheel? abcde is a shell script that does this and
> > much more. It uses whichever ripper, encoder etc. that you want, with
> > whatever options you want.  
> 
>   I like to putter around with bash scripts.  I've written up a 146-line
> script (83 lines of script plus 63 lines of comments)

abcde is a little larger than that.

% wc -l =abcde
4896 /usr/bin/abcde

> that handles
> things to *MY* specs for *MY* needs.  It processes .inf and .wav files
> in a directory, creating flac files in a flac subdirectory.  I haven't
> tested it under all conditions, but it tries to handle...
> 
> * Check for a "flac" subdirectory; create one if it doesn't already
> exist
> * If "Tracktitle" field is empty, bail out.
> * If "Tracktitle" field contains a slash ("/"), assume that the artist's
>   name is to the left of the slash, and the song name is on the right
>   side of the slash.
> * If "Tracktitle" field is non-empty, but doesn't contain a "/", assume
>   that it only has the title.
>   - Get the artist name from the "Performer" field.
>   - If "Performer" field is empty, use "Albumperformer" field.
>   - If both are empty, set artist name to "Unknown".
> * The flac files are created in the "flac" subdirectory

That's pretty much what I do with abcde, except I only had to edit a
config file, leaving my script puttering time for wheels I need more.

How do you handle compilation/multi-artist CDs?


-- 
Neil Bothwick

Hello.. Incontinence Hotline.. Can you hold?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2015-08-29  9:39 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 20:06 [gentoo-user] CD ripper that generates song titles? Walter Dnes
2015-08-26 20:16 ` Daniel Frey
2015-08-26 20:38 ` covici
2015-08-26 20:49 ` Heiko Baums
2015-08-26 21:01   ` Marc Joliet
2015-08-27 11:28   ` Joerg Schilling
2015-08-27 23:48     ` wabenbau
2015-08-26 20:53 ` wabenbau
2015-08-26 20:58 ` Marc Joliet
2015-08-26 21:04   ` Emanuele Rusconi
2015-08-26 22:53   ` Walter Dnes
2015-08-27 11:37     ` Joerg Schilling
2015-08-27 19:42       ` Walter Dnes
2015-08-27 21:00         ` Neil Bothwick
2015-08-29  1:09           ` Walter Dnes
2015-08-29  9:38             ` Neil Bothwick [this message]
2015-08-30  0:20               ` Walter Dnes
2015-08-30 10:46                 ` Neil Bothwick
2015-08-30 17:39                   ` [gentoo-user] " James
2015-08-31 16:40                   ` [gentoo-user] " Stroller
2015-08-31 22:21                     ` Alan McKinnon
2015-09-01  3:22                     ` Walter Dnes
2015-08-26 21:04 ` Fernando Rodriguez
2015-08-27 11:30   ` Joerg Schilling
2015-08-26 21:12 ` [gentoo-user] " Grant Edwards
2015-08-26 21:40 ` [gentoo-user] " Neil Bothwick
2015-08-26 22:50 ` Alex Corkwell
2015-08-27  3:42   ` Daniel Frey
2015-09-07 23:45   ` covici
2015-09-08  0:49     ` Fernando Rodriguez
2015-09-08  2:51       ` covici
2015-09-08  3:17         ` Fernando Rodriguez
2015-09-08  4:09       ` covici
2015-09-08  5:02         ` Fernando Rodriguez
2015-09-08  7:09           ` covici
2015-09-08  5:59         ` Fernando Rodriguez
2015-09-08  6:05           ` Fernando Rodriguez
2015-08-27  4:14 ` Alan McKinnon
2015-08-27  9:53   ` Neil Bothwick
2015-08-27 14:43     ` Alan McKinnon
2015-08-27 17:29       ` Mick
2015-08-27 18:16         ` Alan Grimes
2015-08-28  1:03           ` [gentoo-user] " James
2015-08-27 18:56       ` [gentoo-user] " Neil Bothwick
2015-08-27 19:07         ` Todd Goodman
2015-08-28  5:03         ` Alan McKinnon
2015-08-28  8:04           ` Neil Bothwick
2015-08-27 11:24 ` Joerg Schilling
2015-08-28  6:15 ` Justin Findlay
  -- strict thread matches above, loose matches on Subject: below --
2015-08-27 20:06 Schilling, Jörg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150829103844.6c1af9c5@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox