From 36acc87f30348e7f8bc6bf76019d89a3120da77b Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 23 Jul 2024 17:53:48 +0000 Subject: [PATCH] sane-tag-media: rename print-missing subcommand to show-missing, for consistency with show subcommand --- pkgs/additional/sane-scripts/src/sane-tag-media | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/additional/sane-scripts/src/sane-tag-media b/pkgs/additional/sane-scripts/src/sane-tag-media index fdd069c9e..b2a325bb3 100755 --- a/pkgs/additional/sane-scripts/src/sane-tag-media +++ b/pkgs/additional/sane-scripts/src/sane-tag-media @@ -69,7 +69,7 @@ tool which runs over a complete music library (or audiobooks, videos, ebooks (li this tool does NOT move or rename files. it only edits tags. -USAGE: cd MEDIA_LIBRARY_TOP && sane-tag-media [options] fix-paths|fix-tags|print-missing|show [cmd-specific options] DIRECTORY [DIRECTORY ...] +USAGE: cd MEDIA_LIBRARY_TOP && sane-tag-media [options] fix-paths|fix-tags|show-missing|show [cmd-specific options] DIRECTORY [DIRECTORY ...] scans DIRECTORY and guesses artist/album/title for each file, based on path relative to pwd. if the guessed tags look more correct than the existing tags (i.e. if the existing file is missing a tag), @@ -985,9 +985,9 @@ def main(): show_parser.set_defaults(subcommand="show") show_parser.add_argument("path", nargs="+", help="relative path to a file or directory to show") - print_missing_parser = subparsers.add_parser("print-missing") - print_missing_parser.set_defaults(subcommand="print_missing") - print_missing_parser.add_argument("path", nargs="+", help="relative path to a file or directory to validate tags for") + show_missing_parser = subparsers.add_parser("show-missing") + show_missing_parser.set_defaults(subcommand="show_missing") + show_missing_parser.add_argument("path", nargs="+", help="relative path to a file or directory to validate tags for") fix_tags_parser = subparsers.add_parser("fix-tags") fix_tags_parser.set_defaults(subcommand="fix_tags") @@ -1024,7 +1024,7 @@ def main(): if args.subcommand == "show": for f, tags in gatherer.files(): tagger.with_base_tags(tags).show(f) - elif args.subcommand == "print_missing": + elif args.subcommand == "show_missing": for f, tags in gatherer.files(): tagger_ = tagger.with_base_tags(tags) if not tagger_.is_sufficiently_tagged(f):