{"action":"created","issue":{"url":"https://api.github.com/repos/pkkid/python-plexapi/issues/275","repository_url":"https://api.github.com/repos/pkkid/python-plexapi","labels_url":"https://api.github.com/repos/pkkid/python-plexapi/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/pkkid/python-plexapi/issues/275/comments","events_url":"https://api.github.com/repos/pkkid/python-plexapi/issues/275/events","html_url":"https://github.com/pkkid/python-plexapi/issues/275","id":338333035,"node_id":"MDU6SXNzdWUzMzgzMzMwMzU=","number":275,"title":"BadStatusLine trying to changemedia on a TCL Roku smart tv","user":{"login":"mrmyrth","id":40835581,"node_id":"MDQ6VXNlcjQwODM1NTgx","avatar_url":"https://avatars0.githubusercontent.com/u/40835581?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmyrth","html_url":"https://github.com/mrmyrth","followers_url":"https://api.github.com/users/mrmyrth/followers","following_url":"https://api.github.com/users/mrmyrth/following{/other_user}","gists_url":"https://api.github.com/users/mrmyrth/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmyrth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmyrth/subscriptions","organizations_url":"https://api.github.com/users/mrmyrth/orgs","repos_url":"https://api.github.com/users/mrmyrth/repos","events_url":"https://api.github.com/users/mrmyrth/events{/privacy}","received_events_url":"https://api.github.com/users/mrmyrth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-04T16:31:39Z","updated_at":"2018-07-07T14:59:23Z","closed_at":null,"author_association":"NONE","body":"I can make a connection to the server without issue.  Get a list of clients, and media, but once i try to change media it blows up with the below exception output.  Any help would be greatly appreciated.  \r\n\r\n('Connection aborted.', BadStatusLine('HTTP/1.1 0 \\r\\n',)) or ('Connection aborted.', BadStatusLine(\"''\",))\r\n\r\n---code below---\r\ndef change():\r\n    c = client.connect()\r\n    c.proxyThroughServer(True)\r\n    c.sendCommand('timeline/poll', wait=0)\r\n    thechoice = random.choice(items)\r\n\r\n    try:\r\n      c.playMedia(thechoice, timeout=5)\r\n    except Exception as e:\r\n      print(e)\r\n\r\nbaseurl = 'BASEURL'\r\ntoken = 'TOKEN'\r\nplex = PlexServer(baseurl, token)\r\nclient = plex.client(\"TCLRoku TV - YN00GR996523\") #living room\r\nchange()"},"comment":{"url":"https://api.github.com/repos/pkkid/python-plexapi/issues/comments/403221448","html_url":"https://github.com/pkkid/python-plexapi/issues/275#issuecomment-403221448","issue_url":"https://api.github.com/repos/pkkid/python-plexapi/issues/275","id":403221448,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIyMTQ0OA==","user":{"login":"Hellowlol","id":1214134,"node_id":"MDQ6VXNlcjEyMTQxMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1214134?v=4","gravatar_id":"","url":"https://api.github.com/users/Hellowlol","html_url":"https://github.com/Hellowlol","followers_url":"https://api.github.com/users/Hellowlol/followers","following_url":"https://api.github.com/users/Hellowlol/following{/other_user}","gists_url":"https://api.github.com/users/Hellowlol/gists{/gist_id}","starred_url":"https://api.github.com/users/Hellowlol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hellowlol/subscriptions","organizations_url":"https://api.github.com/users/Hellowlol/orgs","repos_url":"https://api.github.com/users/Hellowlol/repos","events_url":"https://api.github.com/users/Hellowlol/events{/privacy}","received_events_url":"https://api.github.com/users/Hellowlol/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T14:59:23Z","updated_at":"2018-07-07T14:59:23Z","author_association":"COLLABORATOR","body":"I ment the plexapi log file"}}
{"actor":{"display_login":"Hellowlol"}}