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

Handle missing self.options for whipper cd info #410

Merged
merged 1 commit into from
Oct 26, 2019

Conversation

JoeLametta
Copy link
Collaborator

@JoeLametta JoeLametta commented Aug 8, 2019

The attributes working_directory, disc_template, output_directory and offset are not defined during whipper cd info and they are only needed for ripping, and self.program.getTable doesn't need output_path to gather the tocfile.

Therefore, this part is excluded, if the attributes don't exist and an offset of 0 is used.

(Not tested yet. But I expect that it will work.)

Fixes issue #375.

@JoeLametta JoeLametta requested a review from Freso August 8, 2019 16:56
@JoeLametta JoeLametta changed the title WIP: Handle missing self.options for whipper cd info Handle missing self.options for whipper cd info Oct 21, 2019
@JoeLametta JoeLametta force-pushed the bugfix/issue-375-cd-info-no-attribute branch from 23e0cc3 to 4387513 Compare October 21, 2019 15:41
The attributes working_directory, disc_template, output_directory and offset are not defined during whipper cd info and they are only needed for ripping. self.program.getTable doesn't need output_path to gather the tocfile.

Therefore, this part is excluded, if the attributes don't exist and an offset of 0 is used.

Fixes issue #375.

Co-authored-by: gorgobacka <[email protected]>
Signed-off-by: JoeLametta <[email protected]>
Signed-off-by: gorgobacka <[email protected]>
@JoeLametta JoeLametta force-pushed the bugfix/issue-375-cd-info-no-attribute branch from 4387513 to 993dd6c Compare October 26, 2019 09:25
@JoeLametta JoeLametta merged commit da42842 into develop Oct 26, 2019
@JoeLametta JoeLametta deleted the bugfix/issue-375-cd-info-no-attribute branch October 26, 2019 09:29
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.

1 participant