diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2015-11-06 13:13:30 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2015-11-06 13:13:30 +0200 |
commit | 638c48ec020909e52a2081b4b9dc6908592e1bab (patch) | |
tree | 9b94fbaae1abe0d67dae2fd6fb43f495a94ff64d | |
parent | 19aa76addd806881d9e881a61f094ce125ba5fcc (diff) | |
download | idest-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.
-rw-r--r-- | NEWS | 22 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | doc/idest.texi | 20 | ||||
-rw-r--r-- | examples/settitle.scm | 6 | ||||
-rw-r--r-- | scheme/dry-run.scm | 7 |
5 files changed, 39 insertions, 20 deletions
@@ -1,4 +1,4 @@ -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. @@ -6,4 +6,20 @@ 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 @@ -231,5 +247,5 @@ 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 diff --git a/configure.ac b/configure.ac index 18f1de9..163f1ee 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # -*- 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 @@ -17,5 +17,5 @@ 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]) diff --git a/doc/idest.texi b/doc/idest.texi index 68c939f..ae725f1 100644 --- a/doc/idest.texi +++ b/doc/idest.texi @@ -33,5 +33,5 @@ @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 @@ -1085,8 +1085,8 @@ $ idest --script settitle *.mp3 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 @@ -1372,5 +1372,5 @@ Show a short help summary 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: @@ -1388,5 +1388,5 @@ 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 @@ -1587,8 +1587,8 @@ $ 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 @@ -1638,5 +1638,5 @@ 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. @@ -1871,5 +1871,5 @@ Print a short usage message. @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 diff --git a/examples/settitle.scm b/examples/settitle.scm index cd43106..ae822ad 100644 --- a/examples/settitle.scm +++ b/examples/settitle.scm @@ -1,4 +1,4 @@ ;; 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> @@ -11,5 +11,5 @@ (define (idest-main file frames) (cond - ((string-match "(.*)\\.mp3" file) => + ((string-match "(.*/)?(.*)\\.mp3" file) => (lambda (match) (cons @@ -21,5 +21,5 @@ (lambda (c) (if (char=? c #\_) #\space c)) - (match:substring match 1))))) + (match:substring match 2))))) ;; (filter 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,5 +1,5 @@ ;; 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 @@ -22,5 +22,8 @@ (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)) |