Skip to content

Conversation

@mcollard0
Copy link

Fixes critical Pydantic validation errors and adds direct API token support for Real-Debrid accounts. See commit for full details.

- Fixed AccountInfo Pydantic validation error by safely converting premium values to boolean
- Added support for direct API tokens in Real-Debrid plugin (email:token format)
- Enhanced grab_info method to handle None premium values gracefully
- Improved signin method to detect API tokens passed as password parameter
- Maintains backward compatibility with existing OAuth authentication

Fixes issue where Real-Debrid premium field returned numeric timestamp causing:
ValidationError: 1 validation error for AccountInfo premium
Input should be a valid boolean, unable to interpret input
@CLAassistant
Copy link

CLAassistant commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants