Kodi Community Forum

Full Version: How do i get trailers working?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i get apple movie trailers to work.
Every time i start it from the home screen it says theres a script error, but when i start it from the video plugins section theres no problems.
Because these are different. One of them Video Plugin other one Script.
So is it the same thing or is the trailer section my trailers on xbmc
the Trailers button on the home menu will launch the Apple Movie Trailers script.
the one you have in your video plugins folder is the Apple Movie Trailers plugin.

those are two different things.

which version of xbmc or you using and what version of the AMT script?
they need to be compatible, otherwise it won't work.

Debug Log might tell us some more
OK I haven't pointed the trailers section to the right script then.
Thanx i'll try that
Why does it only work with AMT and not AMT Lite
AuXBoX Wrote:Why does it only work with AMT and not AMT Lite

because the code needed to run a script is different from the code needed to run a plugin.

currently the Trailer button on the home menu uses this code:
<onclick>XBMC.RunScript($INFO[Skin.String(Trailers_Path)])</onclick>

if you want it to run the ATM Lite plugin instead, you'd need this:
<onclick>XBMC.ActivateWindow(MyVideoLibrary,plugin://video/Apple Movie Trailers Lite/,return)</onclick>

you can change things yourself in Includes_Home.xml
i think there are 4 occurrences of the Trailer button in that file, so best is to change them all.
thanx ronie id just figured out where to change it.
I've only just started using transparency
i'm glad you figured it out. ;-)