Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customization of maximum rip attempts value #455

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

ABCbum
Copy link
Contributor

@ABCbum ABCbum commented Jan 23, 2020

Fixes: #349

Solution

Add new --max-retries argument to allow users to specify maximum number
of attempts to try before giving up ripping a track. This value defaults to 5 while 0 means infinity.
Possible errors (negative number, string, etc) are also handled.

@JoeLametta
Copy link
Collaborator

I've pushed a commit. Don't know if gracefully handling non int value is needed...

@ABCbum
Copy link
Contributor Author

ABCbum commented Jan 29, 2020

I think it should be good after squashing it into one commit since forcing it to int works for cases such as 001 becomes 1. Thanks (. ❛ ᴗ ❛.)

Add new `--max-retries` argument to allow users to specify maximum number
of attempts to try before giving up ripping a track. This value defaults to `5` while `0` means infinity.
Possible errors (negative number, string, etc) are also handled.

Co-authored-by: JoeLametta <JoeLametta@users.noreply.github.com>
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
Signed-off-by: ABCbum <kimlong221002@gmail.com>
@JoeLametta JoeLametta merged commit eaf96ea into whipper-team:develop Jan 29, 2020
@JoeLametta
Copy link
Collaborator

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow customization of maximum rip retries attempts value
2 participants