2019-08-18, 00:03
@melons2 and others.
If you guys are looking for a solution to the stats for Music, Movies and Music Videos, then here is the code that I modified. This can be pasted over the existing code in the "IncludesVariables.xml" file. It can be found right under:
BACKUP YOUR FILE 1ST
Note: The language file (addon) I have installed for this is: resource.language.en_us
Cheers!
Shedrock
If you guys are looking for a solution to the stats for Music, Movies and Music Videos, then here is the code that I modified. This can be pasted over the existing code in the "IncludesVariables.xml" file. It can be found right under:
BACKUP YOUR FILE 1ST
Note: The language file (addon) I have installed for this is: resource.language.en_us
as melons2 made reference to in an earlier post. This code is consistent with the rest of the skin so far. I also fixed the one for TV Shows, but for some reason or the other I had to add my own strings to the language file, but I will sort that out.php:<variable name="value_librarystatus">
php:<value condition="String.Contains(Container(9000).ListItem.Property(id),movie)">[color=$INFO[Skin.String(colorheader)]]$LOCALIZE[20342]:[/color] $INFO[Window(0).Property(Movies.Count)][color=80FFFFFF] | [/color][color=$INFO[Skin.String(colorheader)]]$LOCALIZE[16102]:[/color] $INFO[Window(0).Property(Movies.Watched)][color=80FFFFFF] | [/color][color=$INFO[Skin.String(colorheader)]]$LOCALIZE[16101]:[/color] $INFO[Window(0).Property(Movies.UnWatched)]</value>
<value condition="String.Contains(Container(9000).ListItem.Property(id),concert)">[color=$INFO[Skin.String(colorheader)]]$LOCALIZE[20389]:[/color] $INFO[Window(0).Property(MusicVideos.Count)][color=80FFFFFF] | [/color]$INFO[Window(0).Property(Music Videos.Count), -$LOCALIZE[20360]][color=$INFO[Skin.String(colorheader)]]$LOCALIZE[16101]:[/color] $INFO[Window(0).Property(MusicVideos.UnWatched)]</value>
<value condition="String.Contains(Container(9000).ListItem.Property(id),music)">[color=$INFO[Skin.String(colorheader)]]$LOCALIZE[133]:[/color] $INFO[Window(0).Property(Music.ArtistsCount),][color=80FFFFFF] | [/color][color=$INFO[Skin.String(colorheader)]]$LOCALIZE[132]:[/color] $INFO[Window(0).Property(Music.AlbumsCount)][color=80FFFFFF] | [/color][color=$INFO[Skin.String(colorheader)]]$LOCALIZE[182]:[/color] $INFO[Window(0).Property(Music.SongsCount)]</value>
Cheers!
Shedrock