-
Notifications
You must be signed in to change notification settings - Fork 276
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
Feature/add provider eztv #8004
Feature/add provider eztv #8004
Conversation
Thanks for the PR! Looks good, can you just fix the lint errors? https://travis-ci.org/github/pymedusa/Medusa/jobs/678687560#L1937 |
@medariox i am not sure where to begin. I never used travis-ci and when i open your link i see a lot of errors. Can you point me where to look? I am a newbie on this! If i now where to look i can investigate. The onyl this is that i am using python 3.7 and not 3.6.1. How would i tst the code? As in 3.7 i am not not getting errors. The only error i have is comming from subtitle finder since last master update. Please help |
I understand where to look now. will update in a moment |
There like three pep8 warnings left.
|
I managed to fix those all seems ok now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some little changes 👍
|
||
if mode != 'RSS': | ||
imdb_id = self.series.externals.get(mappings[10]) | ||
imdb_id = imdb_id[2:] # strip two tt's of id as they are not used by eztv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put this after the if check below, as there are shows that don't have an imdb entry and it would cause an exception otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Atually this can not be moved. Every show on eztv works based on imdb. So if a show has no IMDB the show will not be on EZTV. Therefor the else of the if statement shows log.debug('IMDb ID not found'). Please verify i do not have any shows without IMDB.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shows without IMDB will not be able to be search through the API. This how their API works see https://eztv.io/api/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I belive what he was saying is to move the slicing to right after the imdb_id check, so after line 68
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah because if returns null then errors out if sliced. makes sense!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just pushed this in latest commit but travis is failing me 😕
Restored everything because build failed travis after removing time items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just reviewed the changes. But now restoring back because travis is failing again
I just restored everything back to version that travis found ok but now the build is not working anymore. I do not understand why this is happening. I tried several commits to revert back but all changes have no effect, Can somebody please tell me what i am doing wrong? |
Can someone check the travis errors. It is i think not code related but command related ?? |
This really shouldn’t be using the name but instead another with a warning. I feel it’s misleading to our users otherwise. |
I think Travis is down. Just try again later |
@OmgImAlexis What do you mean? Can you elaborate what name is misleading other users? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job! Thanks @JorgMuskens
Cool thanks to you guys. |
my old code contains the old eztv.io link which does not work anymore. |
Update the base URL |
I hope i did it correctly as i opened new pr #8708 |
Hi Guys,
I am referencing to #7508
I checked if there was any affiliation. As far as I could see and google there is none. The only thing I could find is.
Here is a reddit thread about quote I stated
https://www.reddit.com/r/torrents/comments/40pzuf/is_it_safe_to_use_eztv_again_after_being_overtaken/
From my point of view it looks okay. Therefore i am opening a new pull request. Feel free to check it aswell. I am still using the same code for 5 months now without any problem. Hopefully this provider can be added as it is my favorite as i think for many others.
Best Regards
Jorg
Stay save