Get subtitles - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Get subtitles (/showthread.php?tid=161054) |
Get subtitles - explain.cc - 2013-03-31 Hello I'm quite new in xbmc plugin development, but my idea is to create a plugin, which get english subtitles and send to translation. Like here: http://explain.cc I've read manual: http://mirrors.xbmc.org/docs/python-docs/xbmc.html and almost whole wiki, but not found a way, how I can get subtitles, I mean subtitles content, not name. In api there is 2 methods, but they are only return a name of subtitle. Code: print xbmc.Player().getAvailableSubtitleStreams() and result is: Code: 12:53:44 T:9308 NOTICE: ['Breaking Bad - Season 2 - Episode 2.eng.srt'] Maybe there is a other way to get subtitle content, not only name. I mean something like this: Code: 2 |