Kodi Community Forum
Option to search for movie trailer using YouTube - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Ace 2 (https://forum.kodi.tv/forumdisplay.php?fid=190)
+----- Thread: Option to search for movie trailer using YouTube (/showthread.php?tid=168115)



Option to search for movie trailer using YouTube - ytwig - 2013-06-29

Hey,

I think that the option to search for a movie using the movie title is a really great feature.
This saves the time of pre-fetching the trailer, or if the scrapper didn't find one (or if the scrapper you're using don't bring trailers like in my case) you will still have the option to view the trailer.

This exist in some skins and and it worked great.

For looking around, it doesn't look like a lot of work... saw that you can add something like that:

Code:
<control type="button" id="2018">
   ...
                <label>$LOCALIZE[42286]</label>
                <visible>Container.Content(movies) + IsEmpty(ListItem.Trailer) + Skin.HasSetting(trailerincontextmenu)</visible>
                <onclick>ActivateWindow(videos,plugin://plugin.video.youtube/?path=/root/search&amp;feed=search&amp;search=$INFO[ListItem.Label] Trailer,return)</onclick>
                </control>

So my question:

1. Is this already built in to Ace and i just missed it?
2. If not, then is it possible to add it to Ace by myself with the above code? where should that go?

Lastly to the developer, many thanks for your hard work, really love your skin, and please consider adding this option.

Thanks!