Kodi Community Forum
Req Is it possible to add subtitles to a trailer ? - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Req Is it possible to add subtitles to a trailer ? (/showthread.php?tid=355337)



Is it possible to add subtitles to a trailer ? - Gama41 - 2020-06-20

There is an attribute to add a trailer to a list_item, for example : 
python:
       
list_item.setInfo('video', {'trailer': 'http://URL_TRAILER.mp4'})
Is it possible to also add a subtitle file to it ?


RE: Is it possible to add subtitles to a trailer ? - Zombi - 2020-06-27

(2020-06-20, 18:28)Gama41 Wrote: There is an attribute to add a trailer to a list_item, for example : 
python:
       
list_item.setInfo('video', {'trailer': 'http://URL_TRAILER.mp4'})
Is it possible to also add a subtitle file to it ?
Yes if you add the srt subtitle file in the same folder i guess kodi will play it


RE: Is it possible to add subtitles to a trailer ? - Gama41 - 2020-06-28

Thanks for your reply, unfortunately I'm using the trailers available on Youtube so my URLs will look like this :
Code:
plugin://plugin.video.youtube/play/?video_id=$VIDEOID
Is there any way to add subtitles from an online source, please ?


RE: Is it possible to add subtitles to a trailer ? - Zombi - 2020-06-28

(2020-06-28, 01:26)Gama41 Wrote: Thanks for your reply, unfortunately I'm using the trailers available on Youtube so my URLs will look like this :
Code:
plugin://plugin.video.youtube/play/?video_id=$VIDEOID
Is there any way to add subtitles from an online source, please ?
I don't think trailers subtitles are available online
You can search for youtube trailers which re already subbed because YouTube addon supports subs
You can find more info here https://github.com/Kolifanes/plugin.video.youtube/issues/40


RE: Is it possible to add subtitles to a trailer ? - Gama41 - 2020-06-28

I am trying to add custom subtitles, not the one available on Youtube.
I have searched in the documentation but I didn't find anything that could help me, it seems that it's not possible yet, but thanks for your help.
(2020-06-28, 01:43)Zombi Wrote:
(2020-06-28, 01:26)Gama41 Wrote: Thanks for your reply, unfortunately I'm using the trailers available on Youtube so my URLs will look like this :
Code:
plugin://plugin.video.youtube/play/?video_id=$VIDEOID
Is there any way to add subtitles from an online source, please ?
I don't think trailers subtitles are available online
You can search for youtube trailers which re already subbed because YouTube addon supports subs
You can find more info here https://github.com/Kolifanes/plugin.video.youtube/issues/40



RE: Is it possible to add subtitles to a trailer ? - Ratatui - 2020-12-22

Can anyone help with this question about subtitles in trailers?

I can see most of the trailers with Portuguese subtitles using the YouTube add-on (some of them hardcoded in the video).
The problem is that when they are not hardcoded I cant select Portuguese subtitles by default in the youtube addon and I need to select the "wask me" option in the setting so that I can select Portuguese subtitle in a vast list of languages everytime I choose to see a trailer..

But of course that I want that automatically selected. Is there any way?