-
Notifications
You must be signed in to change notification settings - Fork 63
add padded
options for season and episode numbers
#84
Conversation
Will add the documentation part of it later today, if you guys agree with this as an option. I looked into doing something a bit more complex but it would require we use either a templating engine or do something else. |
What about anime that have more than 99 episodes? |
That's where a template/templating engine comes into use. |
As per purely 99 episode an higher, anything over ep 99 will stop being padded in any way. i.e. |
Yeah, I am aware of that. I just wanted to say I personally think in this case this:
would make more sense than this:
Probably also has to do with personal preferences. |
I'm agreeing with this. Given that the old (golang) versions are all using the |
I totally agree that this would probably be the best and easiest solution. Just wanted to point out that it could happen that an anime has more than 99 episodes, it's fairly unlikely but not impossible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep the help more readable, every format option has to be indented the same
So
{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 \
would be
{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 \
I pushed my fork to current master, will redo the PR. |
adds support for
{padded_episode_number}
and{padded_season_number}