{"action":"created","issue":{"url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/12","repository_url":"https://api.github.com/repos/flesniak/python-prodj-link","labels_url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/12/comments","events_url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/12/events","html_url":"https://github.com/flesniak/python-prodj-link/issues/12","id":378146091,"node_id":"MDU6SXNzdWUzNzgxNDYwOTE=","number":12,"title":"Strange behavior when DJM-2000 nexus is on network","user":{"login":"brunchboy","id":2228869,"node_id":"MDQ6VXNlcjIyMjg4Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/2228869?v=4","gravatar_id":"","url":"https://api.github.com/users/brunchboy","html_url":"https://github.com/brunchboy","followers_url":"https://api.github.com/users/brunchboy/followers","following_url":"https://api.github.com/users/brunchboy/following{/other_user}","gists_url":"https://api.github.com/users/brunchboy/gists{/gist_id}","starred_url":"https://api.github.com/users/brunchboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunchboy/subscriptions","organizations_url":"https://api.github.com/users/brunchboy/orgs","repos_url":"https://api.github.com/users/brunchboy/repos","events_url":"https://api.github.com/users/brunchboy/events{/privacy}","received_events_url":"https://api.github.com/users/brunchboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-07T05:18:08Z","updated_at":"2018-11-07T09:18:17Z","closed_at":null,"author_association":"NONE","body":"I get a Player box for “Player 33” showing as if it is a CDJ. You probably want to filter out devices whose numbers are greater than 15 to avoid rekordbox laptops and mixers in the GUI, or add special appropriate rendering for them.\r\n\r\nI also see the following stack trace which may be related:\r\n\r\n```\r\nINFO: Gui: Creating player 33\r\nDEBUG: Renderer \"AMD Radeon Pro 560X OpenGL Engine\" OpenGL \"2.1 ATI-1.68.20\"\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.7/site-packages/construct/lib/container.py\", line 90, in __getattr__\r\n    return self[name]\r\nKeyError: 'content'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py\", line 917, in _bootstrap_inner\r\n    self.run()\r\n  File \"/Users/jim/git/python-prodj-link/prodj.py\", line 89, in run\r\n    self.handle_beat_packet(data, addr)\r\n  File \"/Users/jim/git/python-prodj-link/prodj.py\", line 123, in handle_beat_packet\r\n    self.cl.eatBeat(packet)\r\n  File \"/Users/jim/git/python-prodj-link/clientlist.py\", line 112, in eatBeat\r\n    on_air = beat_packet.content.ch_on_air[x-1] == 1\r\n  File \"/usr/local/lib/python3.7/site-packages/construct/lib/container.py\", line 92, in __getattr__\r\n    raise AttributeError(name)\r\nAttributeError: content\r\n```"},"comment":{"url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/comments/436557393","html_url":"https://github.com/flesniak/python-prodj-link/issues/12#issuecomment-436557393","issue_url":"https://api.github.com/repos/flesniak/python-prodj-link/issues/12","id":436557393,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU1NzM5Mw==","user":{"login":"flesniak","id":8115006,"node_id":"MDQ6VXNlcjgxMTUwMDY=","avatar_url":"https://avatars3.githubusercontent.com/u/8115006?v=4","gravatar_id":"","url":"https://api.github.com/users/flesniak","html_url":"https://github.com/flesniak","followers_url":"https://api.github.com/users/flesniak/followers","following_url":"https://api.github.com/users/flesniak/following{/other_user}","gists_url":"https://api.github.com/users/flesniak/gists{/gist_id}","starred_url":"https://api.github.com/users/flesniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flesniak/subscriptions","organizations_url":"https://api.github.com/users/flesniak/orgs","repos_url":"https://api.github.com/users/flesniak/repos","events_url":"https://api.github.com/users/flesniak/events{/privacy}","received_events_url":"https://api.github.com/users/flesniak/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T09:18:17Z","updated_at":"2018-11-07T09:18:17Z","author_association":"OWNER","body":"Regarding the strange layout: Currently, widgets are placed on fixed positions depending on their player number. The layout can be changed by setting gui.layout_mode (gui.py line 369), but I should just improve it to be dynamic. I'll create an issue for that."}}
{"actor":{"display_login":"flesniak"}}