Req Add "Trailer" item to movie context menu
#1
Would it be easy to add a "View Trailer" item to the right-click ("context"?) menu for movies? I know you can get to it if you click "Movie information", but it would be nice to eliminate that extra step, since it's a feature I use a lot.

Also, I'm fairly comfortable working with most code, so if this is something I can easily edit myself, I'm all for it - I'd just need a nudge or two in the right direction Big Grin

Thanks!
Reply
#2
On the same note, would there be any way to hot key this? When a movie is highlighted, press the right key and bam, trailer time?
Reply
#3
Doable in the skin. You'll have to add something like <onright>PlayMedia($INFO[ListItem.Trailer],1)</onright> to the list control. Some skins are even using something like this afaik.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#4
(2014-05-21, 17:40)vdrfan Wrote: Doable in the skin. You'll have to add something like <onright>PlayMedia($INFO[ListItem.Trailer],1)</onright> to the list control. Some skins are even using something like this afaik.

Is thist also possible with Cinema Experiance?
Reply
#5
I'd guess so but i have no idea about that plugin.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#6
I have the same question about the context menu item 'play trailer'

Or can anybody make the few lines of code work in this add-on for Kodi 21.x? Upgrade the python to v3?

https://kodi.wiki/view/Add-on:Play_Trailer
Kodi 21.1 with Aeon Nox Silvo,
Nvidia shield Pro 9.1.1 with Android 11.
Reply
#7
Just an FYI, for any of you running Kodi sharing solutions some of them have this support built-in and can support multiple trailers per Kodi movie.  Here's an example of what I run.  It also supports a movie theater like experience where you can click on Movie Previews and it will play the selected number of movie trailers (you can select current year or the year the movie was released) and then the main movie feature.  I realize this is for sharing solutions but just raising awareness of the art of the possible.  I believe some of the other sharing solutions have some of the same capabilities. 


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply
#8
(2024-11-13, 13:24)cizzz Wrote: I have the same question about the context menu item 'play trailer'

Or can anybody make the few lines of code work in this add-on for Kodi 21.x? Upgrade the python to v3?

Add-on:Play_Trailer (wiki)

I took a quick look at this addon.  It should be a quick fix to run with Kodi 21.  Just update line 4 in the addon.xml file to read:

addon.xml file change:

<import addon="xbmc.python" version="3.0.0"/>

I don't see any other code which shouldn't run on Kodi 21.


Thanks,

Jeff
Running with the Mezzmo Kodi addon.  The easier way to share your media with multiple Kodi clients.
Service.autostop , Kodi Selective Cleaner and Mezzmo Kodi addon author.
Reply

Logout Mark Read Team Forum Stats Members Help
Add "Trailer" item to movie context menu0