Only warn when no values have been specified to be set
Allows applying file layout changes without modifying any values, attachments, ...
This commit is contained in:
parent
88d79f48f4
commit
84ba55a0df
17
README.md
17
README.md
|
@ -24,13 +24,7 @@ the end of an MP4/Matroska file.
|
|||
|
||||
In the CLI, this is controlled via `--tag-pos` option.
|
||||
To enfore a specific `--tag-pos`, even if this requires the file to be rewritten, combine
|
||||
with the `--force` option. So for forcing *faststart* the following options are required:
|
||||
|
||||
```
|
||||
tageditor set --tag-pos front --force
|
||||
```
|
||||
|
||||
Note: Putting tags at the beginning of the file is sometimes called *faststart*.
|
||||
with the `--force` option.
|
||||
|
||||
ID3v2 tags and Vorbis/Opus comments can only be placed at the beginning. ID3v1 tags
|
||||
can only be placed at the end of the file.
|
||||
|
@ -42,6 +36,15 @@ only supported when dealing with Matroska files.
|
|||
Note: This can not be implemented for MP4 since tags and index are tied to each other. When dealing
|
||||
with MP4 files the index position will always be the same as the tag position.
|
||||
|
||||
#### Faststart
|
||||
Putting the index at the beginning of the file is sometimes called *faststart*.
|
||||
|
||||
For forcing *faststart* via CLI the following options are required:
|
||||
|
||||
```
|
||||
tageditor set --index-pos front --force
|
||||
```
|
||||
|
||||
### Padding
|
||||
Padding allows adding additional tag information without rewriting the entire file
|
||||
or appending the tag. Usage of padding can be configured:
|
||||
|
|
|
@ -1066,8 +1066,7 @@ void setTagInfo(const SetTagInfoArgs &args)
|
|||
&& !args.id3v1UsageArg.isPresent()
|
||||
&& !args.id3v2UsageArg.isPresent()
|
||||
&& !args.id3v2VersionArg.isPresent()) {
|
||||
cerr << "Error: No fields/attachments have been specified." << endl;
|
||||
return;
|
||||
cerr << "Warning: No fields/attachments have been specified." << endl;
|
||||
}
|
||||
// determine required targets
|
||||
vector<TagTarget> requiredTargets;
|
||||
|
|
Loading…
Reference in New Issue