]> diplodocus.org Git - flac-archive/log
flac-archive
20 years agoDon't stupidly take only one argument; take multiple files.
epg [Wed, 27 Apr 2005 05:07:00 +0000 (05:07 +0000)]
Don't stupidly take only one argument; take multiple files.

20 years agoSupport single-track FLAC files (no cue sheet).
epg [Wed, 27 Apr 2005 04:55:52 +0000 (04:55 +0000)]
Support single-track FLAC files (no cue sheet).

If the TRACKNUMBER tag is present, use it on the first MP3 file; this
should only be set on a single-track FLAC file.

Don't blow up if any of the tags we look for are not defined; just
don't use them.

20 years ago(get_tags): http://us.xiph.org/ogg/vorbis/doc/v-comment.html says the
epg [Wed, 27 Apr 2005 03:49:35 +0000 (03:49 +0000)]
(get_tags): http://us.xiph.org/ogg/vorbis/doc/v-comment.html says the
keys are supposed to be case insensitive.

20 years agoSupport multi-artist flac files.
epg [Tue, 26 Apr 2005 03:30:19 +0000 (03:30 +0000)]
Support multi-artist flac files.

20 years ago1. Switch to TITLE[n] style tags
epg [Tue, 26 Apr 2005 03:01:04 +0000 (03:01 +0000)]
1. Switch to TITLE[n] style tags
2. Support multi-artist discs

(tags_file): Split all the duplicated candidate-tags file writing
stuff from tags into this new function.  It uses TITLE[n] style tags,
and ARTIST[n] tags for multi-artist discs.

(tags): Use tags_file.  If any of the matching MusicBrainz album
objects' has_various_artists function returns true, make a
candidate-tags-0v file with blank ARTIST[n] entries, as well as
putting them in the candidate-tags-$i file.

21 years agoDocument changes for version 2.
epg [Sun, 5 Dec 2004 09:09:21 +0000 (09:09 +0000)]
Document changes for version 2.

21 years ago(get_tags): Fix TITLE regexp; it was mistakenly not using ^ like the
epg [Sun, 5 Dec 2004 08:23:55 +0000 (08:23 +0000)]
(get_tags): Fix TITLE regexp; it was mistakenly not using ^ like the
others.  Also, as follow-up to r1733, document why we don't match = .

21 years ago(run_or_die): Print command if verbose mode.
epg [Sun, 5 Dec 2004 07:10:57 +0000 (07:10 +0000)]
(run_or_die): Print command if verbose mode.

(flac2mp3): Pass --quiet and --verbose options to flac and lame as
appropriate.  If --lame-options given, also pass those to lame.
Previously --preset standard was hard-coded, now it is just the
default if --lame-options is not given.

(MAIN): Now take options: --lame-options, -q/--quiet, -v/--verbose,
and -h/--help.

21 years agoWork around cperl-mode scanning bug.
epg [Sun, 5 Dec 2004 06:44:44 +0000 (06:44 +0000)]
Work around cperl-mode scanning bug.

21 years agoAdd debug mode.
epg [Sun, 5 Dec 2004 06:35:11 +0000 (06:35 +0000)]
Add debug mode.

21 years agoAdd support for a post-processor hook.
epg [Sun, 5 Dec 2004 05:38:18 +0000 (05:38 +0000)]
Add support for a post-processor hook.

(fa-flacd):
    Document the hook.

    (flac): Execute and remove the hook if it exists before removing
    the temporary directory.

(fa-rip):
    (make_post_processor): New function to create the post-processor
    file, if defined.

    (MAIN): Take new -p/--post-processor option.

21 years agoNeed the g (global) flag on that substitution operation.
epg [Sat, 30 Oct 2004 19:09:07 +0000 (19:09 +0000)]
Need the g (global) flag on that substitution operation.

21 years agoCopy run_or_die from fa-rip and use that to run flac | lame.
epg [Sat, 30 Oct 2004 17:46:27 +0000 (17:46 +0000)]
Copy run_or_die from fa-rip and use that to run flac | lame.

21 years agoMake handling of child process death consistent.
epg [Sat, 30 Oct 2004 17:25:01 +0000 (17:25 +0000)]
Make handling of child process death consistent.

21 years ago(get_tags): Just match /TITLE/ instead of /TITLE=/, to support the
epg [Thu, 28 Oct 2004 02:11:26 +0000 (02:11 +0000)]
(get_tags): Just match /TITLE/ instead of /TITLE=/, to support the
TITLE[1] .. TITLE[n] tag style.

21 years agoNote GNU make requirement.
epg [Wed, 27 Oct 2004 05:38:25 +0000 (05:38 +0000)]
Note GNU make requirement.

21 years agoRemove debugging bits accidentally committted.
epg [Wed, 27 Oct 2004 05:08:38 +0000 (05:08 +0000)]
Remove debugging bits accidentally committted.

21 years agoAdd URL keyword.
epg [Wed, 27 Oct 2004 05:06:42 +0000 (05:06 +0000)]
Add  URL keyword.

21 years agoMake Getopt::Long behave sanely, as i do elsewhere.
epg [Wed, 27 Oct 2004 05:05:43 +0000 (05:05 +0000)]
Make Getopt::Long behave sanely, as i do elsewhere.

21 years agoUse Getopt::Long and Pod::Usage instead of Getopt::Std. As a side
epg [Wed, 27 Oct 2004 05:05:16 +0000 (05:05 +0000)]
Use Getopt::Long and Pod::Usage instead of Getopt::Std.  As a side
effect, support long options.  Add OPTIONS documentation section.

21 years agoCollapse fa-rip and fa-tags into a single Perl program, fa-rip.
epg [Wed, 27 Oct 2004 04:54:16 +0000 (04:54 +0000)]
Collapse fa-rip and fa-tags into a single Perl program, fa-rip.
Fix up the documentation.

21 years agoSupport a -t track-count option to fa-rip and mkcue, so we can skip
epg [Sat, 23 Oct 2004 05:53:06 +0000 (05:53 +0000)]
Support a -t track-count option to fa-rip and mkcue, so we can skip
stupid data tracks.

21 years agoNo more .toc file now that we use mkcue.
epg [Sat, 23 Oct 2004 04:42:35 +0000 (04:42 +0000)]
No more .toc file now that we use mkcue.

21 years agoAh-hah! I have finally found the bug that caused my mp3s to include a
epg [Sat, 23 Oct 2004 02:40:41 +0000 (02:40 +0000)]
Ah-hah!  I have finally found the bug that caused my mp3s to include a
bit of the next track at the end of one, but only sometimes.  The
hundredths of a second vs. sector was certainly a bug, but was not
this bug.

(get_decode_args): Use sprintf %02d for each field.  Previously i
was just stringing them together with colon and dot, so "9" becomes
"9" instead of "09", which flac sees as 90!

21 years ago(get_decod_args): The third time field is *sectors*, not hundredths of
epg [Sat, 23 Oct 2004 01:54:15 +0000 (01:54 +0000)]
(get_decod_args): The third time field is *sectors*, not hundredths of
a second.  One second is 75 sectors.

21 years agoDon't count tracks twice.
epg [Sat, 23 Oct 2004 01:45:23 +0000 (01:45 +0000)]
Don't count tracks twice.

21 years agoUse mkcue to make cue sheets, instead of cdrdao.
epg [Sat, 23 Oct 2004 01:44:30 +0000 (01:44 +0000)]
Use mkcue to make cue sheets, instead of cdrdao.

21 years agoSanitize filename sanitization and quoting. I'm not sure why i was
epg [Sat, 18 Sep 2004 16:05:25 +0000 (16:05 +0000)]
Sanitize filename sanitization and quoting.  I'm not sure why i was
s/[:'"]/_/g, momentary insanity i suppose.  All i need do is replace /
with _ on output filenames and replace ' with '\'' on filenames that
will go to the shell surrouned by '' quotes, instead of being passed
directly into a program's argv.

fa-flacd:
    (flac): Do / sanitization only, since we're not going through the
    shell, but running flac directly.

flac2mp3:
    (flac2mp3): We weren't sanitizing the input filename; start doing
    so.  Only do ' sanitization for input file and output id3tag
    information, additionally do / sanitization on $outfile.

21 years ago(get_tags): Properly handle errors from metaflac.
epg [Sun, 5 Sep 2004 21:01:54 +0000 (21:01 +0000)]
(get_tags): Properly handle errors from metaflac.

21 years ago(flac): Whoops, need to use sanitized version in some more places.
epg [Tue, 31 Aug 2004 05:28:18 +0000 (05:28 +0000)]
(flac): Whoops, need to use sanitized version in some more places.

21 years ago(flac): Copy filename sanitization from flac2mp3.
epg [Tue, 31 Aug 2004 04:27:40 +0000 (04:27 +0000)]
(flac): Copy filename sanitization from flac2mp3.

21 years ago(flac2mp3: Put XXX comment where it belongs.
epg [Mon, 30 Aug 2004 02:23:26 +0000 (02:23 +0000)]
(flac2mp3: Put XXX comment where it belongs.

21 years ago(flac2mp3): Use for "loop" for s/// filename sanitization.
epg [Mon, 30 Aug 2004 02:22:54 +0000 (02:22 +0000)]
(flac2mp3): Use for "loop" for s/// filename sanitization.

21 years ago(reaper): Why was i passing 0 to waitpid? All the documentation says
epg [Sun, 29 Aug 2004 23:14:14 +0000 (23:14 +0000)]
(reaper): Why was i passing 0 to waitpid?  All the documentation says
to pass -1.  0 worked on NetBSD 1.6 but hangs on 2.0.  Now pass -1 as
we're supposed to.

21 years agoNo longer use CDDBURL environment variable.
epg [Fri, 27 Aug 2004 04:00:04 +0000 (04:00 +0000)]
No longer use CDDBURL environment variable.

21 years agoWhoops, missed part of fa-tags doc update (SYNOPSIS).
epg [Fri, 27 Aug 2004 03:58:40 +0000 (03:58 +0000)]
Whoops, missed part of fa-tags doc update (SYNOPSIS).

21 years agoPrint usage error message to stderr.
epg [Fri, 27 Aug 2004 03:57:42 +0000 (03:57 +0000)]
Print usage error message to stderr.

21 years agoExplain why DATE is never set (MusicBrainz doesn't have it).
epg [Fri, 27 Aug 2004 03:55:14 +0000 (03:55 +0000)]
Explain why DATE is never set (MusicBrainz doesn't have it).

21 years agoDe-zsh this so it will work in ksh93 and bash.
epg [Fri, 27 Aug 2004 03:54:36 +0000 (03:54 +0000)]
De-zsh this so it will work in ksh93 and bash.

21 years agoPrint error message to stderr.
epg [Fri, 27 Aug 2004 03:48:44 +0000 (03:48 +0000)]
Print error message to stderr.

21 years agoExport CDDEV to the environment if we set it here.
epg [Fri, 27 Aug 2004 03:47:38 +0000 (03:47 +0000)]
Export CDDEV to the environment if we set it here.

21 years agoSupport CDDEV environment variable.
epg [Fri, 27 Aug 2004 03:47:04 +0000 (03:47 +0000)]
Support CDDEV environment variable.

21 years agoUpdate fa-tags documentation.
epg [Fri, 27 Aug 2004 03:41:10 +0000 (03:41 +0000)]
Update fa-tags documentation.

21 years agoReformat requirements and add MusicBrainz::Client.
epg [Fri, 27 Aug 2004 03:38:31 +0000 (03:38 +0000)]
Reformat requirements and add MusicBrainz::Client.

21 years agoReference mktemp -d.
epg [Fri, 27 Aug 2004 03:33:44 +0000 (03:33 +0000)]
Reference mktemp -d.

21 years agoReference documentation in fa-flacd.
epg [Fri, 27 Aug 2004 03:31:42 +0000 (03:31 +0000)]
Reference documentation in fa-flacd.

21 years agoDrop references to abcde and its license.
epg [Fri, 27 Aug 2004 03:29:44 +0000 (03:29 +0000)]
Drop references to abcde and its license.

21 years agofa-tags:
epg [Fri, 27 Aug 2004 03:07:55 +0000 (03:07 +0000)]
fa-tags:
    Rewrite in Perl using MusicBrainz::Client::Simple.

fa-rip:
    Adapt to new fa-tags.  Use mktemp(1) to create work directory now
    that we don't have cd-discid.

README:
    No longer need cddb-tool and cd-discid.

21 years ago(flac2mp3): Put the track number in the filename.
epg [Thu, 26 Aug 2004 00:14:51 +0000 (00:14 +0000)]
(flac2mp3): Put the track number in the filename.

21 years agoFirst crack at mp3 transcode script.
epg [Mon, 23 Aug 2004 03:48:07 +0000 (03:48 +0000)]
First crack at mp3 transcode script.

21 years agoAdd .PRECIOUS: %.1 so gmake doesn't remove .1 files if you say 'gmake foo.0'.
epg [Mon, 23 Aug 2004 03:33:03 +0000 (03:33 +0000)]
Add .PRECIOUS: %.1 so gmake doesn't remove .1 files if you say 'gmake foo.0'.

(fa-flacd.1): Replace this with an implicit rule (%.1: %).

(.1.0): Replace this with a gmake implicit rule (%.0: %.1).

21 years agoStop extracting the DATE tag; we only need to treat ARTIST and ALBUM
epg [Sun, 22 Aug 2004 00:38:30 +0000 (00:38 +0000)]
Stop extracting the DATE tag; we only need to treat ARTIST and ALBUM
specially.

21 years ago(verbose): Use for instead of map.
epg [Sun, 22 Aug 2004 00:34:07 +0000 (00:34 +0000)]
(verbose): Use for instead of map.

21 years agoClarify abcde dependency; all we need from there is cddb-tool.
epg [Sun, 22 Aug 2004 00:30:49 +0000 (00:30 +0000)]
Clarify abcde dependency; all we need from there is cddb-tool.

21 years agoFully automate the install target.
epg [Sun, 22 Aug 2004 00:29:03 +0000 (00:29 +0000)]
Fully automate the install target.

21 years agoRename, since i'm about to use some GNU make features.
epg [Sat, 21 Aug 2004 23:51:04 +0000 (23:51 +0000)]
Rename, since i'm about to use some GNU make features.

22 years agoUse zsh arithmetic for loop instead of jot(1).
epg [Wed, 21 Apr 2004 15:56:56 +0000 (15:56 +0000)]
Use zsh arithmetic for loop instead of jot(1).

22 years ago(newjob): Perl's fork returns undef for failure, not -1.
epg [Mon, 19 Apr 2004 17:55:57 +0000 (17:55 +0000)]
(newjob): Perl's fork returns undef for failure, not -1.

22 years ago(deljob): This was trying to call WIFEXITED, WEXITSTATUS, etc. on the
epg [Mon, 19 Apr 2004 13:14:07 +0000 (13:14 +0000)]
(deljob): This was trying to call WIFEXITED, WEXITSTATUS, etc. on the
value returned by WEXITSTATUS.  Oops!

22 years ago(flac): return 0
epg [Thu, 15 Apr 2004 16:24:45 +0000 (16:24 +0000)]
(flac): return 0

(newjob): Child now exits with flac's return value.

22 years agoTry counting audio track lines in the cue file for the number of the
epg [Tue, 13 Apr 2004 04:03:49 +0000 (04:03 +0000)]
Try counting audio track lines in the cue file for the number of the
last track instead of $discid[2].  This seems to work better (so far)
for discs with data tracks.

22 years ago(get_tags): Catch errors on close.
epg [Tue, 13 Apr 2004 03:58:30 +0000 (03:58 +0000)]
(get_tags): Catch errors on close.

22 years agoChange L<> formatting codes for man page references to C<> according
epg [Sat, 3 Apr 2004 05:55:39 +0000 (05:55 +0000)]
Change L<> formatting codes for man page references to C<> according
to podchecker(1) recommendations.

22 years agoDocument zsh 4 requirement.
epg [Fri, 2 Apr 2004 01:54:30 +0000 (01:54 +0000)]
Document zsh 4 requirement.

22 years agoHere's flac-archive, version 1.
epg [Fri, 2 Apr 2004 01:53:41 +0000 (01:53 +0000)]
Here's flac-archive, version 1.

22 years ago(no commit message)
<> [Fri, 2 Apr 2004 01:53:40 +0000 (01:53 +0000)]