Skip to content

aussieaddons/script.module.githubissuereporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Issue Reporter Module for XBMC

This addon provides an exported module to report issues in your addon to GitHub.

Usage

  • Add <import addon="script.module.githubissuereporter"/> in the <requires> section of your addon's addon XML file
  • Wrap your addon code within a try / raise block
  • Import and configure your IssueReporter somewhere, for example:
from issue_reporter import IssueReporter
issue_reporter = IssueReporter({
    'github_api_url': 'https://api.github.com/repos/myorg/myaddon,
    'addon_name': 'My Addon Name',
    'addon_id': 'plugin.video.myaddon',
    'addon_version': '1.2.3'
})
  • When an exception occurs, use an XBMC dialog to ask the user for consent to report the error, and call issue_reporter.report_issue(traceback) where traceback is the python traceback string.

Projects using this module

About

GitHub Issue Reporter Module for XBMC Addons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages