{"action":"created","issue":{"url":"https://api.github.com/repos/erengy/taiga/issues/115","labels_url":"https://api.github.com/repos/erengy/taiga/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/erengy/taiga/issues/115/comments","events_url":"https://api.github.com/repos/erengy/taiga/issues/115/events","html_url":"https://github.com/erengy/taiga/issues/115","id":73176138,"number":115,"title":"Plex Home Theater support","user":{"login":"chikorita157","id":161183,"avatar_url":"https://avatars.githubusercontent.com/u/161183?v=3","gravatar_id":"","url":"https://api.github.com/users/chikorita157","html_url":"https://github.com/chikorita157","followers_url":"https://api.github.com/users/chikorita157/followers","following_url":"https://api.github.com/users/chikorita157/following{/other_user}","gists_url":"https://api.github.com/users/chikorita157/gists{/gist_id}","starred_url":"https://api.github.com/users/chikorita157/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikorita157/subscriptions","organizations_url":"https://api.github.com/users/chikorita157/orgs","repos_url":"https://api.github.com/users/chikorita157/repos","events_url":"https://api.github.com/users/chikorita157/events{/privacy}","received_events_url":"https://api.github.com/users/chikorita157/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/erengy/taiga/labels/feature%20request","name":"feature request","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-05T01:41:51Z","updated_at":"2016-01-13T02:09:31Z","closed_at":null,"body":"I have had a working Plex Theater support by using the HTTP API since it uses the same JSON RPC APIs as Kodi. All you need to do is send a post request with the following JSON input to http://localhost:3005/jsonrpc (assuming that Plex Theater runs on the same machine as Taiga)\r\n```json\r\n{\"jsonrpc\": \"2.0\", \"method\": \"Player.GetItem\", \"params\": { \"properties\": [\"title\", \"season\", \"episode\", \"showtitle\", \"tvshowid\", \"thumbnail\", \"file\", \"fanart\", \"streamdetails\"], \"playerid\": 1 }, \"id\": \"VideoGetItem\"} \r\n```\r\n\r\nwhich will output:\r\n```json\r\n{\"id\":\"VideoGetItem\",\"jsonrpc\":\"2.0\",\"result\":{\"item\":{\"episode\":-1,\"fanart\":\"image://plexserver%3a%2f%2f58f0fbe03917dc575e3606c5cd6bf0e3f8d930b8%2fphoto%2f%3a%2ftranscode%3fheight%3d2048%26url%3dhttp%253a%252f%252f127.0.0.1%253a32400%252flibrary%252fmetadata%252f1%252fart%252f1427826594%26width%3d2048/\",\"file\":\"C:\\\\Users\\\\admin\\\\Videos\\\\[Chibiki] THE iDOLM@STER Cinderella Girls - 07 [720p][A6C9D7AE].mkv\",\"id\":15,\"label\":\"The Idolm@ster Cinderella Girls 07\",\"season\":-1,\"showtitle\":\"\",\"streamdetails\":{\"audio\":[],\"subtitle\":[],\"video\":[]},\"thumbnail\":\"image://plexserver%3a%2f%2f58f0fbe03917dc575e3606c5cd6bf0e3f8d930b8%2fphoto%2f%3a%2ftranscode%3fheight%3d720%26url%3dhttp%253a%252f%252f127.0.0.1%253a32400%252flibrary%252fmetadata%252f1%252fthumb%252f1427826594%26width%3d720/\",\"title\":\"\",\"tvshowid\":-1,\"type\":\"unknown\"}}}\r\n```\r\n\r\nAll you need to do is get the filename from the JSON output and parse the file name, which shouldn't be too difficult."},"comment":{"url":"https://api.github.com/repos/erengy/taiga/issues/comments/171130647","html_url":"https://github.com/erengy/taiga/issues/115#issuecomment-171130647","issue_url":"https://api.github.com/repos/erengy/taiga/issues/115","id":171130647,"user":{"login":"erengy","id":1078430,"avatar_url":"https://avatars.githubusercontent.com/u/1078430?v=3","gravatar_id":"","url":"https://api.github.com/users/erengy","html_url":"https://github.com/erengy","followers_url":"https://api.github.com/users/erengy/followers","following_url":"https://api.github.com/users/erengy/following{/other_user}","gists_url":"https://api.github.com/users/erengy/gists{/gist_id}","starred_url":"https://api.github.com/users/erengy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erengy/subscriptions","organizations_url":"https://api.github.com/users/erengy/orgs","repos_url":"https://api.github.com/users/erengy/repos","events_url":"https://api.github.com/users/erengy/events{/privacy}","received_events_url":"https://api.github.com/users/erengy/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T02:09:31Z","updated_at":"2016-01-13T02:09:31Z","body":"Since this is low-priority, we might as well wait for [Plex Media Player](https://blog.plex.tv/2015/10/20/introducing-the-plex-media-player/) to replace Plex Home Theater."}}