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.themoviedb.helper] 5.2.25 #4526

Merged

Conversation

jurialmunkey
Copy link

Description

Add and update TMDbHelper for Nexus and higher.

NOTE
Requires script.module.jurialmunkey to be updated in this PR first to meet dep requirements: xbmc/repo-scripts#2624

Acts as a helper plugin to generate widgets and retrieve details from online APIs for skinners. See wiki for full feature list
https://github.com/jurialmunkey/plugin.video.themoviedb.helper/wiki

Note an older version exists on Matrix repo. However, I'm submitting new for Nexus as the current version now uses the new infotag setters and so now only works on Nexus or higher.

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

Additional information :

  • Submitting your add-on to this specific branch makes it available to any Kodi version equal or higher than the branch name with the applicable Kodi dependencies limits.
  • add-on development wiki page.
  • Kodi pydocs provide information about the Python API
  • PEP8 codingstyle which is considered best practice but not mandatory.
  • This add-on repository has automated code guideline check which could help you improve your coding. You can find the results of these check at Codacy. You can create your own account as well to continuously monitor your python coding before submitting to repo.
  • Development questions can be asked in the add-on development section on the Kodi forum.
  • If you see no activity on your PR after a week (so at least one weekend has passed) then please go to the #kodi-dev freenode IRC channel to reach out to the team

@jurialmunkey
Copy link
Author

jurialmunkey commented Jun 8, 2024

packaging.version.InvalidVersion: Invalid version: '5.2.25~nexus'

I don't understand this error? This is a valid version afaik.
Is the tilde ~ not allowed in the repo?

EDIT: I've removed the ~nexus suffix so the checker doesn't complain.

@jurialmunkey jurialmunkey force-pushed the nexus.plugin.video.themoviedb.helper branch 2 times, most recently from 28a380b to daa002a Compare June 8, 2024 03:14
@jurialmunkey
Copy link
Author

I've fixed all the errors. Checker is still complaining because of the dependency module that needs to go in first but otherwise should be clean now.

@Hitcher
Copy link

Hitcher commented Jun 15, 2024

Does the addon checker need running again for this (and script.skinvariables) now that script.module.jurialmunkey v0.1.18 has been committed?

@jurialmunkey jurialmunkey force-pushed the nexus.plugin.video.themoviedb.helper branch from daa002a to 0b08385 Compare June 16, 2024 01:23
@jurialmunkey
Copy link
Author

Does the addon checker need running again for this (and script.skinvariables) now that script.module.jurialmunkey v0.1.18 has been committed?

Yeah, it looks like Bas tried yesterday but it hadn't quite hit the repo yet so still failed. I just retriggered now by force pushing a blank commit amend and looks like green light now.

@kris06
Copy link

kris06 commented Jun 20, 2024

major problem on search, 'the accents are not supported' on Fuse

Example
(en francais) présumé innocent is invalid
presumed innocent is valid research

@Hitcher
Copy link

Hitcher commented Jun 20, 2024

@kris06 this isn't the correct place for issues. Please go here instead: https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues

@Hitcher
Copy link

Hitcher commented Aug 6, 2024

Is there any particular reason this is being overlooked?
Anything we can do to help get it merged?

@basrieter
Copy link
Contributor

Is there any particular reason this is being overlooked? Anything we can do to help get it merged?

It's not being overlooked, but the PR is huge, so it takes up a lot of time to review. And thus is not a PR that we can quickly check and merge when we have some minutes lefts.

I will start a review today and see if I can fine a larger slot of time. But for the future: if you keep the PR's a bit smaller, things do go faster: 2 smaller PR's (after one another) will go faster than one huge one.

Copy link
Contributor

@basrieter basrieter left a comment

Choose a reason for hiding this comment

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

Did a first check of non-Python stuff.

plugin.video.themoviedb.helper/depends.txt Outdated Show resolved Hide resolved
plugin.video.themoviedb.helper/icon.xcf Outdated Show resolved Hide resolved
<extension point="xbmc.service" library="resources/service.py" />
<extension point="xbmc.python.module" library="resources/modules"/>
<extension point="xbmc.addon.metadata">
<reuselanguageinvoker>false</reuselanguageinvoker>
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why reuselanguageinvoker is disabled? This will require a new Python invoker with each run, instead of re-using the existing one with subsequent plugin requests. Re-using saves a lot of CPU and is faster.

Copy link
Author

@jurialmunkey jurialmunkey Aug 19, 2024

Choose a reason for hiding this comment

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

Because of this long standing bug which causes Kodi to hang and/or crash when reuselanguageinvoker plugins are used as widgets: xbmc/xbmc#21653

@Hitcher
Copy link

Hitcher commented Aug 18, 2024

It's not being overlooked, but the PR is huge, so it takes up a lot of time to review. And thus is not a PR that we can quickly check and merge when we have some minutes lefts.

Thanks for the update.

I will start a review today and see if I can fine a larger slot of time.

Thanks, I really appreciate it as this is the last dependency needed before I can submit my skin to the Omega repo.

@jurialmunkey jurialmunkey force-pushed the nexus.plugin.video.themoviedb.helper branch from 0b08385 to 4b3956f Compare August 19, 2024 03:52
@jurialmunkey
Copy link
Author

jurialmunkey commented Aug 19, 2024

I will start a review today and see if I can fine a larger slot of time. But for the future: if you keep the PR's a bit smaller, things do go faster: 2 smaller PR's (after one another) will go faster than one huge one.

Yeah this is my fault. I'm really sorry about getting so tardy on submitting updates as I know this is a massive pita to review.

BTW - the plugin is on the Matrix repo but I needed to make a new submission against Nexus as the info tag changes means it no longer works on Matrix -- it's still huge but if you compare against that version might give some indication of where there are trivial vs. significant changes. A lot is refactoring pushing things around as I try to unpick some of my poorer choices from when I was beginning to learn python (my eventual goal was to modularise things to make it all a bit more manageable but release cycle beat time/motivation available - so unfortunately it's still a mammoth).

If it helps at all here's the compare from my repo for the tag of the version in Matrix repo (v4.10.14) and this PR:
https://github.com/jurialmunkey/plugin.video.themoviedb.helper/compare/v4.10.14..v5.2.25

@basrieter basrieter merged commit 210eebc into xbmc:nexus Aug 19, 2024
1 check passed
@basrieter
Copy link
Contributor

So it took me quite some time but I got through it. Hopefully the future PR's are smaller :)

@Hitcher
Copy link

Hitcher commented Aug 19, 2024

That's awesome news. Many thanks basieter, it's really appreciated.

@jurialmunkey
Copy link
Author

So it took me quite some time but I got through it. Hopefully the future PR's are smaller :)

Yes definitely will be I promise! Really appreciate you taking the time to review.

@jurialmunkey jurialmunkey deleted the nexus.plugin.video.themoviedb.helper branch August 20, 2024 11:27
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.

4 participants