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.service.gto] v2.0.23 #1426

Closed
wants to merge 1 commit into from
Closed

[plugin.service.gto] v2.0.23 #1426

wants to merge 1 commit into from

Conversation

b-jesch
Copy link

@b-jesch b-jesch commented Sep 25, 2017

Description

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

Update continued from Jarvis branch

  • 2.0.23
    minor fixes

  • 2.0.22
    some skin modifications
    sports scraper added

  • 2.0.18
    add record capabilities (only Krypton)

  • 2.0.14
    Some more properties, e.g. search titles in local database and flag the results

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.

@learningit
Copy link
Member

Hmm, sorry to inconvenience you again. I missed this first time around:

Your add-on should be a script, not a plugin. Please rename the addon script.service.gto and then submit to the xbmc/repo-scripts repository. I don't know how this was missed when you previously submitted this and it was accepted into the kodi.org repo. I'm going to close this PR against the xbmc/repo-plugins as it's not the correct repo.

@b-jesch
Copy link
Author

b-jesch commented Sep 26, 2017

The default.py uses function calls from xbmcplugin module and needs a plugin handle to collect and fill in the dynamic list content of the widgets (e.g. gto-widget.xml). These methods are not available outside the xbmcplugin module (Line 432, Line 436). The XMLs itself calls the plugin.service.gto as plugin source (see 7392ea2#diff-c36ccdfca8685c6b90a1160267a423fa Line 38)

I agree this is not a plugin like the classic way but in the end this is a plugin. It provides the content to the skin via plugin mechanism.

@learningit
Copy link
Member

I'm still digesting this and discussing with others, haven't forgotten about it.

@learningit
Copy link
Member

learningit commented Oct 6, 2017

The long and the short of this is you can't extend xbmc.python.script and then put it into the plugin repo. You probably need to break this into both a script and a plugin if you want to take this approach. I'm closing this PR as it definitely doesn't belong in the repo-plugins repo.

@learningit learningit closed this Oct 6, 2017
@b-jesch b-jesch deleted the krypton branch October 9, 2017 13:57
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.

None yet

2 participants