<?xml version="1.0" encoding="UTF-8"?>
<includes>

	<include name="addoninformation_Menu_Content">
		<control type="button" id="12">
			<description>Run</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$INFO[Control.GetLabel(12)],addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="9">
			<description>Settings</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[24020],addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="8">
			<description>Update</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[24138],addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="6">
			<description>Install/Uninstall add on</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$INFO[Control.GetLabel(6)],addoninformation)</onfocus>
			<onclick>SetProperty(Focused_Button,$INFO[Control.GetLabel(6)],addoninformation)</onclick>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="7">
			<description>Enable/Disable add on</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$INFO[Control.GetLabel(7)],addoninformation)</onfocus>
			<onclick>SetProperty(Focused_Button,$INFO[Control.GetLabel(7)],addoninformation)</onclick>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="10">
			<description>Show dependencies</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[39024],addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="14">
			<description>Select version</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[21338],addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="20">
			<description>Auto update</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(Focused_Button,$VAR[Auto_Update_Label],addoninformation)</onfocus>
			<onclick>SetFocus(13)</onclick>
			<onclick>Select</onclick>
			<onclick>SetFocus(20)</onclick>
			<onclick condition="String.Contains(Skin.String(AutoUpdate),off)">Skin.SetString(AutoUpdate,on)</onclick>
			<onclick condition="String.Contains(Skin.String(AutoUpdate),on)">Skin.SetString(AutoUpdate,off)</onclick>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
		<control type="button" id="99">
			<description>Show artwork</description>
			<include content="Hidden_Button_Template" />
			<include content="AddonInfo_Dialog_Menu_Navigation" />
			<onunfocus>SetProperty(ResetScroll,"")</onunfocus>
			<onfocus>SetProperty(Focused_Button,Artwork,addoninformation)</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
		</control>
	</include>

	<include name="movieinformation_Menu_Content">
		<control type="togglebutton" id="8">
			<description>Play/Browse</description>
			<include content="MovieInfo_Dialog_Menu_Navigation" />
			<label>208</label>
			<altlabel>1024</altlabel>
			<font />
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
			<onfocus condition="String.IsEqual(Listitem.DBType,tvshow) | String.IsEqual(Listitem.DBType,season)">SetProperty(Focused_Button,$LOCALIZE[1024],movieinformation)</onfocus>
			<onfocus condition="!String.IsEqual(Listitem.DBType,tvshow) + !String.IsEqual(Listitem.DBType,season)">SetProperty(Focused_Button,$LOCALIZE[208],movieinformation)</onfocus>
			<onclick condition="!String.IsEqual(Listitem.DBType,tvshow) + !String.IsEqual(Listitem.DBType,season) + !String.IsEqual(Container.FolderPath,Window(movieinformation).Property(ContainerPath_1))">ActivateWindow(home)</onclick>
			<onclick condition="String.IsEqual(Listitem.DBType,tvshow) | String.IsEqual(Listitem.DBType,season)">SetProperty(SentFromInfo,true,movieinformation)</onclick>
			<onunfocus>SetProperty(ResetScroll," ")</onunfocus>
		</control>
		<control type="button" id="99">
			<description>Plot</description>
			<visible>!String.IsEmpty(Control.GetLabel(6003))</visible>
			<include content="Hidden_Button_Template" />
			<ondown condition="Container(4).HasNext | Container(4).HasPrevious">SetFocus(60)</ondown>
			<onunfocus>SetProperty(ResetScroll,"")</onunfocus>
			<onfocus>SetProperty(Focused_Button,$VAR[PlotType_Label],movieinformation)</onfocus>
		</control>
		<control type="button" id="11">
			<description>Trailer</description>
			<visible>!String.IsEmpty(ListItem.Trailer)</visible>
			<include content="Hidden_Button_Template" />
			<include content="MovieInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[20410],movieinformation)</onfocus>
		</control>
		<control type="button" id="7">
			<description>Rating</description>
			<visible>!String.IsEqual(ListItem.DBType,set)</visible>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[563],movieinformation)</onfocus>
			<onup>4021</onup>
			<ondown>4022</ondown>
		</control>
		<control type="button" id="10">
			<description>Choose art</description>
			<include content="Hidden_Button_Template" />
			<include content="MovieInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[13511],movieinformation)</onfocus>
		</control>
		<control type="button" id="6">
			<description>Refresh</description>
			<visible>!String.IsEqual(ListItem.DBType,set)</visible>
			<include content="Hidden_Button_Template" />
			<include content="MovieInfo_Dialog_Menu_Navigation" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[184],movieinformation)</onfocus>
		</control>
	</include>

	<include name="musicinformation_Menu_Content">
		<control type="button" id="97">
			<description>Play</description>
			<include content="Hidden_Button_Template" />
			<onfocus condition="!String.IsEqual(ListItem.DBtype,artist)">SetProperty(Focused_Button,$LOCALIZE[208],musicinformation)</onfocus>
			<onfocus condition="String.IsEqual(ListItem.DBtype,artist)">SetProperty(Focused_Button,$LOCALIZE[191],musicinformation)</onfocus>
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>ClearProperty(Infoscreen_Transition,home)</onfocus>
			<onclick condition="System.AddonIsEnabled(script.copacetic.helper) + String.IsEqual(ListItem.DBType,artist)">RunScript(script.copacetic.helper,action=shuffle_artist,id=$INFO[ListItem.DBID])</onclick>
			<onclick condition="System.AddonIsEnabled(script.copacetic.helper) + String.IsEqual(ListItem.DBType,album)">RunScript(script.copacetic.helper,action=play_album,id=$INFO[ListItem.DBID])</onclick>
			<onclick condition="System.AddonIsEnabled(script.copacetic.helper) + String.IsEqual(ListItem.DBType,song)">RunScript(script.copacetic.helper,action=play_album_from_track,id=$INFO[ListItem.DBID],track=$INFO[ListItem.TrackNumber])</onclick>
			<onclick condition="String.IsEmpty(ListItem.DBID)">PlayMedia($INFO[ListItem.FilenameAndPath])</onclick>
			<include content="MusicInfo_Dialog_Menu_Navigation" />
		</control>
		<!--
		<control type="button" id="95">
			<description>Create radio station</description>
			<visible>System.AddonIsEnabled(script.copacetic.helper) + String.IsEqual(ListItem.DBType,song)</visible>
			<include content="Hidden_Button_Template" />
			<onunfocus>SetProperty(ResetScroll,"")</onunfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[31011],musicinformation)</onfocus>
			<onclick>RunScript(script.copacetic.helper,action=play_radio,id=$INFO[ListItem.DBID])</onclick>
			<include content="MusicInfo_Dialog_Menu_Navigation" />
		</control>-->
		<control type="button" id="99">
			<description>Bio/Review</description>
			<visible>!String.IsEmpty(Control.GetLabel(6003)) + Window.Is(musicinformation)</visible>
			<include content="Hidden_Button_Template" />
			<onunfocus>SetProperty(ResetScroll,"")</onunfocus>
			<onfocus>SetProperty(Focused_Button,$VAR[PlotType_Label],musicinformation)</onfocus>
			<ondown condition="Container(4).HasNext | Container(4).HasPrevious">SetFocus(60)</ondown>
		</control>
		<control type="button" id="98">
			<description>Tracks</description>
			<visible>String.IsEqual(ListItem.DBType,album)</visible>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[182],musicinformation)</onfocus>
			<onfocus>SetFocus(3100,0,absolute)</onfocus>
		</control>
		<control type="button" id="7">
			<description>Rating</description>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$INFO[Control.GetLabel(7)],musicinformation)</onfocus>
			<onup>4021</onup>
			<ondown>4022</ondown>
		</control>
		<control type="button" id="12">
			<description>Artist/Album information</description>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$INFO[Control.GetLabel(12)],musicinformation)</onfocus>
			<include content="MusicInfo_Dialog_Menu_Navigation" />
		</control>
		<control type="button" id="10">
			<description>Artwork</description>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[13511],musicinformation)</onfocus>
			<include content="MusicInfo_Dialog_Menu_Navigation" />
		</control>
		<control type="button" id="6">
			<description>Refresh</description>
			<include content="Hidden_Button_Template" />
			<onfocus>SetProperty(ResetScroll," ")</onfocus>
			<onfocus>SetProperty(Focused_Button,$LOCALIZE[184],musicinformation)</onfocus>
			<include content="MusicInfo_Dialog_Menu_Navigation" />
		</control>
	</include>

</includes>