{"action":"closed","issue":{"url":"https://api.github.com/repos/balloob/pychromecast/issues/37","labels_url":"https://api.github.com/repos/balloob/pychromecast/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/balloob/pychromecast/issues/37/comments","events_url":"https://api.github.com/repos/balloob/pychromecast/issues/37/events","html_url":"https://github.com/balloob/pychromecast/issues/37","id":53537079,"number":37,"title":"Error when getting active chromecast","user":{"login":"ecerrillo","id":2815518,"avatar_url":"https://avatars.githubusercontent.com/u/2815518?v=3","gravatar_id":"","url":"https://api.github.com/users/ecerrillo","html_url":"https://github.com/ecerrillo","followers_url":"https://api.github.com/users/ecerrillo/followers","following_url":"https://api.github.com/users/ecerrillo/following{/other_user}","gists_url":"https://api.github.com/users/ecerrillo/gists{/gist_id}","starred_url":"https://api.github.com/users/ecerrillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecerrillo/subscriptions","organizations_url":"https://api.github.com/users/ecerrillo/orgs","repos_url":"https://api.github.com/users/ecerrillo/repos","events_url":"https://api.github.com/users/ecerrillo/events{/privacy}","received_events_url":"https://api.github.com/users/ecerrillo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-06T17:08:35Z","updated_at":"2015-01-07T15:28:25Z","closed_at":"2015-01-07T15:28:25Z","body":"Hi! I'm getting this error every time I try to get the active chromecasts. I worked perfectly in previous versions. Any help?\r\n\r\nPython 2.7.8 (default, Oct 19 2014, 16:02:00) \r\n[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> from __future__ import print_function\r\n>>> import time\r\n>>> import pychromecast\r\n>>> pychromecast.get_chromecasts_as_dict().keys()\r\nException in thread Thread-3:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/lib/python2.7/site-packages/zeroconf.py\", line 1020, in run\r\n    event(self.zc)\r\n  File \"/usr/local/lib/python2.7/site-packages/zeroconf.py\", line 985, in <lambda>\r\n    self.type, record.alias)\r\n  File \"pychromecast/discovery.py\", line 26, in add_service\r\n    self.services[name] = (service.server, service.port)\r\nAttributeError: 'NoneType' object has no attribute 'server'\r\n\r\n[]\r\n>>> cast=pchr.get_chromecast()\r\nException in thread Thread-3:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/local/lib/python2.7/site-packages/zeroconf.py\", line 1020, in run\r\n    event(self.zc)\r\n  File \"/usr/local/lib/python2.7/site-packages/zeroconf.py\", line 985, in <lambda>\r\n    self.type, record.alias)\r\n  File \"pychromecast/discovery.py\", line 26, in add_service\r\n    self.services[name] = (service.server, service.port)\r\nAttributeError: 'NoneType' object has no attribute 'server'\r\n"}}