Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to globally disable Add to favourites?
#16
nope, nothing has changed, they are still in the same files.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#17
(2019-02-26, 21:54)ronie Wrote: nope, nothing has changed, they are still in the same files.
 OK cool, thanks!
Reply
#18
the main bit is DialogFavourites.xml
home.xml
xml:
<control type="group" id="14000">
     <visible>String.IsEqual(Container(9000).ListItem.Property(id),favorites)</visible>
     <include content="Visible_Right_Delayed">
      <param name="id" value="favorites"/>
     </include>
     <control type="panel" id="14100">
      <left>65</left>
      <top>0</top>
      <right>0</right>
      <bottom>0</bottom>
      <onleft>9000</onleft>
      <onright>9000</onright>
      <onup>14100</onup>
      <ondown>14100</ondown>
      <preloaditems>2</preloaditems>
      <scrolltime tween="cubic" easing="out">500</scrolltime>
      <orientation>vertical</orientation>
      <pagecontrol>14010</pagecontrol>
      <visible>Integer.IsGreater(Container(14100).NumItems,0) | Container(14100).IsUpdating</visible>
      <itemlayout width="330" height="396">
       <control type="group">
        <top>130</top>
        <include content="InfoWallMusicLayout">
         <param name="fallback_image" value="DefaultFavourites.png" />
         <param name="focused" value="false" />
        </include>
       </control>
      </itemlayout>
      <focusedlayout width="330" height="396">
       <control type="group">
        <depth>DepthContentPopout</depth>
        <top>130</top>
        <animation effect="zoom" start="100" end="110" time="200" tween="sine" easing="inout" center="170,320">Focus</animation>
        <animation effect="zoom" start="110" end="100" time="200" tween="sine" easing="inout" center="170,320">UnFocus</animation>
        <include content="InfoWallMusicLayout">
         <param name="fallback_image" value="DefaultFavourites.png" />
         <param name="focused" value="true" />
        </include>
       </control>
      </focusedlayout>
      <content>favourites://</content>
     </control>
     <include content="ImageWidget">
      <param name="text_label" value="$LOCALIZE[31025]" />
      <param name="button_label" value="$LOCALIZE[31116]" />
      <param name="button_onclick" value=""/>
      <param name="button_id" value="5500"/>
      <param name="visible" value="!Integer.IsGreater(Container(14100).NumItems,0) + !Container(14100).IsUpdating"/>
      <param name="visible_1" value="false"/>
      <param name="button2_onclick" value="Skin.SetBool(HomeMenuNoFavButton)"/>
     </include>
     <include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)">
      <param name="scrollbar_id" value="14010"/>
     </include>
    </control>

  <value condition="!String.IsEmpty(Skin.String(HomeFanart.path)) + Control.HasFocus(803)">$INFO[Skin.String(HomeFanart.path)]favorites$INFO[Skin.String(HomeFanart.ext)]</value>
Reply

Logout Mark Read Team Forum Stats Members Help
How to globally disable Add to favourites?0