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

[plugin.video.imdb.trailers] v2.1.8 #2411

Merged
merged 1 commit into from
Jun 19, 2019
Merged

[plugin.video.imdb.trailers] v2.1.8 #2411

merged 1 commit into from
Jun 19, 2019

Conversation

Gujal00
Copy link

@Gujal00 Gujal00 commented Jun 9, 2019

Description

This addon allows to watch movie trailers available on IMDb Website

Checklist:

  • My code follows the add-on rules and piracy stance of this project.
  • I have read the CONTRIBUTING document
  • Each add-on submission should be a single commit with using the following style: [plugin.video.foo] v1.0.0

@TravisBuddy
Copy link

Travis tests were successful

Hey @Gujal00,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

Rechi
Rechi previously requested changes Jun 10, 2019
Copy link
Member

@Rechi Rechi left a comment

Choose a reason for hiding this comment

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

@Gujal00 this add-on isn't Python 3 compatible, but all add-ons in Leia branch and higher have to be Python 3 compatible (see https://kodi.tv/article/attention-addon-developers-migration-python-3).

@Gujal00
Copy link
Author

Gujal00 commented Jun 10, 2019

@Gujal00 this add-on isn't Python 3 compatible, but all add-ons in Leia branch and higher have to be Python 3 compatible (see https://kodi.tv/article/attention-addon-developers-migration-python-3).

I dont understand, I did all the changes for the addon to work on KodiSetup-20190508-13148516-feature_python3-x64.exe and works fine in it.
Yes there is a dependency addon script.common.plugin.cache which is not py3 compatible. I am not the maintainer of that script addon, so I did a monkey patch on that script to make it respond (just loopback no actual functionality) on the py3 kodi version above so that my addon could be tested on py3
The other dependency script.module.beautifulsoup4 is already py3 ready and I installed it manually from migration repo.
I do not know what I can do now, as the addon itself is py3 compatible and works but the dependency from the official repo is not py3 compatible

@TravisBuddy
Copy link

Travis tests were successful

Hey @Gujal00,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@Rechi
Copy link
Member

Rechi commented Jun 11, 2019

An add-on is only python3 compatible if all it's dependencies and itself is python3 compatible.
Do you want that every user of your add-on first fixes script.common.plugin.cache to be Python 3 compatible before your add-on can be used?
Also do not expect that script.common.plugin.cache will ever by Python 3 compatible, unless your or someone else who uses it fixes it. It currently has no maintainer.

@Gujal00
Copy link
Author

Gujal00 commented Jun 11, 2019

Also do not expect that script.common.plugin.cache will ever by Python 3 compatible, unless your or someone else who uses it fixes it. It currently has no maintainer.

Okay, please mark this PR as waiting for Developer. I will see if I can make script.common.plugin.cache py3 ready

@TravisBuddy
Copy link

Travis tests were successful

Hey @Gujal00,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@Gujal00
Copy link
Author

Gujal00 commented Jun 16, 2019

I have recoded the addon to use requests.cache instead of script.common.plugin.cache.
Now the addon and dependencies are PY3 compatible and ready for your review.

plugin.video.imdb.trailers/addon.py Show resolved Hide resolved
plugin.video.imdb.trailers/addon.py Outdated Show resolved Hide resolved
plugin.video.imdb.trailers/addon.xml Outdated Show resolved Hide resolved
plugin.video.imdb.trailers/addon.xml Outdated Show resolved Hide resolved
@TravisBuddy
Copy link

Travis tests were successful

Hey @Gujal00,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

This addon allows to watch movie trailers available on IMDb Website
@TravisBuddy
Copy link

Travis tests were successful

Hey @Gujal00,
we found no major flaws with your code. Still you might want to look at this logfile, as we usually suggest some optional improvements.

@Gujal00 Gujal00 changed the title [plugin.video.imdb.trailers] v2.1.7 [plugin.video.imdb.trailers] v2.1.8 Jun 19, 2019
@Rechi Rechi dismissed their stale review June 19, 2019 06:59

add-on is now Python 3 compatible

@Rechi Rechi merged commit d73714d into xbmc:leia Jun 19, 2019
@Gujal00 Gujal00 deleted the new-imdbtrailers branch June 19, 2019 07:02
tingjhenjiang pushed a commit to tingjhenjiang/plugin.video.hamivideo that referenced this pull request Feb 4, 2024
[plugin.video.imdb.trailers] v2.1.8
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.

3 participants