how do i make the movie plot clickable?
#1
i am trying to customize the osmc skin, trying to make the movie plot clickable so it pops out, to make it more readable.
Reply
#2
you could look at skin.estuary DialogVideoInfo.xml
 <control type="button" id="138">
      <width>754</width>
      <height>418</height>
      <textoffsetx>40</textoffsetx>
      <textoffsety>20</textoffsety>
      <aligny>bottom</aligny>
      <label></label>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
      <onup>50</onup>
      <onleft>4000</onleft>
      <onright>4000</onright>
      <ondown>5000</ondown>
      <texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
      <visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
     </control>
Reply
#3
(2019-05-20, 02:10)the_other_guy Wrote: you could look at skin.estuary DialogVideoInfo.xml
 <control type="button" id="138">
      <width>754</width>
      <height>418</height>
      <textoffsetx>40</textoffsetx>
      <textoffsety>20</textoffsety>
      <aligny>bottom</aligny>
      <label></label>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
      <onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
      <onup>50</onup>
      <onleft>4000</onleft>
      <onright>4000</onright>
      <ondown>5000</ondown>
      <texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
      <visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
     </control>
thank you for the reply, however i am very new to this.

i think this is the right section, not sure where to add it and what to change. i added it to the top of the plot section:


 
 <!-- Plot -->
<control type="button" id="138">
<width>754</width>
<height>418</height>
<textoffsetx>40</textoffsetx>
<textoffsety>20</textoffsety>
<aligny>bottom</aligny>
<label></label>
<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Header,$LOCALIZE[207],home)</onclick>
<onclick condition="!String.IsEmpty(ListItem.Plot)">SetProperty(TextViewer_Text,$ESCINFO[ListItem.Plot],home)</onclick>
<onclick condition="!String.IsEmpty(ListItem.Plot)">ActivateWindow(1102)</onclick>
<onup>50</onup>
<onleft>4000</onleft>
<onright>4000</onright>
<ondown>5000</ondown>
<texturenofocus border="21">dialogs/dialog-bg.png</texturenofocus>
<visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
</control>
<control type="image">
<left>735</left>
<width>512</width>
<height>418</height>
<aligny>bottom</aligny>
<texture border="21">dialogs/dialogbackground.png</texture>
<visible>Integer.IsGreater(Container(4000).NumItems,0)</visible>
</control>
<control type="group">
<top>370</top>
<width>1170</width>
<height>210</height>
<control type="textbox">
<align>left</align>
<textcolor>$VAR[TextColor2]</textcolor>
<label>[LIGHT]$VAR[Plot][/LIGHT]</label>
<autoscroll delay="10000" time="2000" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,S light)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font30</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>[LIGHT]$VAR[Plot][/LIGHT]</label>
<autoscroll delay="10000" time="1900" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,M light)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font33</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>[LIGHT]$VAR[Plot][/LIGHT]</label>
<autoscroll delay="10000" time="1800" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,L light)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font36</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>[LIGHT]$VAR[Plot][/LIGHT]</label>
<autoscroll delay="10000" time="1700" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,XL light)</visible>
</control>

<control type="textbox">
<align>left</align>
<textcolor>$VAR[TextColor2]</textcolor>
<label>$VAR[Plot]</label>
<autoscroll delay="10000" time="2000" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,S)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font30</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>$VAR[Plot]</label>
<autoscroll delay="10000" time="1900" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,M)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font33</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>$VAR[Plot]</label>
<autoscroll delay="10000" time="1800" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,L)</visible>
</control>
<control type="textbox">
<align>left</align>
<font>Font36</font>
<textcolor>$VAR[TextColor2]</textcolor>
<label>$VAR[Plot]</label>
<autoscroll delay="10000" time="1700" repeat="12000">True</autoscroll>
<visible>Skin.String(PlotFont,XL)</visible>
</control>
</control>
</control>
Reply
#4
anyone?
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
how do i make the movie plot clickable?00