Improved "Title template" documentation.
This commit is contained in:
parent
21215bc9da
commit
1181290d8f
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -185,7 +185,7 @@ https://web.microsoftstream.com/video/xxxxxxxx-aaaa-xxxx-xxxx-xxxxxxxxxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
### Title template
|
### Title template
|
||||||
The `-t` option allows users to input a custom or a template string for the output file names.
|
The `-t` option allows user to specify a custom filename for the videos.
|
||||||
|
|
||||||
You can use one or more of the following magic sequence which will get substituted at runtime. The magic sequence must be surrounded by curly brackets like this: `{title} {publishDate}`
|
You can use one or more of the following magic sequence which will get substituted at runtime. The magic sequence must be surrounded by curly brackets like this: `{title} {publishDate}`
|
||||||
|
|
||||||
|
@ -204,9 +204,13 @@ Input:
|
||||||
|
|
||||||
Expected filename:
|
Expected filename:
|
||||||
This is an example.mkv
|
This is an example.mkv
|
||||||
```
|
|
||||||
|
|
||||||
```
|
Input:
|
||||||
|
-t 'This is an example by {author}'
|
||||||
|
|
||||||
|
Expected filename:
|
||||||
|
This is an example by lukaarma.mkv
|
||||||
|
|
||||||
Input:
|
Input:
|
||||||
-t '{title} - {duration} - {publishDate} - {publishTime} - {author} - {authorEmail} - {uniqueId}'
|
-t '{title} - {duration} - {publishDate} - {publishTime} - {author} - {authorEmail} - {uniqueId}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue