Add padding

This commit is contained in:
Alexandru Dracea 2022-12-19 18:35:37 +02:00
parent 8bb2c9c750
commit af9aca4d0c
No known key found for this signature in database
GPG key ID: C730649AE04A1B1E
3 changed files with 44 additions and 23 deletions

View file

@ -58,16 +58,18 @@ pub struct Archive {
#[arg(help = "Name of the output file")]
#[arg(long_help = "Name of the output file.\
If you use one of the following pattern they will get replaced:\n \
{title} Title of the video\n \
{series_name} Name of the series\n \
{season_name} Name of the season\n \
{audio} Audio language of the video\n \
{resolution} Resolution of the video\n \
{season_number} Number of the season\n \
{episode_number} Number of the episode\n \
{series_id} ID of the series\n \
{season_id} ID of the season\n \
{episode_id} ID of the episode")]
{title} Title of the video\n \
{series_name} Name of the series\n \
{season_name} Name of the season\n \
{audio} Audio language of the video\n \
{resolution} Resolution of the video\n \
{padded_season_number} Number of the season padded to double digits\n \
{season_number} Number of the season\n \
{padded_episode_number} Number of the episode padded to double digits\n \
{episode_number} Number of the episode\n \
{series_id} ID of the series\n \
{season_id} ID of the season\n \
{episode_id} ID of the episode")]
#[arg(short, long, default_value = "{title}.mkv")]
output: String,