-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Support BSPlayer Subtitles provider #996
Conversation
Thank you for the contribution. I'll review this whenever I can |
Is there any way how to help with merging this? The code seams clean enough, but I'm not familiar with the code enough. |
bump |
As subliminal seems alive again, I'm working again on this to sync with the latest changes |
I think is ready to review 😃 |
Thanks! The errors with the tests for python < 3.12 seem to be a missing line at the top of the files: |
It's seems that there is something wrong with Python 3.9 and below, the response from BSPlayer is recorded as "binary", but from Python 3.10, is correctly recorded as a string (check tests/cassettes/bsplayer/test_login.yaml and tests/cassettes/bsplayer.py3.9/test_login.yaml) The solution I found is to have two different recordings, one for Python <=3.9 (named bsplayer.py3.9) and another for python >=3.10 (named bsplayer) Do you have any thoughts about this? |
You can try adding the |
That is! Thank you! I didn't see that. I also fixed the mypy warnigns, so now is really ready for review Pd. The mypy analysis is not documented on the contribution guide |
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
Hey! Anything else I need to do before this PR can be reviewed/merged? |
Hi @Nyaran, I made some modifications about types and making sure connection errors are correctly handled. I have one question though, you initialize a |
(failing CI for docs does not seem to be related to this PR) |
Looks like remnant code, should be safe to remove it |
Ok, LGTM! |
Merged! Thanks again @Nyaran for the PR and updating to the latest change!! |
Congrats! Long time coming |
No description provided.