Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let metaflac output to a different file #75

Open
kalrish opened this issue Jun 25, 2018 · 0 comments
Open

Let metaflac output to a different file #75

kalrish opened this issue Jun 25, 2018 · 0 comments
Labels
API change Needs a change in API

Comments

@kalrish
Copy link

kalrish commented Jun 25, 2018

TL;DR: metaflac should support outputting to a different file, like vorbiscomment(1).

Background: I have created a music compilation system which works kinda like a software build system. When possible, it encodes and tags in different steps so that a mere tag change doesn't result in the reencoding of the entire library. Unfortunately, metaflac doesn't support outputting to a different file (or to stdout), so I have to copy the untagged files manually.

Currently:

flac -o song-untagged.flac song.wav
cp -- song-untagged.flac song.flac
metaflac --set-tag=TITLE=Song song.flac

Desired:

flac -o song-untagged.flac song.wav
metaflac --set-tag=TITLE=Song -o song.flac song-untagged.flac

Since metaflac is designed to operate on multiple files simultaneously and we don't want to break the interface, I think the easiest would be to add a -o option. If it is specified, only one input file may be passed; any more should cause an error.

@ktmf01 ktmf01 added the API change Needs a change in API label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Needs a change in API
Projects
None yet
Development

No branches or pull requests

2 participants