{"action":"opened","issue":{"url":"https://api.github.com/repos/d8ahazard/Phlex/issues/375","repository_url":"https://api.github.com/repos/d8ahazard/Phlex","labels_url":"https://api.github.com/repos/d8ahazard/Phlex/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/d8ahazard/Phlex/issues/375/comments","events_url":"https://api.github.com/repos/d8ahazard/Phlex/issues/375/events","html_url":"https://github.com/d8ahazard/Phlex/issues/375","id":341285744,"node_id":"MDU6SXNzdWUzNDEyODU3NDQ=","number":375,"title":"FYI ONLY - Flex plays things, but nothing happens","user":{"login":"mattpurnell","id":35792584,"node_id":"MDQ6VXNlcjM1NzkyNTg0","avatar_url":"https://avatars3.githubusercontent.com/u/35792584?v=4","gravatar_id":"","url":"https://api.github.com/users/mattpurnell","html_url":"https://github.com/mattpurnell","followers_url":"https://api.github.com/users/mattpurnell/followers","following_url":"https://api.github.com/users/mattpurnell/following{/other_user}","gists_url":"https://api.github.com/users/mattpurnell/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpurnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpurnell/subscriptions","organizations_url":"https://api.github.com/users/mattpurnell/orgs","repos_url":"https://api.github.com/users/mattpurnell/repos","events_url":"https://api.github.com/users/mattpurnell/events{/privacy}","received_events_url":"https://api.github.com/users/mattpurnell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-15T02:13:14Z","updated_at":"2018-07-15T02:13:14Z","closed_at":null,"author_association":"NONE","body":"Firstly thank you so much for developing these huge holes in Plex development. I know you don't want cast issues created while you are reworking it, so I am just sending this through as an FYI.\r\n\r\n#### 1. On what OS are you running Flex TV?\r\nSynology, docker (your container)\r\nAlso Plex is running as docker (linuxserver/plex )\r\n\r\nI just set it up this AM - but Flex was reporting that it was playing things, while nothing was happening. Looking at the cast logs pulled via Flex, I could see that the error seems pretty straight forward (undefined variables):\r\n\r\n\r\n2018-07-15 13:46:27,935 (7fbc81ffb700) :  CRITICAL (runtime:889) - Exception (most recent call last):\r\n  File \"/usr/lib/plexmediaserver/Resources/Plug-ins-fd05be322/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py\", line 843, in handle_request\r\n    result = f(**d)\r\n  File \"/config/Library/Application Support/Plex Media Server/Plug-ins/Cast.bundle/Contents/Code/__init__.py\", line 289, in Play\r\n    servers = fetch_servers()\r\n  File \"/config/Library/Application Support/Plex Media Server/Plug-ins/Cast.bundle/Contents/Code/__init__.py\", line 674, in fetch_servers\r\n    myurl = 'http://' + url + ':' + port + '/servers?X-Plex-Token=' + token\r\nTypeError: cannot concatenate 'str' and 'NoneType' objects\r\n\r\n...so I just defined the url and port explicitly within the cast plugin (Plex config: /config/Library/Application Support/Plex Media Server/Plug-ins/Cast.bundle/Contents/Code/__init__.py ) and it all works fine.\r\n\r\nIf you want me to do any futher troubleshooting on the deeper cause, let me know. I am up and working fine so no problems at my end :)\r\n\r\nMatt\r\n"}}
{"actor":{"display_login":"mattpurnell"}}