{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/91587246","pull_request_review_id":12095142,"id":91587246,"diff_hunk":"@@ -333,6 +338,53 @@ public void statusUpdateReceived(EventObject event, String ip, String data) {\n                         int inputZone2 = Integer.parseInt(data.substring(3, 5), 16);\n                         updateState(CHANNEL_INPUTZONE2, new DecimalType(inputZone2));\n                         break;\n+                    case NETUSB_MENU0:\n+                        updateState(CHANNEL_NET_MENU0, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU1:\n+                        updateState(CHANNEL_NET_MENU1, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU2:\n+                        updateState(CHANNEL_NET_MENU2, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU3:\n+                        updateState(CHANNEL_NET_MENU3, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU4:\n+                        updateState(CHANNEL_NET_MENU4, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU5:\n+                        updateState(CHANNEL_NET_MENU5, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU6:\n+                        updateState(CHANNEL_NET_MENU6, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU7:\n+                        updateState(CHANNEL_NET_MENU7, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU8:\n+                        updateState(CHANNEL_NET_MENU8, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU9:\n+                        updateState(CHANNEL_NET_MENU9, new StringType(data.substring(6)));\n+                        break;\n+                    case NETUSB_MENU_POSITION:\n+                        String txt = data.substring(4);\n+                        int pos = -1;\n+                        try {\n+                            pos = Integer.parseInt(txt.substring(0, 1));\n+                        } catch (NumberFormatException nfe) {\n+                            // pos already is -1\n+                        }\n+\n+                        logger.debug(\"Updating menu \" + txt.charAt(1) + \" : \" + pos);","path":"addons/binding/org.openhab.binding.onkyo/src/main/java/org/openhab/binding/onkyo/handler/OnkyoHandler.java","position":57,"original_position":57,"commit_id":"a96d3e0e2cecde47c32253c5cee81179088aa2ec","original_commit_id":"a96d3e0e2cecde47c32253c5cee81179088aa2ec","user":{"login":"pail23","id":13279715,"avatar_url":"https://avatars.githubusercontent.com/u/13279715?v=3","gravatar_id":"","url":"https://api.github.com/users/pail23","html_url":"https://github.com/pail23","followers_url":"https://api.github.com/users/pail23/followers","following_url":"https://api.github.com/users/pail23/following{/other_user}","gists_url":"https://api.github.com/users/pail23/gists{/gist_id}","starred_url":"https://api.github.com/users/pail23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pail23/subscriptions","organizations_url":"https://api.github.com/users/pail23/orgs","repos_url":"https://api.github.com/users/pail23/repos","events_url":"https://api.github.com/users/pail23/events{/privacy}","received_events_url":"https://api.github.com/users/pail23/received_events","type":"User","site_admin":false},"body":"You should use parameterized logging (e.g. see below on line 389)","created_at":"2016-12-08T19:22:28Z","updated_at":"2016-12-08T19:24:49Z","html_url":"https://github.com/openhab/openhab2-addons/pull/1539#discussion_r91587246","pull_request_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments/91587246"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/1539#discussion_r91587246"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539","id":96930186,"html_url":"https://github.com/openhab/openhab2-addons/pull/1539","diff_url":"https://github.com/openhab/openhab2-addons/pull/1539.diff","patch_url":"https://github.com/openhab/openhab2-addons/pull/1539.patch","issue_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1539","number":1539,"state":"open","locked":false,"title":"onkyo-binding: support for USB/Net menu","user":{"login":"vbier","id":22752389,"avatar_url":"https://avatars.githubusercontent.com/u/22752389?v=3","gravatar_id":"","url":"https://api.github.com/users/vbier","html_url":"https://github.com/vbier","followers_url":"https://api.github.com/users/vbier/followers","following_url":"https://api.github.com/users/vbier/following{/other_user}","gists_url":"https://api.github.com/users/vbier/gists{/gist_id}","starred_url":"https://api.github.com/users/vbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbier/subscriptions","organizations_url":"https://api.github.com/users/vbier/orgs","repos_url":"https://api.github.com/users/vbier/repos","events_url":"https://api.github.com/users/vbier/events{/privacy}","received_events_url":"https://api.github.com/users/vbier/received_events","type":"User","site_admin":false},"body":"This adds display and navigation of the USB/Net menu.\r\n\r\nSigned-off-by: Volker Bier <volker.bier@web.de>","created_at":"2016-12-07T14:11:08Z","updated_at":"2016-12-08T19:24:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"acbb7a50a098ff4be96e67d44b02f3414311dde3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/1539/comments","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/a96d3e0e2cecde47c32253c5cee81179088aa2ec","head":{"label":"vbier:onkyoUsbNetMenu","ref":"onkyoUsbNetMenu","sha":"a96d3e0e2cecde47c32253c5cee81179088aa2ec","user":{"login":"vbier","id":22752389,"avatar_url":"https://avatars.githubusercontent.com/u/22752389?v=3","gravatar_id":"","url":"https://api.github.com/users/vbier","html_url":"https://github.com/vbier","followers_url":"https://api.github.com/users/vbier/followers","following_url":"https://api.github.com/users/vbier/following{/other_user}","gists_url":"https://api.github.com/users/vbier/gists{/gist_id}","starred_url":"https://api.github.com/users/vbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbier/subscriptions","organizations_url":"https://api.github.com/users/vbier/orgs","repos_url":"https://api.github.com/users/vbier/repos","events_url":"https://api.github.com/users/vbier/events{/privacy}","received_events_url":"https://api.github.com/users/vbier/received_events","type":"User","site_admin":false},"repo":{"id":70514010,"name":"openhab2-addons","full_name":"vbier/openhab2-addons","owner":{"login":"vbier","id":22752389,"avatar_url":"https://avatars.githubusercontent.com/u/22752389?v=3","gravatar_id":"","url":"https://api.github.com/users/vbier","html_url":"https://github.com/vbier","followers_url":"https://api.github.com/users/vbier/followers","following_url":"https://api.github.com/users/vbier/following{/other_user}","gists_url":"https://api.github.com/users/vbier/gists{/gist_id}","starred_url":"https://api.github.com/users/vbier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbier/subscriptions","organizations_url":"https://api.github.com/users/vbier/orgs","repos_url":"https://api.github.com/users/vbier/repos","events_url":"https://api.github.com/users/vbier/events{/privacy}","received_events_url":"https://api.github.com/users/vbier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vbier/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":true,"url":"https://api.github.com/repos/vbier/openhab2-addons","forks_url":"https://api.github.com/repos/vbier/openhab2-addons/forks","keys_url":"https://api.github.com/repos/vbier/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vbier/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vbier/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/vbier/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/vbier/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/vbier/openhab2-addons/events","assignees_url":"https://api.github.com/repos/vbier/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/vbier/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/vbier/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/vbier/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vbier/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vbier/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/vbier/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vbier/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/vbier/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/vbier/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/vbier/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/vbier/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/vbier/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/vbier/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/vbier/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/vbier/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/vbier/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/vbier/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/vbier/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vbier/openhab2-addons/merges","archive_url":"https://api.github.com/repos/vbier/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vbier/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/vbier/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/vbier/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/vbier/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/vbier/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vbier/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/vbier/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/vbier/openhab2-addons/deployments","created_at":"2016-10-10T17:52:44Z","updated_at":"2016-11-19T14:21:36Z","pushed_at":"2016-12-07T14:32:55Z","git_url":"git://github.com/vbier/openhab2-addons.git","ssh_url":"git@github.com:vbier/openhab2-addons.git","clone_url":"https://github.com/vbier/openhab2-addons.git","svn_url":"https://github.com/vbier/openhab2-addons","homepage":null,"size":54582,"stargazers_count":1,"watchers_count":1,"language":"Java","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":1,"default_branch":"master"}},"base":{"label":"openhab:master","ref":"master","sha":"0dd34111259c73687b257bbc16eb486d77d603c1","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":19753195,"name":"openhab2-addons","full_name":"openhab/openhab2-addons","owner":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab2-addons","description":"The next-generation open Home Automation Bus (openHAB)","fork":false,"url":"https://api.github.com/repos/openhab/openhab2-addons","forks_url":"https://api.github.com/repos/openhab/openhab2-addons/forks","keys_url":"https://api.github.com/repos/openhab/openhab2-addons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab2-addons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab2-addons/teams","hooks_url":"https://api.github.com/repos/openhab/openhab2-addons/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab2-addons/events","assignees_url":"https://api.github.com/repos/openhab/openhab2-addons/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab2-addons/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab2-addons/tags","blobs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab2-addons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab2-addons/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab2-addons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab2-addons/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab2-addons/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab2-addons/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab2-addons/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab2-addons/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab2-addons/subscription","commits_url":"https://api.github.com/repos/openhab/openhab2-addons/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab2-addons/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab2-addons/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab2-addons/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab2-addons/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab2-addons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab2-addons/merges","archive_url":"https://api.github.com/repos/openhab/openhab2-addons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab2-addons/downloads","issues_url":"https://api.github.com/repos/openhab/openhab2-addons/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab2-addons/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab2-addons/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab2-addons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab2-addons/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab2-addons/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab2-addons/deployments","created_at":"2014-05-13T19:41:58Z","updated_at":"2016-12-07T23:03:44Z","pushed_at":"2016-12-08T18:28:10Z","git_url":"git://github.com/openhab/openhab2-addons.git","ssh_url":"git@github.com:openhab/openhab2-addons.git","clone_url":"https://github.com/openhab/openhab2-addons.git","svn_url":"https://github.com/openhab/openhab2-addons","homepage":null,"size":203749,"stargazers_count":442,"watchers_count":442,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":715,"mirror_url":null,"open_issues_count":162,"forks":715,"open_issues":162,"watchers":442,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539"},"html":{"href":"https://github.com/openhab/openhab2-addons/pull/1539"},"issue":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/1539"},"comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/issues/1539/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab2-addons/pulls/1539/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab2-addons/statuses/a96d3e0e2cecde47c32253c5cee81179088aa2ec"}}}}
{"actor":{"display_login":"pail23"}}