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

Add base64 converter for chapter name in mediainfo #999

Merged
merged 1 commit into from Aug 25, 2022

Conversation

harshithmohan
Copy link
Member

Not sure I wrote it properly.. but it worksTM

@harshithmohan
Copy link
Member Author

I was not able to use the specific type to just target the object with @dt and #value

break;
}
default:
throw new NotImplementedException();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was not sure what to put for default case.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Throw something more specific then a not implemented description, or at least provide a message

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's intentionally not implemented, I tend to go for a NotSupportedException

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to
throw new NotSupportedException("Unknown type encountered in MenuStream.extra");

@harshithmohan harshithmohan merged commit a9b5d99 into master Aug 25, 2022
@harshithmohan harshithmohan deleted the base64-converter branch August 25, 2022 19:47
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.

None yet

3 participants