Commit 72603b6e authored by Cédric Marie's avatar Cédric Marie
Browse files

tag-sieve: Remove cuesheet block with rmblocks


Signed-off-by: default avatarCédric Marie <cedric.marie@openmailbox.org>
parent 819454ed
......@@ -22,7 +22,8 @@ print_usage()
printf " -h display this message\n"
printf "Commands:\n"
printf " show show tags\n"
printf " rmblocks remove seek table, picture, and padding blocks (FLAC files only)\n"
printf " rmblocks remove seek table, picture, cue sheet, and padding blocks\n"
printf " (FLAC files only)\n"
printf " clean set only following tags (and remove padding):\n"
printf " - ARTIST (from first track if not multi-artist)\n"
printf " - TITLE\n"
......@@ -106,9 +107,10 @@ if [ "$command" = "rmblocks" ]; then
# Set read-write permission
chmod 644 *.flac
# Remove seek table and padding
# Remove seek table, picture, cue sheet, and padding
metaflac --remove --block-type=SEEKTABLE *.flac
metaflac --remove --block-type=PICTURE *.flac
metaflac --remove --block-type=CUESHEET *.flac
metaflac --dont-use-padding --remove --block-type=PADDING *.flac
# Set read-only permission
chmod 444 *.flac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment