{"action":"created","comment":{"url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/comments/81753015","pull_request_review_id":2708514,"id":81753015,"diff_hunk":"@@ -0,0 +1,44 @@\n+import sys\n+import routing\n+from api import API\n+from xbmc import Player, sleep, translatePath, getCondVisibility\n+from xbmcgui import getCurrentWindowDialogId\n+from xbmcaddon import Addon\n+from player import PlayerWindow\n+\n+ADDON = Addon()\n+ADDON_HANDLE = int(sys.argv[1])\n+ADDON_ID = ADDON.getAddonInfo('id')\n+ADDON_NAME = ADDON.getAddonInfo('name')\n+ADDON_DATA_FOLDER = translatePath(ADDON.getAddonInfo('profile')).decode('utf-8')\n+PLUGIN = routing.Plugin()\n+\n+\n+@PLUGIN.route('/')\n+def index():\n+    \"\"\"\n+    Main add-on popup\n+    :return:\n+    \"\"\"\n+    player_window = PlayerWindow()\n+    api = API()\n+\n+    # stop player if track is not part of this addon:\n+    if Player().isPlaying() and '.100fm.' not in Player().getPlayingFile():","path":"plugin.audio.100fm/addon.py","position":27,"original_position":27,"commit_id":"409279d20eec444fe05453bebdf8cb5ef0f39c51","original_commit_id":"409279d20eec444fe05453bebdf8cb5ef0f39c51","user":{"login":"phil65","id":110931,"avatar_url":"https://avatars.githubusercontent.com/u/110931?v=3","gravatar_id":"","url":"https://api.github.com/users/phil65","html_url":"https://github.com/phil65","followers_url":"https://api.github.com/users/phil65/followers","following_url":"https://api.github.com/users/phil65/following{/other_user}","gists_url":"https://api.github.com/users/phil65/gists{/gist_id}","starred_url":"https://api.github.com/users/phil65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil65/subscriptions","organizations_url":"https://api.github.com/users/phil65/orgs","repos_url":"https://api.github.com/users/phil65/repos","events_url":"https://api.github.com/users/phil65/events{/privacy}","received_events_url":"https://api.github.com/users/phil65/received_events","type":"User","site_admin":false},"body":"yeah but why stop audio if someone opens the plugin?","created_at":"2016-10-04T13:14:48Z","updated_at":"2016-10-04T13:14:48Z","html_url":"https://github.com/xbmc/repo-plugins/pull/688#discussion_r81753015","pull_request_url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688","_links":{"self":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/comments/81753015"},"html":{"href":"https://github.com/xbmc/repo-plugins/pull/688#discussion_r81753015"},"pull_request":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688"}}},"pull_request":{"url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688","id":87845623,"html_url":"https://github.com/xbmc/repo-plugins/pull/688","diff_url":"https://github.com/xbmc/repo-plugins/pull/688.diff","patch_url":"https://github.com/xbmc/repo-plugins/pull/688.patch","issue_url":"https://api.github.com/repos/xbmc/repo-plugins/issues/688","number":688,"state":"open","locked":false,"title":"plugin.audio.100fm v0.2.0","user":{"login":"nire0510","id":3891695,"avatar_url":"https://avatars.githubusercontent.com/u/3891695?v=3","gravatar_id":"","url":"https://api.github.com/users/nire0510","html_url":"https://github.com/nire0510","followers_url":"https://api.github.com/users/nire0510/followers","following_url":"https://api.github.com/users/nire0510/following{/other_user}","gists_url":"https://api.github.com/users/nire0510/gists{/gist_id}","starred_url":"https://api.github.com/users/nire0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nire0510/subscriptions","organizations_url":"https://api.github.com/users/nire0510/orgs","repos_url":"https://api.github.com/users/nire0510/repos","events_url":"https://api.github.com/users/nire0510/events{/privacy}","received_events_url":"https://api.github.com/users/nire0510/received_events","type":"User","site_admin":false},"body":"### Description\r\nplugin.audio.100fm\r\nOfficial Kodi add-on of 100FM Radius radio station (Israel).\r\nThe add-on offers live listening to dozens different musical genres: 80's, 90's, Rock, Pop, Oldies and many more.\r\n\r\n### Checklist:\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-plugins/blob/master/CONTRIBUTING.md) document\r\n- [X] Each add-on submission should be a single commit with using the following style: [plugin.video.foo] v1.0.0\r\n\r\nAddtional 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-plugins/dashboard). You can create your own account as well to continuesly 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.","created_at":"2016-10-04T07:39:37Z","updated_at":"2016-10-04T13:14:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e06294ad67deb092b83f1e9ed113b35e591e7955","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688/commits","review_comments_url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688/comments","review_comment_url":"https://api.github.com/repos/xbmc/repo-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xbmc/repo-plugins/issues/688/comments","statuses_url":"https://api.github.com/repos/xbmc/repo-plugins/statuses/409279d20eec444fe05453bebdf8cb5ef0f39c51","head":{"label":"nire0510:jarvis","ref":"jarvis","sha":"409279d20eec444fe05453bebdf8cb5ef0f39c51","user":{"login":"nire0510","id":3891695,"avatar_url":"https://avatars.githubusercontent.com/u/3891695?v=3","gravatar_id":"","url":"https://api.github.com/users/nire0510","html_url":"https://github.com/nire0510","followers_url":"https://api.github.com/users/nire0510/followers","following_url":"https://api.github.com/users/nire0510/following{/other_user}","gists_url":"https://api.github.com/users/nire0510/gists{/gist_id}","starred_url":"https://api.github.com/users/nire0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nire0510/subscriptions","organizations_url":"https://api.github.com/users/nire0510/orgs","repos_url":"https://api.github.com/users/nire0510/repos","events_url":"https://api.github.com/users/nire0510/events{/privacy}","received_events_url":"https://api.github.com/users/nire0510/received_events","type":"User","site_admin":false},"repo":{"id":69943049,"name":"repo-plugins","full_name":"nire0510/repo-plugins","owner":{"login":"nire0510","id":3891695,"avatar_url":"https://avatars.githubusercontent.com/u/3891695?v=3","gravatar_id":"","url":"https://api.github.com/users/nire0510","html_url":"https://github.com/nire0510","followers_url":"https://api.github.com/users/nire0510/followers","following_url":"https://api.github.com/users/nire0510/following{/other_user}","gists_url":"https://api.github.com/users/nire0510/gists{/gist_id}","starred_url":"https://api.github.com/users/nire0510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nire0510/subscriptions","organizations_url":"https://api.github.com/users/nire0510/orgs","repos_url":"https://api.github.com/users/nire0510/repos","events_url":"https://api.github.com/users/nire0510/events{/privacy}","received_events_url":"https://api.github.com/users/nire0510/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nire0510/repo-plugins","description":"Official source repository for Kodi plugin add-ons","fork":true,"url":"https://api.github.com/repos/nire0510/repo-plugins","forks_url":"https://api.github.com/repos/nire0510/repo-plugins/forks","keys_url":"https://api.github.com/repos/nire0510/repo-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nire0510/repo-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nire0510/repo-plugins/teams","hooks_url":"https://api.github.com/repos/nire0510/repo-plugins/hooks","issue_events_url":"https://api.github.com/repos/nire0510/repo-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/nire0510/repo-plugins/events","assignees_url":"https://api.github.com/repos/nire0510/repo-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/nire0510/repo-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/nire0510/repo-plugins/tags","blobs_url":"https://api.github.com/repos/nire0510/repo-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nire0510/repo-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nire0510/repo-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/nire0510/repo-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nire0510/repo-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/nire0510/repo-plugins/languages","stargazers_url":"https://api.github.com/repos/nire0510/repo-plugins/stargazers","contributors_url":"https://api.github.com/repos/nire0510/repo-plugins/contributors","subscribers_url":"https://api.github.com/repos/nire0510/repo-plugins/subscribers","subscription_url":"https://api.github.com/repos/nire0510/repo-plugins/subscription","commits_url":"https://api.github.com/repos/nire0510/repo-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/nire0510/repo-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/nire0510/repo-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/nire0510/repo-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/nire0510/repo-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/nire0510/repo-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nire0510/repo-plugins/merges","archive_url":"https://api.github.com/repos/nire0510/repo-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nire0510/repo-plugins/downloads","issues_url":"https://api.github.com/repos/nire0510/repo-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/nire0510/repo-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/nire0510/repo-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/nire0510/repo-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nire0510/repo-plugins/labels{/name}","releases_url":"https://api.github.com/repos/nire0510/repo-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/nire0510/repo-plugins/deployments","created_at":"2016-10-04T07:32:30Z","updated_at":"2016-09-16T22:16:42Z","pushed_at":"2016-10-04T07:37:09Z","git_url":"git://github.com/nire0510/repo-plugins.git","ssh_url":"git@github.com:nire0510/repo-plugins.git","clone_url":"https://github.com/nire0510/repo-plugins.git","svn_url":"https://github.com/nire0510/repo-plugins","homepage":"","size":330335,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"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:jarvis","ref":"jarvis","sha":"60121eef3e6eb73f0e5eeae25d788b5c09efc372","user":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.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":25118538,"name":"repo-plugins","full_name":"xbmc/repo-plugins","owner":{"login":"xbmc","id":199122,"avatar_url":"https://avatars.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-plugins","description":"Official source repository for Kodi plugin add-ons","fork":false,"url":"https://api.github.com/repos/xbmc/repo-plugins","forks_url":"https://api.github.com/repos/xbmc/repo-plugins/forks","keys_url":"https://api.github.com/repos/xbmc/repo-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xbmc/repo-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xbmc/repo-plugins/teams","hooks_url":"https://api.github.com/repos/xbmc/repo-plugins/hooks","issue_events_url":"https://api.github.com/repos/xbmc/repo-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/xbmc/repo-plugins/events","assignees_url":"https://api.github.com/repos/xbmc/repo-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/xbmc/repo-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/xbmc/repo-plugins/tags","blobs_url":"https://api.github.com/repos/xbmc/repo-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xbmc/repo-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xbmc/repo-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/xbmc/repo-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xbmc/repo-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/xbmc/repo-plugins/languages","stargazers_url":"https://api.github.com/repos/xbmc/repo-plugins/stargazers","contributors_url":"https://api.github.com/repos/xbmc/repo-plugins/contributors","subscribers_url":"https://api.github.com/repos/xbmc/repo-plugins/subscribers","subscription_url":"https://api.github.com/repos/xbmc/repo-plugins/subscription","commits_url":"https://api.github.com/repos/xbmc/repo-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/xbmc/repo-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/xbmc/repo-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/xbmc/repo-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/xbmc/repo-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/xbmc/repo-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xbmc/repo-plugins/merges","archive_url":"https://api.github.com/repos/xbmc/repo-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xbmc/repo-plugins/downloads","issues_url":"https://api.github.com/repos/xbmc/repo-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/xbmc/repo-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/xbmc/repo-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/xbmc/repo-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xbmc/repo-plugins/labels{/name}","releases_url":"https://api.github.com/repos/xbmc/repo-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/xbmc/repo-plugins/deployments","created_at":"2014-10-12T12:17:54Z","updated_at":"2016-09-16T22:16:42Z","pushed_at":"2016-10-04T07:57:37Z","git_url":"git://github.com/xbmc/repo-plugins.git","ssh_url":"git@github.com:xbmc/repo-plugins.git","clone_url":"https://github.com/xbmc/repo-plugins.git","svn_url":"https://github.com/xbmc/repo-plugins","homepage":"","size":349802,"stargazers_count":20,"watchers_count":20,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":4,"forks":103,"open_issues":4,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688"},"html":{"href":"https://github.com/xbmc/repo-plugins/pull/688"},"issue":{"href":"https://api.github.com/repos/xbmc/repo-plugins/issues/688"},"comments":{"href":"https://api.github.com/repos/xbmc/repo-plugins/issues/688/comments"},"review_comments":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688/comments"},"review_comment":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xbmc/repo-plugins/pulls/688/commits"},"statuses":{"href":"https://api.github.com/repos/xbmc/repo-plugins/statuses/409279d20eec444fe05453bebdf8cb5ef0f39c51"}}}}
{"actor":{"display_login":"phil65"}}