Skip to content
New issue

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

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

Already on GitHub? # 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.

@ABCbum ABCbum requested a review from JoeLametta January 24, 2020 14:07
@ABCbum ABCbum force-pushed the customize-max-tries branch from 51ee36d to 2d434d8 Compare January 24, 2020 15:38
@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!

# for free to join this conversation on GitHub. Already have an account? # 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