Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Montuoro committed Mar 18, 2021
1 parent 8b2a02d commit 21215bc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ https://web.microsoftstream.com/video/xxxxxxxx-aaaa-xxxx-xxxx-xxxxxxxxxxxx
```

### Title template
The `-t` option allows users to input a template string for the output file names.
The `-t` option allows users to input a custom or a template string for the output file names.

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}`

Expand All @@ -197,7 +197,15 @@ You can use one or more of the following magic sequence which will get substitut
- `authorEmail`: E-mail of video publisher
- `uniqueId`: An _unique-enough_ ID generated from the video metadata

Example -
Examples -
```
Input:
-t 'This is an example'
Expected filename:
This is an example.mkv
```

```
Input:
-t '{title} - {duration} - {publishDate} - {publishTime} - {author} - {authorEmail} - {uniqueId}'
Expand Down

0 comments on commit 21215bc

Please sign in to comment.