summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2015-11-06 11:13:30 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2015-11-06 11:13:30 (GMT)
commit638c48ec020909e52a2081b4b9dc6908592e1bab (patch) (side-by-side diff)
tree9b94fbaae1abe0d67dae2fd6fb43f495a94ff64d
parent19aa76addd806881d9e881a61f094ce125ba5fcc (diff)
downloadidest-638c48ec020909e52a2081b4b9dc6908592e1bab.tar.gz
idest-638c48ec020909e52a2081b4b9dc6908592e1bab.tar.bz2
Minor changes
* configure.ac: Version 2.0.90 * NEWS: Update. * doc/idest.texi: Update. * examples/settitle.scm: Remove directory components from the name. * scheme/dry-run.scm: Improve help output.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS22
-rw-r--r--configure.ac4
-rw-r--r--doc/idest.texi20
-rw-r--r--examples/settitle.scm6
-rw-r--r--scheme/dry-run.scm7
5 files changed, 39 insertions, 20 deletions
diff --git a/NEWS b/NEWS
index ef969c3..b01b065 100644
--- a/NEWS
+++ b/NEWS
@@ -1,10 +1,26 @@
-IdEst -- history of user-visible changes. 2011-08-01
-Copyright (C) 2009-2011 Sergey Poznyakoff
+IdEst -- history of user-visible changes. 2015-11-06
+Copyright (C) 2009-2011, 2015 Sergey Poznyakoff
See the end of file for copying conditions.
Please send bug reports to <bug-idest@gnu.org.ua>
+Version 2.0.90 (Git)
+
+* The --convert option can be used to remove unnecessary ID3 formats.
+
+For example, if the file input.mp3 contains both version 1 and 2 tags,
+the following will remove version 1 tags:
+
+ idest --convert=2 input.mp3
+
+* Fix processing of unknown frames.
+
+* Fix operation of setpic and pic modules with Guile 2.x.
+
+* Improve documentation
+
+
Version 2.0 "PW", 2011-08-01
* New option --info (-i)
@@ -230,7 +246,7 @@ Initial release.
=========================================================================
Copyright information:
-Copyright (C) 2009, 2010, 2011 Sergey Poznyakoff
+Copyright (C) 2009-2011, 2015 Sergey Poznyakoff
Permission is granted to anyone to make or distribute verbatim copies
of this document as received, in any medium, provided that the
diff --git a/configure.ac b/configure.ac
index 18f1de9..163f1ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
# -*- Autoconf -*-
# This file is part of Idest.
-# Copyright (C) 2009-2011 Sergey Poznyakoff
+# Copyright (C) 2009-2011, 2015 Sergey Poznyakoff
#
# Idest is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@
# along with Idest. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.61)
-AC_INIT([idest], [2.0], [bug-idest@gnu.org.ua])
+AC_INIT([idest], [2.0.90], [bug-idest@gnu.org.ua])
AC_CONFIG_SRCDIR([src/idest.h])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_AUX_DIR([build-aux])
diff --git a/doc/idest.texi b/doc/idest.texi
index 68c939f..ae725f1 100644
--- a/doc/idest.texi
+++ b/doc/idest.texi
@@ -32,7 +32,7 @@
@end ifinfo
@copying
-Copyright @copyright{} 2009-2011 Sergey Poznyakoff
+Copyright @copyright{} 2009-2011, 2015 Sergey Poznyakoff
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -1084,10 +1084,10 @@ $ idest --script settitle *.mp3
@command{idest} output by writing an appropriate script in Scheme. A
format is invoked using the @option{--format} (@option{-H}) command
line option. The format name is given as argument to that option.
-Similarly to @option{--source}, the @option{--format} option stops
+Similarly to the @option{--source} option, the @option{--format} option stops
further argument processing and passes the rest of arguments to the
format module, which is supposed to remove its option arguments and
-leave only the input file names. For example:
+leave only input file names. For example:
@example
$ idest --format=framelist -Q -l *.mp3
@@ -1371,7 +1371,7 @@ Show a short help summary
@subsubsection shortlist: Display Short Information
The @samp{shortlist} format module is similar to the
@samp{shortlist.scm} example program, discussed in @ref{shortlist
-example}. It does not take any command line options, everything after
+example}. It does not take any command line options -- everything after
the format name is treated as file names:
@example
@@ -1387,7 +1387,7 @@ located in a set of predefined directories which apply a set of
modifications to the argument files. In other words, batches are
file-modifying counterpart of formats. A batch is invoked using the
@option{--batch} (@option{-B}) command line option. The batch name
-is given as argument to that option. Similarly to @option{--source}
+is given as argument to that option. Similarly to the @option{--source}
and @option{--format} options, the @option{--batch} option stops
further argument processing and passes the rest of arguments to the
batch module, which is supposed to remove its option arguments and
@@ -1586,10 +1586,10 @@ $ idest --dry-run --script settitle *.mp3
This will run your script as usual, but instead of applying the
changes to the input files, @command{idest} will verbosely print
-results of each invocation of @samp{idest-main}. Input files will
-then be opened in read-only mode.
+results of each invocation of @samp{idest-main}. When
+@option{--dry-run} is used, input files are opened in read-only mode.
-The same applies to testing batch files, e.g.:
+This option works with batch files as well, e.g.:
@example
$ idest --dry-run --batch delfrm *.mp3
@@ -1637,7 +1637,7 @@ reflect the @code{use-modules} clause at the beginning of
The @samp{dry-run} mode is actually implemented as a usual
@command{idest} Guile script, named @file{dry-run.scm}. The
script is installed to the package script directory. Its
-source can be found in the subdirectory @file{example} of the
+source can be found in the subdirectory @file{scheme} of the
@command{idest} distribution.
@node Backups
@@ -1870,7 +1870,7 @@ Print a short usage message.
@node Reporting Bugs
@chapter How to Report a Bug
- Email bug reports to @email{bug-idest@@gnuorg.ua} (or
+ Email bug reports to @email{bug-idest@@gnu.org.ua} (or
@email{gray+idest@@gnu.org.ua}). Please include a detailed
description of the bug and information about the conditions
under which it occurs, so we can reproduce it.
diff --git a/examples/settitle.scm b/examples/settitle.scm
index cd43106..ae822ad 100644
--- a/examples/settitle.scm
+++ b/examples/settitle.scm
@@ -1,5 +1,5 @@
;; title.scm - set title (TIT2) frame based on the file name.
-;; Copyright (C) 2011 Sergey Poznyakoff
+;; Copyright (C) 2011, 2015 Sergey Poznyakoff
;; License GPLv3+: GNU GPL version 3 or later
;; <http://gnu.org/licenses/gpl.html>
;; This is free software: you are free to change and redistribute it.
@@ -10,7 +10,7 @@
(define (idest-main file frames)
(cond
- ((string-match "(.*)\\.mp3" file) =>
+ ((string-match "(.*/)?(.*)\\.mp3" file) =>
(lambda (match)
(cons
(cons "TIT2"
@@ -20,7 +20,7 @@
(string-map
(lambda (c)
(if (char=? c #\_) #\space c))
- (match:substring match 1)))))
+ (match:substring match 2)))))
;;
(filter
(lambda (elt)
diff --git a/scheme/dry-run.scm b/scheme/dry-run.scm
index a77f3d8..2cabc7d 100644
--- a/scheme/dry-run.scm
+++ b/scheme/dry-run.scm
@@ -1,6 +1,6 @@
;; dry-run.scm - run a script and show the frames it produces.
;; This file is part of Idest
-;; Copyright (C) 2011 Sergey Poznyakoff
+;; Copyright (C) 2011, 2015 Sergey Poznyakoff
;; Idest is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
@@ -21,7 +21,10 @@
progname filename)))
(cond
((< (length cmd) 3)
- (format (current-error-port) "usage: idest -S ~A SCRIPT FILE...~%"
+ (format (current-error-port) "usage: idest -S ~A SCRIPT FILE...
+
+Normally you don't need to run this program manually. Instead please
+use: idest --dry-run [SCRIPTING OPTIONS]~%"
progname)
(exit 1))
(else

Return to:

Send suggestions and report system problems to the System administrator.