{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/comments/113867897","pull_request_review_id":35292095,"id":113867897,"diff_hunk":"@@ -0,0 +1,21 @@\n+<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n+<addon id=\"service.onmute\" version=\"0.0.1\" name=\"OnMute\" provider-name=\"Lunatixz\">\n+    <requires>\n+        <import addon=\"xbmc.python\" version=\"2.25.0\"/>\n+        <import addon=\"script.module.simplejson\" version=\"3.3.0\"/>","path":"service.onmute/addon.xml","position":null,"original_position":5,"commit_id":"1083c7b047cccd108492a0bdeb54181eb2c91159","original_commit_id":"4c057bcfafb3ab4e5ecf538210d382d7d7d07ad2","user":{"login":"Tadly","id":503647,"avatar_url":"https://avatars3.githubusercontent.com/u/503647?v=3","gravatar_id":"","url":"https://api.github.com/users/Tadly","html_url":"https://github.com/Tadly","followers_url":"https://api.github.com/users/Tadly/followers","following_url":"https://api.github.com/users/Tadly/following{/other_user}","gists_url":"https://api.github.com/users/Tadly/gists{/gist_id}","starred_url":"https://api.github.com/users/Tadly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tadly/subscriptions","organizations_url":"https://api.github.com/users/Tadly/orgs","repos_url":"https://api.github.com/users/Tadly/repos","events_url":"https://api.github.com/users/Tadly/events{/privacy}","received_events_url":"https://api.github.com/users/Tadly/received_events","type":"User","site_admin":false},"body":"afaik json **is** simplejson and json is packed with pythons stdlibs.\r\nsimplejson however is updated more frequently and apparently way faster, so unless you really need speed (at which point cjson might by of interest too), just stick with pythons default json module.\r\n\r\nYou might see things like...\r\n```\r\ntry:\r\n    import simplejson as json\r\nexcept ImportError:\r\n    import json\r\n```\r\n...where they basically use simplejson if available but fall back to json in case it isn't.\r\nAgain, unless you **know** you need the benefits of simplejson, there's no real reason to use it","created_at":"2017-04-28T07:19:44Z","updated_at":"2017-04-28T07:19:44Z","html_url":"https://github.com/xbmc/repo-scripts/pull/492#discussion_r113867897","pull_request_url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492","_links":{"self":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/comments/113867897"},"html":{"href":"https://github.com/xbmc/repo-scripts/pull/492#discussion_r113867897"},"pull_request":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492","id":117312588,"html_url":"https://github.com/xbmc/repo-scripts/pull/492","diff_url":"https://github.com/xbmc/repo-scripts/pull/492.diff","patch_url":"https://github.com/xbmc/repo-scripts/pull/492.patch","issue_url":"https://api.github.com/repos/xbmc/repo-scripts/issues/492","number":492,"state":"open","locked":false,"title":"[service.onmute] 0.0.1","user":{"login":"Lunatixz","id":128316,"avatar_url":"https://avatars1.githubusercontent.com/u/128316?v=3","gravatar_id":"","url":"https://api.github.com/users/Lunatixz","html_url":"https://github.com/Lunatixz","followers_url":"https://api.github.com/users/Lunatixz/followers","following_url":"https://api.github.com/users/Lunatixz/following{/other_user}","gists_url":"https://api.github.com/users/Lunatixz/gists{/gist_id}","starred_url":"https://api.github.com/users/Lunatixz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lunatixz/subscriptions","organizations_url":"https://api.github.com/users/Lunatixz/orgs","repos_url":"https://api.github.com/users/Lunatixz/repos","events_url":"https://api.github.com/users/Lunatixz/events{/privacy}","received_events_url":"https://api.github.com/users/Lunatixz/received_events","type":"User","site_admin":false},"body":"Enable closed captioning and subtitles \"OnMute\".\r\n\r\n### Description\r\n<!--- Provide a short summary of submitted add-on in case it's a new addition. -->\r\n<!--- If it's plugin update only highlight biggest changes if needed. -->\r\n<!--- Make sure you follow the checklist below before finalising your pull-request. -->\r\n### Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply like this: [X] -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the [add-on rules](http://kodi.wiki/view/Add-on_rules) and [piracy stance](http://kodi.wiki/view/Official:Forum_rules#Piracy_Policy) of this project. \r\n- [x] I have read the [CONTRIBUTING](https://github.com/xbmc/repo-scripts/blob/master/CONTRIBUTING.md) document\r\n- [x] Each add-on submission should be a single commit with using the following style: [script.foo.bar] v1.0.0\r\n\r\nAdditional information :\r\n- 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.\r\n- [add-on development](http://kodi.wiki/view/Add-on_development) wiki page.\r\n- Kodi [pydocs](http://kodi.wiki/view/PyDocs) provide information about the Python API\r\n- [PEP8](https://www.python.org/dev/peps/pep-0008/) codingstyle which is considered best practise but not mandatory.\r\n- 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](https://www.codacy.com/app/Kodi/repo-scripts/dashboard). You can create your own account as well to continuously monitor your python coding before submitting to repo.\r\n- Development questions can be asked in the [add-on development](http://forum.kodi.tv/forumdisplay.php?fid=26) section on the Kodi forum.\r\n","created_at":"2017-04-24T17:02:55Z","updated_at":"2017-04-28T07:19:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0bb4653d145133d3851787535793154d69c839c1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492/commits","review_comments_url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492/comments","review_comment_url":"https://api.github.com/repos/xbmc/repo-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/repo-scripts/issues/492/comments","statuses_url":"https://api.github.com/repos/xbmc/repo-scripts/statuses/1083c7b047cccd108492a0bdeb54181eb2c91159","head":{"label":"Lunatixz:service.onmute","ref":"service.onmute","sha":"1083c7b047cccd108492a0bdeb54181eb2c91159","user":{"login":"Lunatixz","id":128316,"avatar_url":"https://avatars1.githubusercontent.com/u/128316?v=3","gravatar_id":"","url":"https://api.github.com/users/Lunatixz","html_url":"https://github.com/Lunatixz","followers_url":"https://api.github.com/users/Lunatixz/followers","following_url":"https://api.github.com/users/Lunatixz/following{/other_user}","gists_url":"https://api.github.com/users/Lunatixz/gists{/gist_id}","starred_url":"https://api.github.com/users/Lunatixz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lunatixz/subscriptions","organizations_url":"https://api.github.com/users/Lunatixz/orgs","repos_url":"https://api.github.com/users/Lunatixz/repos","events_url":"https://api.github.com/users/Lunatixz/events{/privacy}","received_events_url":"https://api.github.com/users/Lunatixz/received_events","type":"User","site_admin":false},"repo":{"id":89265608,"name":"repo-scripts","full_name":"Lunatixz/repo-scripts","owner":{"login":"Lunatixz","id":128316,"avatar_url":"https://avatars1.githubusercontent.com/u/128316?v=3","gravatar_id":"","url":"https://api.github.com/users/Lunatixz","html_url":"https://github.com/Lunatixz","followers_url":"https://api.github.com/users/Lunatixz/followers","following_url":"https://api.github.com/users/Lunatixz/following{/other_user}","gists_url":"https://api.github.com/users/Lunatixz/gists{/gist_id}","starred_url":"https://api.github.com/users/Lunatixz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lunatixz/subscriptions","organizations_url":"https://api.github.com/users/Lunatixz/orgs","repos_url":"https://api.github.com/users/Lunatixz/repos","events_url":"https://api.github.com/users/Lunatixz/events{/privacy}","received_events_url":"https://api.github.com/users/Lunatixz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lunatixz/repo-scripts","description":"Official source repository for Kodi script add-ons","fork":true,"url":"https://api.github.com/repos/Lunatixz/repo-scripts","forks_url":"https://api.github.com/repos/Lunatixz/repo-scripts/forks","keys_url":"https://api.github.com/repos/Lunatixz/repo-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lunatixz/repo-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lunatixz/repo-scripts/teams","hooks_url":"https://api.github.com/repos/Lunatixz/repo-scripts/hooks","issue_events_url":"https://api.github.com/repos/Lunatixz/repo-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/Lunatixz/repo-scripts/events","assignees_url":"https://api.github.com/repos/Lunatixz/repo-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/Lunatixz/repo-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/Lunatixz/repo-scripts/tags","blobs_url":"https://api.github.com/repos/Lunatixz/repo-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lunatixz/repo-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lunatixz/repo-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lunatixz/repo-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lunatixz/repo-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/Lunatixz/repo-scripts/languages","stargazers_url":"https://api.github.com/repos/Lunatixz/repo-scripts/stargazers","contributors_url":"https://api.github.com/repos/Lunatixz/repo-scripts/contributors","subscribers_url":"https://api.github.com/repos/Lunatixz/repo-scripts/subscribers","subscription_url":"https://api.github.com/repos/Lunatixz/repo-scripts/subscription","commits_url":"https://api.github.com/repos/Lunatixz/repo-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lunatixz/repo-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lunatixz/repo-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lunatixz/repo-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lunatixz/repo-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/Lunatixz/repo-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lunatixz/repo-scripts/merges","archive_url":"https://api.github.com/repos/Lunatixz/repo-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lunatixz/repo-scripts/downloads","issues_url":"https://api.github.com/repos/Lunatixz/repo-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/Lunatixz/repo-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/Lunatixz/repo-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/Lunatixz/repo-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lunatixz/repo-scripts/labels{/name}","releases_url":"https://api.github.com/repos/Lunatixz/repo-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/Lunatixz/repo-scripts/deployments","created_at":"2017-04-24T16:57:45Z","updated_at":"2017-04-23T21:01:33Z","pushed_at":"2017-04-28T00:36:35Z","git_url":"git://github.com/Lunatixz/repo-scripts.git","ssh_url":"git@github.com:Lunatixz/repo-scripts.git","clone_url":"https://github.com/Lunatixz/repo-scripts.git","svn_url":"https://github.com/Lunatixz/repo-scripts","homepage":"","size":228252,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"xbmc:krypton","ref":"krypton","sha":"d9b1ab009515688fe7e6391f11e4ef625dff48c9","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars1.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"repo":{"id":25119390,"name":"repo-scripts","full_name":"xbmc/repo-scripts","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars1.githubusercontent.com/u/199122?v=3","gravatar_id":"","url":"https://api.github.com/users/xbmc","html_url":"https://github.com/xbmc","followers_url":"https://api.github.com/users/xbmc/followers","following_url":"https://api.github.com/users/xbmc/following{/other_user}","gists_url":"https://api.github.com/users/xbmc/gists{/gist_id}","starred_url":"https://api.github.com/users/xbmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xbmc/subscriptions","organizations_url":"https://api.github.com/users/xbmc/orgs","repos_url":"https://api.github.com/users/xbmc/repos","events_url":"https://api.github.com/users/xbmc/events{/privacy}","received_events_url":"https://api.github.com/users/xbmc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xbmc/repo-scripts","description":"Official source repository for Kodi script add-ons","fork":false,"url":"https://api.github.com/repos/xbmc/repo-scripts","forks_url":"https://api.github.com/repos/xbmc/repo-scripts/forks","keys_url":"https://api.github.com/repos/xbmc/repo-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/repo-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/repo-scripts/teams","hooks_url":"https://api.github.com/repos/xbmc/repo-scripts/hooks","issue_events_url":"https://api.github.com/repos/xbmc/repo-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/repo-scripts/events","assignees_url":"https://api.github.com/repos/xbmc/repo-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/repo-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/repo-scripts/tags","blobs_url":"https://api.github.com/repos/xbmc/repo-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/repo-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/repo-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/repo-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/repo-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/repo-scripts/languages","stargazers_url":"https://api.github.com/repos/xbmc/repo-scripts/stargazers","contributors_url":"https://api.github.com/repos/xbmc/repo-scripts/contributors","subscribers_url":"https://api.github.com/repos/xbmc/repo-scripts/subscribers","subscription_url":"https://api.github.com/repos/xbmc/repo-scripts/subscription","commits_url":"https://api.github.com/repos/xbmc/repo-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/repo-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/repo-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/repo-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/repo-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/repo-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/repo-scripts/merges","archive_url":"https://api.github.com/repos/xbmc/repo-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/repo-scripts/downloads","issues_url":"https://api.github.com/repos/xbmc/repo-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/repo-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/repo-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/repo-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/repo-scripts/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/repo-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/repo-scripts/deployments","created_at":"2014-10-12T12:57:15Z","updated_at":"2017-04-23T21:01:33Z","pushed_at":"2017-04-28T00:36:37Z","git_url":"git://github.com/xbmc/repo-scripts.git","ssh_url":"git@github.com:xbmc/repo-scripts.git","clone_url":"https://github.com/xbmc/repo-scripts.git","svn_url":"https://github.com/xbmc/repo-scripts","homepage":"","size":228158,"stargazers_count":17,"watchers_count":17,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":104,"mirror_url":null,"open_issues_count":6,"forks":104,"open_issues":6,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492"},"html":{"href":"https://github.com/xbmc/repo-scripts/pull/492"},"issue":{"href":"https://api.github.com/repos/xbmc/repo-scripts/issues/492"},"comments":{"href":"https://api.github.com/repos/xbmc/repo-scripts/issues/492/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/repo-scripts/pulls/492/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/repo-scripts/statuses/1083c7b047cccd108492a0bdeb54181eb2c91159"}}}}
{"actor":{"display_login":"Tadly"}}