Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Default to "Icon" view mode
#1
Currently the view type starts in "List" mode for all addons, and need to be switched to Icon mode(preferred mode for me). How can set view mode to "Icon" as default so all addons open in that mode.

Sent from my SM-N910C
Reply
#2
Any help?

Sent from my SM-N910C
Reply
#3
Is this possible for Kodi 17.3? Has anybody achieved this?
LibreELEC v8.2.1 + Rpi 3
Android s912 (kodi v17.6)
Reply
#4
Hi to do this you need to edit the xml called "MyVideoNav.xml" and change where it says defaultcontrol to the corrosponding view number, which in this case is 53 if you delete the contents of the xml and paste this inside it and save it, then it shall do as you desire


<?xml version="1.0" encoding="UTF-8"?>
<window>
  <defaultcontrol>53</defaultcontrol>
  <onload>ClearProperty(gallery)</onload>
  <onunload>ClearProperty(gallery)</onunload>
  <menucontrol>9000</menucontrol>
  <controls>
    <include>DefaultBackground</include>
    <include>View_50</include>
    <include>View_51_Panel</include>
    <include>View_52_BigList</include>
    <include>View_53_Icons</include>
    <include>View_54_LowList</include>
    <include>View_55_BigPanel</include>
    <include>View_56_Fanart</include>
    <control type="group" description="Showcase trigger">
      <animation effect="slide" easing="out" start="0,0" end="0,-90" time="350" delay="0" center="120,350" reversible="true" condition="!String.IsEmpty(Window.Property(gallery))">Conditional</animation>
      <include>VignetteFade</include>
      <include>Time</include>
    </control>
    <!-- SIDE MENU -->
    <control type="group" id="8999" description="Side menu 9000 group">
      <include>9000Commons</include>
      <include>9000NavCommons</include>
      <control type="grouplist" id="9000">
        <include>9000GrouplistParameters</include>
        <control type="button" id="10">
          <description>Watched Toggle</description>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[20367]</label>
          <label2>$INFO[Container.NumItems]</label2>
          <visible>Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.content(seasons) | Container.Content(episodes)</visible>
        </control>
        <control type="label" id="9180" description="Spacer">
          <height>36</height>
          <textcolor>Highlight</textcolor>
          <align>left</align>
          <textoffsetx>10</textoffsetx>
          <include>9000ViewButtons</include>
          <label></label>
        </control>
        <control type="label" id="9181">
          <textcolor>Highlight</textcolor>
          <align>left</align>
          <textoffsetx>10</textoffsetx>
          <include>9000ViewButtons</include>
          <label>$LOCALIZE[31026]</label>
        </control>
        <control type="radiobutton" id="16">
          <description>PartyMode</description>
          <label>$LOCALIZE[589]</label>
          <include>9000SysButtons</include>
          <visible>Container.Content(MusicVideos)</visible>
        </control>
        <control type="radiobutton" id="11">
          <description>Unlock Shares</description>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[20336]</label>
          <onclick>xbmc.mastermode</onclick>
          <selected>system.ismaster</selected>
          <visible>system.haslocks</visible>
        </control>
        <control type="togglebutton" id="619">
          <description>Update library</description>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[653]</label>
          <onclick>UpdateLibrary(video)</onclick>
          <altlabel>$LOCALIZE[13353]</altlabel>
          <usealttexture>library.isscanningvideo</usealttexture>
        </control>
        <control type="button" id="612">
          <description>Go to playlist</description>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[559]</label>
          <onclick>ActivateWindow(videoplaylist)</onclick>
          <visible>IntegerGreaterThan(Playlist.Length(video),0)</visible>
        </control>
        <control type="button" id="621">
          <description>Get more</description>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[21452]</label>
          <onclick>ActivateWindow(addonbrowser,addons://more/video/,return)</onclick>
          <visible>Container.Content(addons)</visible>
        </control>
        <control type="button" id="624">
          <include>9000SysButtons</include>
          <label>$LOCALIZE[10140]</label>
          <onclick>Addon.OpenSettings($INFO[Container.PluginName])</onclick>
          <visible>!String.IsEmpty(Container.PluginName)</visible>
        </control>
        <control type="button" id="699" description="Playing">
          <enable>Player.HasMedia</enable>
          <include>9000SysButtons</include>
          <label>$LOCALIZE[16003]</label>
          <onclick>fullscreen</onclick>
        </control>
      </control>     
    </control>
  </controls>
</window>
Reply

Logout Mark Read Team Forum Stats Members Help
Default to "Icon" view mode0