Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Add Special Features support #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions language/resource.language.en_gb/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,10 @@ msgid "If you enjoy my work and feel like contributing towards development, it i
msgstr ""


msgctxt "#31996"
msgid "Special Features"
msgstr ""


#: addon.xml
#. Shown when browsing through the available skins in the add-on browser, not in the skin itself. Will be manually added to the skin's addon.xml.
Expand Down
12 changes: 12 additions & 0 deletions xml/DialogVideoInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,18 @@
<texturenofocus></texturenofocus>
<visible>!Window.IsVisible(Home) + [String.IsEqual(ListItem.DBTYPE,movie) | String.IsEqual(ListItem.DBTYPE,tvshow) | String.IsEqual(ListItem.DBTYPE,episode)]</visible>
</control>
<!--special features-->
<control type="button" id="9146">
<width min="256">auto</width>
<font>Black-20</font>
<align>center</align>
<label>$LOCALIZE[31996]</label>
<onclick>Action(close)</onclick>
<onclick>RunScript(plugin.video.specialfeatures,listitem)</onclick>
<texturenofocus></texturenofocus>
<visible>System.HasAddon(plugin.video.specialfeatures)</visible>
<visible>String.IsEqual(Window(home).Property(SpecialFeatures.Visible),true)</visible>
</control>
<!--more-->
<control type="button" id="33">
<width min="256">auto</width>
Expand Down