Adding TTML subtitles with different URL from stream URL - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312) +---- Thread: Adding TTML subtitles with different URL from stream URL (/showthread.php?tid=376848) |
Adding TTML subtitles with different URL from stream URL - CaptainT - 2024-03-31 Hello IA devs, I recently learned from the release notes that IA appears to support TTML subtitles. That's great as it would remove the need to convert TTML for Kodi. However, I have a few questions on how to use TTML subtitles in IA. If any of these are answered in the Wiki, and I simply didn't read enough, feel free to refer me to RTFM.
RE: Adding TTML subtitles with different URL from stream URL - CastagnaIT - 2024-04-05 ISAdaptive format compatibility details are here: https://github.com/xbmc/inputstream.adaptive/wiki/Supported-containers-and-codecs#subtitles-codecs If the wiki does not specify the kodi version of some component/feature means that is supported by all Kodi versions > In the case of this add-on, there is two URLs, one for the video and audio stream and another for the subtitles. Can I just set the subtitle URL similar to the stream using listitem.setProperty? If not, what is the recommended way in this case? 2 ways come to my mind: 1) hard road, modify the stream manifest on the fly to add additionals subtitles on a stream manifest, you need to use a proxy to change manifest data on the fly https://github.com/xbmc/inputstream.adaptive/wiki/How-to-provide-custom-manifest-and-license is not guaranteed to always be feasible, it depends various factors, such as: type of manifest, file format, source of files...etc 2) add subtitles with i think some addons use this property to add external subtitles https://xbmc.github.io/docs.kodi.tv/master/kodi-base/d8/d29/group__python__xbmcgui__listitem.html#ga1aa01919cb3006f9edf313f8d1f07b4c but personally never tried it |