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

Python exception when calling AudioSegment.export() with bitrate of int type (Issue #784) #786

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rwmnau
Copy link

@rwmnau rwmnau commented Mar 25, 2024

This pull request is associated with issue #784.

The fix checks if the bitrate passed into the method is an int, and if it is, it recasts it as a string before adding it to the args list. If it's not present or any other type, it leaves it alone.

If bitrate is passed in as int, convert to str
@rwmnau rwmnau changed the title Resolve #784 https://github.com/jiaaro/pydub/issues/784 Python exception when calling AudioSegment.export() with bitrate of int type (Issue #784) Mar 25, 2024
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