{"action":"created","issue":{"url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/1333","repository_url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview","labels_url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/1333/labels{/name}","comments_url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/1333/comments","events_url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/1333/events","html_url":"https://github.com/andybotting/xbmc-addon-abc-iview/issues/1333","id":138746509,"number":1333,"title":"Subtitles","user":{"login":"NigelCunningham","id":107818,"avatar_url":"https://avatars.githubusercontent.com/u/107818?v=3","gravatar_id":"","url":"https://api.github.com/users/NigelCunningham","html_url":"https://github.com/NigelCunningham","followers_url":"https://api.github.com/users/NigelCunningham/followers","following_url":"https://api.github.com/users/NigelCunningham/following{/other_user}","gists_url":"https://api.github.com/users/NigelCunningham/gists{/gist_id}","starred_url":"https://api.github.com/users/NigelCunningham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NigelCunningham/subscriptions","organizations_url":"https://api.github.com/users/NigelCunningham/orgs","repos_url":"https://api.github.com/users/NigelCunningham/repos","events_url":"https://api.github.com/users/NigelCunningham/events{/privacy}","received_events_url":"https://api.github.com/users/NigelCunningham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-06T02:56:34Z","updated_at":"2016-08-03T15:34:27Z","closed_at":"2016-05-08T10:42:06Z","body":"Hi Andy.\r\n\r\nI'm wondering whether it would be possible to add subtitle support to the add-on. I'm willing to work on implementing it, but thought I'd ask you whether it sounds doable before I dive in - particularly since I don't see any mention of subtitles in the current code base and have enough projects on the go as it is.\r\n\r\nNigel"},"comment":{"url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/comments/237274292","html_url":"https://github.com/andybotting/xbmc-addon-abc-iview/issues/1333#issuecomment-237274292","issue_url":"https://api.github.com/repos/andybotting/xbmc-addon-abc-iview/issues/1333","id":237274292,"user":{"login":"menghoumenghou","id":20235458,"avatar_url":"https://avatars.githubusercontent.com/u/20235458?v=3","gravatar_id":"","url":"https://api.github.com/users/menghoumenghou","html_url":"https://github.com/menghoumenghou","followers_url":"https://api.github.com/users/menghoumenghou/followers","following_url":"https://api.github.com/users/menghoumenghou/following{/other_user}","gists_url":"https://api.github.com/users/menghoumenghou/gists{/gist_id}","starred_url":"https://api.github.com/users/menghoumenghou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menghoumenghou/subscriptions","organizations_url":"https://api.github.com/users/menghoumenghou/orgs","repos_url":"https://api.github.com/users/menghoumenghou/repos","events_url":"https://api.github.com/users/menghoumenghou/events{/privacy}","received_events_url":"https://api.github.com/users/menghoumenghou/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T15:34:27Z","updated_at":"2016-08-03T15:34:27Z","body":"Hi andybotting, glennguy,\r\n   I found the subtitle file URL is now directly supplied under \r\n//*[@id=\"content\"]/div/div/div[1]/div[3]/script/text()\r\n  appreciate you can look into it, the code of building suburl may not work for some of the programs now.\r\n\r\n\r\nA sample of portion that contains subtitle URL:\r\n\r\n<div class=\"margined spaced\">\r\n            <div class=\"program-img\">\r\n                            <div class=\"video-wrapper-position\">\r\n\t                \r\n\t                    <img class=\"episode-img\" src=\"http://cdn.iview.abc.net.au/thumbs/460/ZX9673A007S005540577ea70ec9.62017967_1280.jpg\" width=\"460\" height=\"259\" tabindex=\"-1\" alt=\"Play episode, Bing Frog\">\r\n\t                                        <div id=\"episode-info-bar\" class=\"episode-info\">\r\n\t                        <div class=\"episode-icons\">\r\n                                                                    \t\t\t\t\t\t\t\t\t\r\n                                        <!--[if IE]>\r\n                                            <img alt=\"Classified G\" width=\"22\" height=\"22\" style=\"width:22px; height:22px;\" src=\"/assets/img/classification_g.png\" tabindex=\"0\" role=\"img\">\r\n                                        <![endif]-->\r\n                                        <!--[if !IE]><!-->\r\n                                            <img alt=\"Classified G\" width=\"22\" height=\"22\" src=\"/assets/img/classification_g.svg\" tabindex=\"0\" role=\"img\">\r\n                                        <!--<![endif]-->\r\n                                                                        \r\n                                        <!--[if IE]>\r\n                                            <img alt=\"Closed Captions Available\" width=\"18\" height=\"14\" style=\"width:18px; height:14px;\" src=\"/assets/img/cc_grey.png\" tabindex=\"0\" role=\"img\">\r\n                                        <![endif]-->\r\n                                        <!--[if !IE]><!-->\r\n                                            <img alt=\"Closed Captions Available\" width=\"18\" height=\"14\" src=\"/assets/img/cc_grey.svg\" tabindex=\"0\" role=\"img\">\r\n                                        <!--<![endif]-->\r\n\r\n                                                                    \r\n                                \r\n                            </div>\r\n                        <span class=\"duration\" tabindex=\"0\" role=\"\">7 minutes</span>                            <div class=\"hidden\">Duration 7 minutes <span aria-label=\"undefined\"><abbr aria-hidden=\"true\" title=\"undefined\">undefined</abbr></span></div></div>\r\n\t                                </div>\r\n            \r\n                <div class=\"program-actions\">\r\n                                        <a href=\"#\" class=\"watchlist-button\" data-series-slug=\"bing\" data-episode-house-number=\"ZX9673A007S00\" role=\"button\"><i class=\"fa fa-plus\"></i><i class=\"fa fa-check\"></i><i class=\"fa fa-spinner fa-spin\"></i> <span>ADD TO WATCH LIST</span></a>\r\n                    <a href=\"#\" class=\"program-share-button\" aria-haspopup=\"true\"><i class=\"fa fa-share\"></i> SHARE</a>\r\n\r\n                                    </div>\r\n\t\t\t\t<div style=\"display:none;\">\r\n\t\t\t\t\t<script type=\"text/javascript\">\r\n\t\t\t\t\t\tvar videoParams = {\"playlist\":[{\"type\":\"program\",\"captions\":{\"src-vtt\":\"http:\\/\\/iview.abc.net.au\\/cc\\/ZX9673A007S00MA1D1.vtt\",\"src-xml\":\"http:\\/\\/iview.abc.net.au\\/cc\\/ZX9673A007S00MA1D1.xml\",\"live\":\"0\"},\"hds-metered\":\"http:\\/\\/iviewmetered-vh.akamaihd.net\\/z\\/playback\\/_definst_\\/_video\\/kids_bing_01_07_,650000,495000,205000,40746,40741,.mp4.csmil\\/manifest.f4m\",\"hds-unmetered\":\"http:\\/\\/iviewum-vh.akamaihd.net\\/z\\/playback\\/_definst_\\/_video\\/kids_bing_01_07_,650000,495000,205000,40746,40741,.mp4.csmil\\/manifest.f4m\"}],\"playlistAD\":null,\"href\":\"programs\\/bing\\/ZX9673A007S00\",\"seriesHouseNumber\":\"ZX9673A\",\"episodeHouseNumber\":\"ZX9673A007S00\",\"mediaPath\":\"kids\\/bing_01_07.mp4\",\"seriesTitle\":\"Bing\",\"seriesSlug\":\"bing\",\"keywords\":\" abc4kids 4lower 4animals 4learn 4learning 4fav 4puggle 4explore 4best  \",\"title\":\"Frog\",\"pubDate\":\"2016-08-03 08:17:00\",\"eventDuration\":\"442\",\"eventRating\":\"G\",\"eventClassAdvice\":\"\",\"captions\":\"http:\\/\\/iview.abc.net.au\\/cc\\/ZX9673A007S00MA1D1.xml\",\"channel\":\"abc4kids\",\"genre\":\"ABC Kids\",\"live\":\"0\"};\r\n\t\t\t\t\t\tvar episodeHouseNumber = \"ZX9673A007S00\";\r\n\t\t\t\t\t</script>\r\n\t\t\t\t</div>\r\n            </div>\r\n\r\n\r\n            \r\n                <div class=\"program-info\" itemscope=\"\" itemtype=\"http://schema.org/TVSeries\">\r\n                    <h2 class=\"series-title\" itemprop=\"name\">Bing</h2>\r\n                    <div itemprop=\"episode\" itemscope=\"\" itemtype=\"http://schema.org/TVEpisode\">\r\n                        <span class=\"episode-title\" itemprop=\"name\">Frog</span>\r\n                        <meta itemprop=\"episodeNumber\" content=\"7\">\r\n                        <div class=\"genre\">\r\n                                                                                        <a class=\"event-genre\" href=\"http://www.abc.net.au/abcforkids/shows/s4097964.htm\"><i class=\"fa fa-globe\"></i> GO TO WEBSITE</a>\r\n                                                    </div>\r\n                        <div class=\"episode-description\" itemprop=\"description\">\r\n                            <p>Bing finds a frog in the garden and wants to keep it so he and Sula make the frog a 'house' in a bucket. But froggy doesn't like her new home and hops out.</p>\r\n                        </div>\r\n                        <div class=\"availability\">\r\n                                                                <a class=\"channel-logo\" href=\"/channel/abc4kids\"><img src=\"/assets/img/channel_abc4kids_80x42.jpg\" width=\"80\" alt=\"abc4kids\"></a>\r\n                                                        This episode was published 15 hours ago and is available until 8:17am on 7 Aug 2016. File size 37&nbsp;MB                        </div>\r\n                    </div>\r\n                </div>\r\n\r\n            \r\n            <div id=\"program-share-links\" role=\"menu\" aria-label=\"Social Media Share Links\" style=\"display: none;\">\r\n                <a href=\"http://www.facebook.com/sharer.php?u=http%3A%2F%2Fiview.abc.net.au%2Fprograms/bing/ZX9673A007S00&amp;t=Bing%20Frog\" role=\"menuitem\" tabindex=\"0\" target=\"_blank\"><img src=\"/assets/img/share_fb_icon.png\" alt=\"Share on Facebook\"></a>\r\n                <a href=\"http://twitter.com/intent/tweet?text=http%3A%2F%2Fiview.abc.net.au%2Fprograms/bing/ZX9673A007S00\" role=\"menuitem\" tabindex=\"0\" target=\"_blank\"><img src=\"/assets/img/share_twitter_icon.png\" alt=\"Share on Twitter\"></a>\r\n                <a href=\"https://plus.google.com/share?url=http%3A%2F%2Fiview.abc.net.au%2Fprograms/bing/ZX9673A007S00\" role=\"menuitem\" tabindex=\"0\" target=\"_blank\"><img src=\"/assets/img/share_gplus_icon.png\" alt=\"Share on Google+\"></a>\r\n            </div>\r\n\r\n            \r\n            \r\n        </div>"}}
{"actor":{"display_login":"menghoumenghou"}}