{"action":"created","issue":{"url":"https://api.github.com/repos/kakone/GoogleCast/issues/8","repository_url":"https://api.github.com/repos/kakone/GoogleCast","labels_url":"https://api.github.com/repos/kakone/GoogleCast/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/kakone/GoogleCast/issues/8/comments","events_url":"https://api.github.com/repos/kakone/GoogleCast/issues/8/events","html_url":"https://github.com/kakone/GoogleCast/issues/8","id":269421676,"number":8,"title":"How to set subtitles?","user":{"login":"bbougot","id":8962802,"avatar_url":"https://avatars0.githubusercontent.com/u/8962802?v=4","gravatar_id":"","url":"https://api.github.com/users/bbougot","html_url":"https://github.com/bbougot","followers_url":"https://api.github.com/users/bbougot/followers","following_url":"https://api.github.com/users/bbougot/following{/other_user}","gists_url":"https://api.github.com/users/bbougot/gists{/gist_id}","starred_url":"https://api.github.com/users/bbougot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbougot/subscriptions","organizations_url":"https://api.github.com/users/bbougot/orgs","repos_url":"https://api.github.com/users/bbougot/repos","events_url":"https://api.github.com/users/bbougot/events{/privacy}","received_events_url":"https://api.github.com/users/bbougot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-29T18:16:37Z","updated_at":"2018-04-14T15:06:10Z","closed_at":null,"author_association":"NONE","body":"I set the SubTitle property of the Metadata info of the media but subtitles never show.\r\n\r\n            var media = new Media\r\n            {\r\n                ContentId = isRemote ? MediaPath : mediaPath,\r\n                ContentType = \"video/mp4\",\r\n                Metadata = new MovieMetadata\r\n                {\r\n                    Title = MediaName,\r\n                    SubTitle = !string.IsNullOrEmpty(subtitle) ? subtitle : null\r\n                }\r\n            };\r\n\r\nsubtitle variable is http://192.168.1.11/Subtitles%2Ftt3606752%2FCars%203%20NEW%20HD-TS%20x264-CPG.vtt (URI encoded to my local server which serves .vtt static files with CORS, as required by Chromecast [https://developers.google.com/cast/docs/media](here).\r\n\r\nThere is no Track property to the loaded media, which is the required way to load subtitles as explained [https://developers.google.com/cast/docs/chrome_sender_advanced](here)"},"comment":{"url":"https://api.github.com/repos/kakone/GoogleCast/issues/comments/381335421","html_url":"https://github.com/kakone/GoogleCast/issues/8#issuecomment-381335421","issue_url":"https://api.github.com/repos/kakone/GoogleCast/issues/8","id":381335421,"user":{"login":"kakone","id":1640329,"avatar_url":"https://avatars3.githubusercontent.com/u/1640329?v=4","gravatar_id":"","url":"https://api.github.com/users/kakone","html_url":"https://github.com/kakone","followers_url":"https://api.github.com/users/kakone/followers","following_url":"https://api.github.com/users/kakone/following{/other_user}","gists_url":"https://api.github.com/users/kakone/gists{/gist_id}","starred_url":"https://api.github.com/users/kakone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kakone/subscriptions","organizations_url":"https://api.github.com/users/kakone/orgs","repos_url":"https://api.github.com/users/kakone/repos","events_url":"https://api.github.com/users/kakone/events{/privacy}","received_events_url":"https://api.github.com/users/kakone/received_events","type":"User","site_admin":false},"created_at":"2018-04-14T15:06:10Z","updated_at":"2018-04-14T15:06:10Z","author_association":"OWNER","body":"I'm sorry, I did not have time to look at this problem. In fact, the \"SubTitle\" property is not to indicate a file of closed captions but to indicate a complement of the title. I will try to add this feature as soon as possible."}}
{"actor":{"display_login":"kakone"}}