Document setting track attributes

This commit is contained in:
Martchus 2017-12-05 15:44:43 +01:00
parent 3443729d16
commit f9e3f8426e
1 changed files with 19 additions and 11 deletions

View File

@ -129,7 +129,8 @@ However, this feature is still experimental.
```
tageditor <operation> [options]
```
Checkout the available operations and options with `--help`.
Checkout the available operations and options with `--help`. For a list of all available field names, track
attribute names and modifier, use the CLI option `--print-field-names`.
#### Examples
Here are some Bash examples which illustrate getting and setting tag information:
@ -151,7 +152,7 @@ Here are some Bash examples which illustrate getting and setting tag information
tageditor info --files /some/dir/*.m4a
```
##### Writing tags
##### Modifying tags and track attributes
* Sets title, album, artist, cover and track number of all \*.m4a files in the specified directory:
```
tageditor set title="Title of "{1st,2nd,3rd}" file" title="Title of "{4..16}"th file" \
@ -195,6 +196,13 @@ Here are some Bash examples which illustrate getting and setting tag information
- `id3`: ID3v2 ID (must be exactly 3 or 4 characters depending on the tag version)
- `vorbis`: Vorbis comment ID
* Removes the "forced" flag from all tracks, flags the track with the ID 2 as "default" and sets its language to "ger":
```
tageditor set track=all forced=no track=2 default=yes language=ger
```
- So modifying track attributes is possible as well and it works like setting tag fields.
- Specific tracks can currently only be referred by ID.
* Here is another example, demonstrating the use of arrays and the syntax to auto-increase numeric fields such as the track number:
```