forked from BigNoid/context.trailer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addon.xml
22 lines (22 loc) · 1010 Bytes
/
addon.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="context.trailer" name="Play Trailer" version="1.0.0" provider-name="BigNoid">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
</requires>
<extension point="kodi.context.item">
<menu id="kodi.core.main">
<item library="addon.py">
<label>32000</label>
<visible>String.IsEqual(ListItem.dbtype,movie) + !String.IsEmpty(ListItem.Trailer)</visible>
</item>
</menu>
</extension>
<extension point="kodi.addon.metadata">
<platform>all</platform>
<summary lang="en">Play a movie trailer from the context menu in the library.</summary>
<description lang="en">Adds a context menu entry for movies that have a trailer in the database. Choose windowed or fullscreen play in the settings.</description>
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license>
<forum></forum>
<source>https://github.com/BigNoid/context.trailer</source>
</extension>
</addon>