mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 09:33:46 +01:00
Fix convert plugin
This commit is contained in:
parent
ea1dc1eb19
commit
7798a521b5
1 changed files with 2 additions and 1 deletions
|
|
@ -146,11 +146,12 @@ class ConvertPlugin(BeetsPlugin):
|
|||
dest='keep_new', help='keep only the converted \
|
||||
and move the old files')
|
||||
cmd.parser.add_option('-d', '--dest', action='store',
|
||||
help='set the target format of the tracks')
|
||||
cmd.parser.add_option('-f', '--format', action='store', dest='format',
|
||||
help='set the destination directory')
|
||||
cmd.parser.add_option('-y', '--yes', action='store_true', dest='yes',
|
||||
help='do not ask for confirmation')
|
||||
cmd.parser.add_album_option()
|
||||
cmd.parser.add_format_option(target='item')
|
||||
cmd.func = self.convert_func
|
||||
return [cmd]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue