• 1
  • 198
  • 199
  • 200(current)
  • 201
  • 202
  • 205
Beta Arctic Horizon 2
(2024-04-11, 04:59)whisperer Wrote: After testing it, I noticed that some icons are not displayed.
As I'm not familiar in Kodi skin development, I'm unsure about the cause of this issue. I have attached two comparison screenshots for reference.

I revisited the code changes and simplified the changes. One added <visible> clause and one removed.
It took me a while to realise the current behaviour is intended whereby started tvshows show the clock icon rather than unwatched episodes. Like you I'd rather see the unwatched.
I forgot about sets as I don't use them. Code added to deal with them.

Here's the updated code for always showing unwatched episodes and movie progress.
Edit Includes_Objects.xml and replace the entire include as below (line 796)


Code:
    <include name="Object_Indicator">
        <param name="affix" default="" />
        <param name="listitem" default="ListItem" />
        <param name="selected" default="false" />
        <param name="shadow" default="true" />
        <param name="gradient_fade" default="0" />
        <definition>
            <control type="group">
                <nested />
                <centerbottom>0</centerbottom>
                <right>25</right>
                <width>64</width>
                <height>64</height>
                
                <!--  *** Adds the selected overlay circle -->
                <include content="Object_Control" condition="$PARAM[selected]">
                    <param name="control" value="group" />
                    <include content="Dimension_Padding" condition="Skin.HasSetting(SelectBox.Thin)"><param name="pad" value="5" /></include>
                    <control type="image">
                        <include content="Dimension_Padding"><param name="pad" value="-32" /></include>
                        <texture colordiffuse="shadow_hard">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo-shadow.png]</texture>
                        <visible>$PARAM[shadow]</visible>
                    </control>
                    <control type="image">
                        <texture colordiffuse="$VAR[ColorHighlight]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                    <control type="image">
                        <animation effect="fade" end="$PARAM[gradient_fade]" condition="true">Conditional</animation>
                        <texture colordiffuse="$VAR[ColorGradient]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                </include>
                <control type="image">
                    <texture colordiffuse="ff333333">$VAR[Image_Overlay_Backing$PARAM[affix],,-bg.png]</texture>
                </control>
                
                <!--  *** Adds the green progress indicator. -->
                <include content="Object_Control" condition="!Skin.HasSetting(Indicator.DisableProgress)">
                    <param name="control">image</param>
                    <include content="Dimension_Padding"><param name="pad" value="0" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">$VAR[Defs_PercentPlayed$PARAM[affix],progress/circle/p,.png]</texture>
                    <aspectratio align="center" aligny="center">keep</aspectratio>
                    <visible>String.IsEmpty($PARAM[listitem].Property(role))</visible>
                </include>
    
                <!--  *** Adds progress time background / recently added icon /sets .-->
                <control type="image">
                    <texture>$VAR[Image_Overlay_Backing$PARAM[affix],,-fg.png]</texture>
                </control>

                <!--  *** Adds icon so only display if not showing unwatched episodes-->                
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture>$VAR[Image_Overlay$PARAM[affix]]</texture>
                    <!--  *** Don't show icon if it's a tvshow or a season - unwatched episodes will be shown instead-->
                    <visible>!String.IsEqual($PARAM[listitem].DBType,tvshow) + !String.IsEqual($PARAM[listitem].DBType,season)</visible>
                </control>
                
                <!--  *** Completed Tick -->
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">indicator/checkmark.png</texture>
                    <visible>!Skin.HasSetting(Indicator.DisableWatched)</visible>
                    <visible>String.IsEqual($PARAM[listitem].Overlay,OverlayWatched.png) | [!String.IsEmpty($PARAM[listitem].PlayCount) + !Integer.IsEqual($PARAM[listitem].PlayCount,0) + !String.IsEqual($PARAM[listitem].DBType,song) + !String.IsEqual($PARAM[listitem].DBType,album) + !String.IsEqual($PARAM[listitem].DBType,artist) + !String.IsEqual($PARAM[listitem].DBType,image) + !String.IsEqual($PARAM[listitem].DBType,addon)]</visible>
                    <visible>Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0)  | Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                    <visible>!$PARAM[listitem].IsRecording + !$PARAM[listitem].HasTimer</visible>
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                
                <!--  *** Unwatched episodes     -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(UnWatchedEpisodes)]</label>
                    <visible>[!Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season) | String.IsEqual($PARAM[listitem].DBType,episode)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                    
                    <!--  *** Removed as blocks Unwatched episodes after show has been started                    
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    -->    
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,episode) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(Episodes)]</label>
                    <visible>!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                </control>
            </control>
        </definition>
    </include>


And for anyone that wants a a numerical percentage progress for Movies and Episodes as well as always showing unwatched episodes. There was a previous request for this.
Edit Includes_Objects.xml and replace the entire include as below (line 796)


Code:
    <include name="Object_Indicator">
        <param name="affix" default="" />
        <param name="listitem" default="ListItem" />
        <param name="selected" default="false" />
        <param name="shadow" default="true" />
        <param name="gradient_fade" default="0" />
        <definition>
            <control type="group">
                <nested />
                <centerbottom>0</centerbottom>
                <right>25</right>
                <width>64</width>
                <height>64</height>
                
                <!--  *** Adds the selected overlay circle -->
                <include content="Object_Control" condition="$PARAM[selected]">
                    <param name="control" value="group" />
                    <include content="Dimension_Padding" condition="Skin.HasSetting(SelectBox.Thin)"><param name="pad" value="5" /></include>
                    <control type="image">
                        <include content="Dimension_Padding"><param name="pad" value="-32" /></include>
                        <texture colordiffuse="shadow_hard">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo-shadow.png]</texture>
                        <visible>$PARAM[shadow]</visible>
                    </control>
                    <control type="image">
                        <texture colordiffuse="$VAR[ColorHighlight]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                    <control type="image">
                        <animation effect="fade" end="$PARAM[gradient_fade]" condition="true">Conditional</animation>
                        <texture colordiffuse="$VAR[ColorGradient]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                </include>
                <control type="image">
                    <texture colordiffuse="ff333333">$VAR[Image_Overlay_Backing$PARAM[affix],,-bg.png]</texture>
                </control>
                
                <!--  *** Adds the green progress indicator. -->
                <include content="Object_Control" condition="!Skin.HasSetting(Indicator.DisableProgress)">
                    <param name="control">image</param>
                    <include content="Dimension_Padding"><param name="pad" value="0" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">$VAR[Defs_PercentPlayed$PARAM[affix],progress/circle/p,.png]</texture>
                    <aspectratio align="center" aligny="center">keep</aspectratio>
                    <visible>String.IsEmpty($PARAM[listitem].Property(role))</visible>
                </include>
    
                <!--  *** Adds progress time background / recently added icon /sets .-->
                <control type="image">
                    <texture>$VAR[Image_Overlay_Backing$PARAM[affix],,-fg.png]</texture>
                </control>
                
                <!--  *** Adds progress % for movies and episodes -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[listitem.PercentPlayed]</label>
                    <visible>!String.IsEqual(listitem.PercentPlayed,0) + [String.IsEqual($PARAM[listitem].DBType,movie) | String.IsEqual($PARAM[listitem].DBType,episode)]</visible>
                </control>                
                
                <!--  *** Adds icon so only display if not showing unwatched episodes-->                
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture>$VAR[Image_Overlay$PARAM[affix]]</texture>

                    <!--  *** Don't show icon if it's media unless it's a set-->
                    <visible>[!$PARAM[listitem].IsResumable  + !String.IsEqual($PARAM[listitem].DBType,tvshow) + !String.IsEqual($PARAM[listitem].DBType,season)] | String.IsEqual($PARAM[listitem].DBType,set)</visible>
                </control>
                
                <!--  *** Completed Tick -->
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">indicator/checkmark.png</texture>
                    <visible>!Skin.HasSetting(Indicator.DisableWatched)</visible>
                    <visible>String.IsEqual($PARAM[listitem].Overlay,OverlayWatched.png) | [!String.IsEmpty($PARAM[listitem].PlayCount) + !Integer.IsEqual($PARAM[listitem].PlayCount,0) + !String.IsEqual($PARAM[listitem].DBType,song) + !String.IsEqual($PARAM[listitem].DBType,album) + !String.IsEqual($PARAM[listitem].DBType,artist) + !String.IsEqual($PARAM[listitem].DBType,image) + !String.IsEqual($PARAM[listitem].DBType,addon)]</visible>
                    <visible>Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0)  | Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                    <visible>!$PARAM[listitem].IsRecording + !$PARAM[listitem].HasTimer</visible>
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                
                <!--  *** Unwatched episodes     -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(UnWatchedEpisodes)]</label>
                    <visible>[!Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season) | String.IsEqual($PARAM[listitem].DBType,episode)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                    
                    <!--  *** Removed as blocks Unwatched episodes after show has been started                    
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    -->    
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,episode) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(Episodes)]</label>
                    <visible>!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                </control>
            </control>
        </definition>
    </include>
Reply
I understand this skin is quite resource intensive so hoping to get some advice. Currently run a shield TV with Kodi the only app. I never exit Kodi, I presume either it or the shield goes to sleep when it hasn't been used. I found with AH2 when I turn the shield back on, AH2 has the spinning wheel for several minutes before I can navigate. It doesnt happen with other skins.

I have a fullscreen widget for all my main menu items eg. Movies, TV series, Sports etc which shows the most recently viewed video under each main menu. I presume when Kodi wakes up, it must be setting up these widgets. I thought setting the limit to 10 for each menu would help quicken things up but despite limiting it to 10, when I scroll through the widget items it seems unlimited rather than just showing the 10 items. Any other advise to try to limit the widgets and quicken the skin as I think it is still the best.
Reply
(2024-04-11, 14:28)ChocOranger Wrote: And for anyone that wants a a numerical percentage progress for Movies and Episodes as well as always showing unwatched episodes. There was a previous request for this.
Edit Includes_Objects.xml and replace the entire include as below (line 796)

Would it be possible to display the numerical percentage progress for Live TV? I'm unable to display the label for (listitem.Progress)
Reply
(2024-04-13, 00:25)psbguy Wrote: Would it be possible to display the numerical percentage progress for Live TV? I'm unable to display the label for (listitem.Progress)

I don't use the PVR which I guess is used to access Live TV.

You'll probably be limited to the PVR infolabels. eg when a movie is playing the listitems.* aren't available (at least the ones I've wanted to use aren't) and you need to use player.* or videoplayer.*

Here's a list of the pvr infolabels https://xbmc.github.io/docs.kodi.tv/mast...itions_Pvr
PVR.EpgEventProgress looks like what you need.
Reply
(2024-04-13, 01:10)ChocOranger Wrote:
(2024-04-13, 00:25)psbguy Wrote: Would it be possible to display the numerical percentage progress for Live TV? I'm unable to display the label for (listitem.Progress)

I don't use the PVR which I guess is used to access Live TV.

You'll probably be limited to the PVR infolabels. eg when a movie is playing the listitems.* aren't available (at least the ones I've wanted to use aren't) and you need to use player.* or videoplayer.*

Here's a list of the pvr infolabels https://xbmc.github.io/docs.kodi.tv/mast...itions_Pvr
PVR.EpgEventProgress looks like what you need.
I would like to show the numerical progress of Live TV under PVR widgets (e.g. Last Played Channels), PVR.EpgEventProgress won't work as it will show the progress for the currently playing epg event in the player. Thanks for your help though
Reply
(2024-04-11, 14:28)ChocOranger Wrote:
(2024-04-11, 04:59)whisperer Wrote: After testing it, I noticed that some icons are not displayed.
As I'm not familiar in Kodi skin development, I'm unsure about the cause of this issue. I have attached two comparison screenshots for reference.

I revisited the code changes and simplified the changes. One added <visible> clause and one removed.
It took me a while to realise the current behaviour is intended whereby started tvshows show the clock icon rather than unwatched episodes. Like you I'd rather see the unwatched.
I forgot about sets as I don't use them. Code added to deal with them.

Here's the updated code for always showing unwatched episodes and movie progress.
Edit Includes_Objects.xml and replace the entire include as below (line 796)


Code:
    <include name="Object_Indicator">
        <param name="affix" default="" />
        <param name="listitem" default="ListItem" />
        <param name="selected" default="false" />
        <param name="shadow" default="true" />
        <param name="gradient_fade" default="0" />
        <definition>
            <control type="group">
                <nested />
                <centerbottom>0</centerbottom>
                <right>25</right>
                <width>64</width>
                <height>64</height>
                
                <!--  *** Adds the selected overlay circle -->
                <include content="Object_Control" condition="$PARAM[selected]">
                    <param name="control" value="group" />
                    <include content="Dimension_Padding" condition="Skin.HasSetting(SelectBox.Thin)"><param name="pad" value="5" /></include>
                    <control type="image">
                        <include content="Dimension_Padding"><param name="pad" value="-32" /></include>
                        <texture colordiffuse="shadow_hard">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo-shadow.png]</texture>
                        <visible>$PARAM[shadow]</visible>
                    </control>
                    <control type="image">
                        <texture colordiffuse="$VAR[ColorHighlight]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                    <control type="image">
                        <animation effect="fade" end="$PARAM[gradient_fade]" condition="true">Conditional</animation>
                        <texture colordiffuse="$VAR[ColorGradient]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                </include>
                <control type="image">
                    <texture colordiffuse="ff333333">$VAR[Image_Overlay_Backing$PARAM[affix],,-bg.png]</texture>
                </control>
                
                <!--  *** Adds the green progress indicator. -->
                <include content="Object_Control" condition="!Skin.HasSetting(Indicator.DisableProgress)">
                    <param name="control">image</param>
                    <include content="Dimension_Padding"><param name="pad" value="0" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">$VAR[Defs_PercentPlayed$PARAM[affix],progress/circle/p,.png]</texture>
                    <aspectratio align="center" aligny="center">keep</aspectratio>
                    <visible>String.IsEmpty($PARAM[listitem].Property(role))</visible>
                </include>
    
                <!--  *** Adds progress time background / recently added icon /sets .-->
                <control type="image">
                    <texture>$VAR[Image_Overlay_Backing$PARAM[affix],,-fg.png]</texture>
                </control>

                <!--  *** Adds icon so only display if not showing unwatched episodes-->                
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture>$VAR[Image_Overlay$PARAM[affix]]</texture>
                    <!--  *** Don't show icon if it's a tvshow or a season - unwatched episodes will be shown instead-->
                    <visible>!String.IsEqual($PARAM[listitem].DBType,tvshow) + !String.IsEqual($PARAM[listitem].DBType,season)</visible>
                </control>
                
                <!--  *** Completed Tick -->
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">indicator/checkmark.png</texture>
                    <visible>!Skin.HasSetting(Indicator.DisableWatched)</visible>
                    <visible>String.IsEqual($PARAM[listitem].Overlay,OverlayWatched.png) | [!String.IsEmpty($PARAM[listitem].PlayCount) + !Integer.IsEqual($PARAM[listitem].PlayCount,0) + !String.IsEqual($PARAM[listitem].DBType,song) + !String.IsEqual($PARAM[listitem].DBType,album) + !String.IsEqual($PARAM[listitem].DBType,artist) + !String.IsEqual($PARAM[listitem].DBType,image) + !String.IsEqual($PARAM[listitem].DBType,addon)]</visible>
                    <visible>Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0)  | Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                    <visible>!$PARAM[listitem].IsRecording + !$PARAM[listitem].HasTimer</visible>
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                
                <!--  *** Unwatched episodes     -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(UnWatchedEpisodes)]</label>
                    <visible>[!Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season) | String.IsEqual($PARAM[listitem].DBType,episode)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                    
                    <!--  *** Removed as blocks Unwatched episodes after show has been started                    
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    -->    
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,episode) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(Episodes)]</label>
                    <visible>!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                </control>
            </control>
        </definition>
    </include>


And for anyone that wants a a numerical percentage progress for Movies and Episodes as well as always showing unwatched episodes. There was a previous request for this.
Edit Includes_Objects.xml and replace the entire include as below (line 796)


Code:
    <include name="Object_Indicator">
        <param name="affix" default="" />
        <param name="listitem" default="ListItem" />
        <param name="selected" default="false" />
        <param name="shadow" default="true" />
        <param name="gradient_fade" default="0" />
        <definition>
            <control type="group">
                <nested />
                <centerbottom>0</centerbottom>
                <right>25</right>
                <width>64</width>
                <height>64</height>
                
                <!--  *** Adds the selected overlay circle -->
                <include content="Object_Control" condition="$PARAM[selected]">
                    <param name="control" value="group" />
                    <include content="Dimension_Padding" condition="Skin.HasSetting(SelectBox.Thin)"><param name="pad" value="5" /></include>
                    <control type="image">
                        <include content="Dimension_Padding"><param name="pad" value="-32" /></include>
                        <texture colordiffuse="shadow_hard">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo-shadow.png]</texture>
                        <visible>$PARAM[shadow]</visible>
                    </control>
                    <control type="image">
                        <texture colordiffuse="$VAR[ColorHighlight]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                    <control type="image">
                        <animation effect="fade" end="$PARAM[gradient_fade]" condition="true">Conditional</animation>
                        <texture colordiffuse="$VAR[ColorGradient]">$VAR[Image_Overlay_Backing$PARAM[affix],,-fo.png]</texture>
                    </control>
                </include>
                <control type="image">
                    <texture colordiffuse="ff333333">$VAR[Image_Overlay_Backing$PARAM[affix],,-bg.png]</texture>
                </control>
                
                <!--  *** Adds the green progress indicator. -->
                <include content="Object_Control" condition="!Skin.HasSetting(Indicator.DisableProgress)">
                    <param name="control">image</param>
                    <include content="Dimension_Padding"><param name="pad" value="0" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">$VAR[Defs_PercentPlayed$PARAM[affix],progress/circle/p,.png]</texture>
                    <aspectratio align="center" aligny="center">keep</aspectratio>
                    <visible>String.IsEmpty($PARAM[listitem].Property(role))</visible>
                </include>
    
                <!--  *** Adds progress time background / recently added icon /sets .-->
                <control type="image">
                    <texture>$VAR[Image_Overlay_Backing$PARAM[affix],,-fg.png]</texture>
                </control>
                
                <!--  *** Adds progress % for movies and episodes -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[listitem.PercentPlayed]</label>
                    <visible>!String.IsEqual(listitem.PercentPlayed,0) + [String.IsEqual($PARAM[listitem].DBType,movie) | String.IsEqual($PARAM[listitem].DBType,episode)]</visible>
                </control>                
                
                <!--  *** Adds icon so only display if not showing unwatched episodes-->                
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture>$VAR[Image_Overlay$PARAM[affix]]</texture>

                    <!--  *** Don't show icon if it's media unless it's a set-->
                    <visible>[!$PARAM[listitem].IsResumable  + !String.IsEqual($PARAM[listitem].DBType,tvshow) + !String.IsEqual($PARAM[listitem].DBType,season)] | String.IsEqual($PARAM[listitem].DBType,set)</visible>
                </control>
                
                <!--  *** Completed Tick -->
                <control type="image">
                    <include content="Dimension_Padding"><param name="pad" value="20" /></include>
                    <texture colordiffuse="$VAR[ColorWatchedProgress]">indicator/checkmark.png</texture>
                    <visible>!Skin.HasSetting(Indicator.DisableWatched)</visible>
                    <visible>String.IsEqual($PARAM[listitem].Overlay,OverlayWatched.png) | [!String.IsEmpty($PARAM[listitem].PlayCount) + !Integer.IsEqual($PARAM[listitem].PlayCount,0) + !String.IsEqual($PARAM[listitem].DBType,song) + !String.IsEqual($PARAM[listitem].DBType,album) + !String.IsEqual($PARAM[listitem].DBType,artist) + !String.IsEqual($PARAM[listitem].DBType,image) + !String.IsEqual($PARAM[listitem].DBType,addon)]</visible>
                    <visible>Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0)  | Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                    <visible>!$PARAM[listitem].IsRecording + !$PARAM[listitem].HasTimer</visible>
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                
                <!--  *** Unwatched episodes     -->                
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(UnWatchedEpisodes)]</label>
                    <visible>[!Integer.IsEqual($PARAM[listitem].Property(UnWatchedEpisodes),0) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season) | String.IsEqual($PARAM[listitem].DBType,episode)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                    
                    <!--  *** Removed as blocks Unwatched episodes after show has been started                    
                    <visible>!$PARAM[listitem].IsResumable | Skin.HasSetting(Indicator.DisableProgress)</visible>
                    -->    
                    <visible>![!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,episode) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)]</visible>
                </control>
                <control type="label">
                    <font>font_hint_bold</font>
                    <align>center</align>
                    <aligny>center</aligny>
                    <textcolor>panel_fg_100</textcolor>
                    <label>$INFO[$PARAM[listitem].Property(Episodes)]</label>
                    <visible>!String.IsEmpty($PARAM[listitem].Property(role)) + [String.IsEqual($PARAM[listitem].DBType,tvshow) | String.IsEqual($PARAM[listitem].DBType,season)] + !Skin.HasSetting(Indicator.DisableEpisodes)</visible>
                </control>
            </control>
        </definition>
    </include>
Thanks a lot for your patience in debugging. Everything looks great with this version now. Really appreciate your help again!
Reply
Is there any way to show movie/tv name when browsing titles in poster wall view? If not any pointers on which part of the code base to touch? Thanks.
Reply
(2024-04-15, 05:49)MaxPlanck55 Wrote: Is there any way to show movie/tv name when browsing titles in poster wall view? If not any pointers on which part of the code base to touch? Thanks.
your post has been moved to the correct location
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
FYI link to zipfile is giving 404 error.
Nvidia ShieldTV (2017)+Nexus
Reply
(2024-04-15, 05:49)MaxPlanck55 Wrote: Is there any way to show movie/tv name when browsing titles in poster wall view? If not any pointers on which part of the code base to touch? Thanks.

A quick and easy way to add the movie / tvshow / set title to the poster wall. It doesn't display for seasons and episodes. Better to use poster row for seasons or it looks weird. Episodes don't have the wall view.
Make sure you are displaying the Footer > Media Information in Options as the changes use it. If you normally see the codecs all is good.

Edit Includes_Furniture.xml and change the Include "Furniture_Bottom_Left" Line 164 to 

Code:
    <include name="Furniture_Bottom_Left">
        <param name="enabled">!Skin.HasSetting(Furniture.DisableLeftFooter)</param>
        <definition>
            <include content="Furniture_Bottombar_Group" condition="$PARAM[enabled]">
                <include content="Furniture_Gutters">

                    <!-- Add the Movie Title -->                    
                    <control type="label">
                        <top>-70</top>
                        <font>font_huge_bold</font>
                        <textcolor>ffEEEEEE</textcolor>
                        <label>$INFO[ListItem.Title]</label>
                        <!-- Only display title if Movie, Set or TVShow  -->
                        <visible>String.IsEqual(listitem.DBType,movie) | String.IsEqual(listitem.DBType,set) | String.IsEqual(listitem.DBType,tvshow)</visible>
                    </control>

                    <!-- Move the codecs down a bit so there's more room for the title -->
                    <include content="Info_Codecs">
                    <top>30</top>
                        <param name="align" value="left" />
                    </include>

                </include>
            </include>
        </definition>
    </include>

Reposition and change colour as you like. Fonts and sizes are in fonts.xml
If you need more help with the changes, just ask.
Reply
(2024-04-13, 00:25)psbguy Wrote: Would it be possible to display the numerical percentage progress for Live TV? I'm unable to display the label for (listitem.Progress)

Seeing as nobody has replied yet to your other thread about this, I'll try to help.

If it's a widget then chances are you'll need to access the listitem.Progress via the container id
eg if you look at includes_widgets.xml you'll see Container($PARAM[id]).ListItem.Rating

Try hijacking a value and see what happens with Container($PARAM[id]).ListItem.Progress

I'm no expert on widgets by any means but that's where I'd start.
Reply
Working blind, here's a couple of suggestions.
Do you have Settings -> Device preferences -> Display & Sound -> Power control -> Sleep SHIELD when TV input changes disabled?

(2024-04-12, 17:00)satelly Wrote: Currently run a shield TV with Kodi the only app. I never exit Kodi, I presume either it or the shield goes to sleep when it hasn't been used. I found with AH2 when I turn the shield back on, AH2 has the spinning wheel for several minutes before I can navigate.

Do you have 'Keep Audio Device Alive' set in Options? It can cause locking issues in Kodi on the shield.
Do other skins that work use TMDB Helper?

(2024-04-12, 17:00)satelly Wrote: I have a fullscreen widget for all my main menu items eg. Movies, TV series, Sports etc which shows the most recently viewed video under each main menu. I presume when Kodi wakes up, it must be setting up these widgets. I thought setting the limit to 10 for each menu would help quicken things up but despite limiting it to 10, when I scroll through the widget items it seems unlimited rather than just showing the 10 items. Any other advise to try to limit the widgets and quicken the skin as I think it is still the best.

I've just changed my full screen to recently played and recently added and both correctly limit the number to 10. Are you using your own playlist or a generic one?
Can you screenshot your settings?
Reply
(2024-04-15, 22:28)ChocOranger Wrote:
(2024-04-13, 00:25)psbguy Wrote: Would it be possible to display the numerical percentage progress for Live TV? I'm unable to display the label for (listitem.Progress)

Seeing as nobody has replied yet to your other thread about this, I'll try to help.

If it's a widget then chances are you'll need to access the listitem.Progress via the container id
eg if you look at includes_widgets.xml you'll see Container($PARAM[id]).ListItem.Rating

Try hijacking a value and see what happens with Container($PARAM[id]).ListItem.Progress

I'm no expert on widgets by any means but that's where I'd start.
I will look into that, thank you!
Reply
@ChocOranger Thank you so much for your help. Much appreciated. I tried your code and it worked.

However, I should have explained my requirement better. I was hoping to place the title right under the poster, just like AuraMod does. (Kinda like how it's in Landscape row view but just the name.)

I did fiddle with "includes_list.xml" in the "List_Poster_Wall" section but I couldn't place the title at the right spot. I'm looking into AuraMod source but it's not too much trouble, can you guide me as to how to properly position? Thanks.
Reply
(2024-04-16, 19:31)MaxPlanck55 Wrote: However, I should have explained my requirement better. I was hoping to place the title right under the poster, just like AuraMod does. (Kinda like how it's in Landscape row view but just the name.)
It's too much work as the skin is designed around screen areas and everything slots into them.
Lots of small bits are built into bigger and bigger things until you get the wall, so you'd end up with a chain of changes in quite a few places.

I've never used AuraMod but surely the title under the poster would have to be tiny to be useful.

You'd be better using the landscape poster. It's designed for displaying titles and easy to get rid of the genres if you don't like them.

Or you could use AuraMod for Omega which is available at https://github.com/alexbelgium/skin.auramod
Reply
  • 1
  • 198
  • 199
  • 200(current)
  • 201
  • 202
  • 205

Logout Mark Read Team Forum Stats Members Help
Arctic Horizon 20