[SCM] morituri/master: default to include the release type (%r) in file paths

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:52 UTC 2014


The following commit has been merged in the master branch:
commit b80c89dbd6b9b19079c962f4e337a8c874e2d54f
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Jan 13 16:13:29 2013 +0100

    default to include the release type (%r) in file paths

diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index db6a9f1..c95326e 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -33,8 +33,8 @@ from morituri.program import cdrdao, cdparanoia
 
 from morituri.extern.task import task
 
-DEFAULT_TRACK_TEMPLATE = u'%A - %d/%t. %a - %n'
-DEFAULT_DISC_TEMPLATE = u'%A - %d/%A - %d'
+DEFAULT_TRACK_TEMPLATE = u'%r/%A - %d/%t. %a - %n'
+DEFAULT_DISC_TEMPLATE = u'%r/%A - %d/%A - %d'
 
 MAX_TRIES = 5
 
@@ -61,7 +61,7 @@ disc and track template are:
  - %d: disc title
  - %y: release year
  - %r: release type, lowercase
- - %r: Release type, normal case
+ - %R: Release type, normal case
  - %x: audio extension
 
 Paths to track files referenced in .cue and .m3u files will be made
@@ -86,7 +86,8 @@ Log files will log the path to tracks relative to this directory.
             help="sample read offset (defaults to configured value, or 0)")
         self.parser.add_option('-O', '--output-directory',
             action="store", dest="output_directory",
-            help="output directory "
+            help="output directory; will be included in file paths in result "
+                "files "
                 "(defaults to absolute path to current directory) ")
         # FIXME: have a cache of these pickles somewhere
         self.parser.add_option('-T', '--toc-pickle',

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list