diff --git a/1080i/Includes.xml b/1080i/Includes.xml index a1f9aa703..e7c316b98 100644 --- a/1080i/Includes.xml +++ b/1080i/Includes.xml @@ -510,6 +510,7 @@ $INFO[Container(301152).ListItem.Art(fanart)] + $INFO[Window(Home).Property(PVR.Artwork.fanart)] $INFO[Container(9988).ListItem.Art(fanart)] $INFO[Container(300).ListItem.Property(Background)] $INFO[Skin.String(home.slideshowpath)] @@ -519,6 +520,8 @@ $INFO[Container(301).ListItem.Property(Background)] common/null.png pvr/background.jpg + $INFO[Window(Home).Property(PVR.Artwork.Fanart)] + $INFO[Window(Home).Property(PVR.Artwork.Fanart)] $INFO[Window(Home).Property(SkinHelper.ExtraFanArtPath)] $INFO[ListItem.Art(fanart)] $INFO[Container(9500).ListItem.Art(fanart)] diff --git a/1080i/Includes_Images.xml b/1080i/Includes_Images.xml index d4169056b..c9daa7da0 100644 --- a/1080i/Includes_Images.xml +++ b/1080i/Includes_Images.xml @@ -323,13 +323,17 @@ + $INFO[Window(Home).Property(PVR.Artwork.fanart)] + $INFO[Window(Home).Property(PVR.Artwork.poster)] $INFO[Window(Home).Property(SkinHelper.ListItem.Art.Fanart)] $INFO[ListItem.Icon] $INFO[ListItem.Icon] - $INFO[ListItem.EpgEventIcon] + $INFO[Window(Home).Property(PVR.Artwork.fanart)] + $INFO[Window(Home).Property(PVR.Artwork.poster)] + $INFO[ListItem.EpgEventIcon] $INFO[ListItem.Icon] diff --git a/1080i/Includes_OSD.xml b/1080i/Includes_OSD.xml index 5459667a9..1b42a0338 100644 --- a/1080i/Includes_OSD.xml +++ b/1080i/Includes_OSD.xml @@ -2833,7 +2833,7 @@ scale - !VideoPlayer.Content(LiveTV) + [!String.IsEmpty(Player.Art(tvshow.poster)) | !String.IsEmpty(Player.Art(poster))] + [!VideoPlayer.Content(LiveTV) + [!String.IsEmpty(Player.Art(tvshow.poster)) | !String.IsEmpty(Player.Art(poster))]] | [VideoPlayer.Content(LiveTV) + !String.IsEmpty(Window(Home).Property(PVR.Artwork.poster)) + Skin.HasSetting(Skin_enablePvrArtwork)] -51 -241 272 @@ -2857,6 +2857,15 @@ common/box21.png VideoPlayer.Content(LiveTV) + !String.IsEmpty(Player.Art(thumb)) + !Skin.HasSetting(osd.disable.icon.background.pvr) + + -50 + -240 + 270 + 390 + scale + $INFO[Window(Home).Property(PVR.Artwork.poster)] + VideoPlayer.Content(LiveTV) + !String.IsEmpty(Window(Home).Property(PVR.Artwork.poster)) + Skin.HasSetting(Skin_enablePvrArtwork) + 230 230 @@ -2864,7 +2873,7 @@ 20 keep $INFO[Player.Art(thumb)] - VideoPlayer.Content(LiveTV) + !String.IsEmpty(Player.Art(thumb)) + VideoPlayer.Content(LiveTV) + !String.IsEmpty(Player.Art(thumb)) + [[String.IsEmpty(Window(Home).Property(PVR.Artwork.poster)) + Skin.HasSetting(Skin_enablePvrArtwork)] | !Skin.HasSetting(Skin_enablePvrArtwork)] diff --git a/1080i/Includes_PVR.xml b/1080i/Includes_PVR.xml index d88887fa3..5808ce47b 100644 --- a/1080i/Includes_PVR.xml +++ b/1080i/Includes_PVR.xml @@ -178,17 +178,7 @@ scale - 10 - 10 - 10 - 10 - scale - pvr/background.jpg - !Player.HasVideo + String.IsEmpty(Listitem.EpgEventIcon) + String.IsEmpty(Listitem.Icon) - PosterFanartFadetime - - - !Player.HasVideo + String.IsEmpty(Listitem.EpgEventIcon) + !Player.HasVideo + String.IsEmpty(Listitem.EpgEventIcon) + [[String.IsEmpty(Window(Home).Property(PVR.Artwork.fanart)) + String.IsEmpty(Window(Home).Property(PVR.Artwork.poster)) + Skin.HasSetting(Skin_enablePvrArtwork)] | !Skin.HasSetting(Skin_enablePvrArtwork)] 70 30 70 @@ -198,13 +188,13 @@ PosterFanartFadetime - !Player.HasVideo + !String.IsEmpty(Listitem.EpgEventIcon) + !Player.HasVideo + [!String.IsEmpty(Listitem.EpgEventIcon) | !String.IsEmpty(ListItem.Icon) | [Skin.HasSetting(Skin_enablePvrArtwork) + [!String.IsEmpty(Window(Home).Property(PVR.Artwork.fanart)) | !String.IsEmpty(Window(Home).Property(PVR.Artwork.poster))]]] 10 10 10 10 keep - $INFO[ListItem.EpgEventIcon] + $VAR[ChannelListEPGIconVar] PosterFanartFadetime diff --git a/1080i/MyPVRGuide.xml b/1080i/MyPVRGuide.xml index 5f1c97694..b8451747a 100644 --- a/1080i/MyPVRGuide.xml +++ b/1080i/MyPVRGuide.xml @@ -73,7 +73,8 @@ 240 0 keep - $INFO[ListItem.Icon] + $VAR[ChannelListEPGIconVar] + PosterFanartFadetime @@ -421,4 +422,4 @@ PVRSideBlade - \ No newline at end of file + diff --git a/1080i/SkinSettings.xml b/1080i/SkinSettings.xml index eb7021fc8..74f8bae92 100644 --- a/1080i/SkinSettings.xml +++ b/1080i/SkinSettings.xml @@ -2090,6 +2090,11 @@ + + + + + @@ -2467,6 +2472,15 @@ Skin.HasSetting(dontuselandscapemovies) Skin.ToggleSetting(dontuselandscapemovies) + + 1360 + ControlGroup(9100).HasFocus(9106) + DefSettingsButtonGradientSkinSettings + + Skin.HasSetting(Skin_enablePvrArtwork) + Skin.ToggleSetting(Skin_enablePvrArtwork) + System.AddonIsEnabled(script.module.pvr.artwork) + @@ -2982,7 +2996,6 @@ Skin.ToggleSetting(lock.skinsettings) !Skin.HasSetting(disable.startup.window) - ControlGroup(9100).HasFocus(9107) horizontal diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index 5f6bb0fb9..6abde4909 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -2484,3 +2484,8 @@ msgstr "" msgctxt "#31674" msgid "Critics consensus" msgstr "" + +msgctxt "#31675" +msgid "Use artwork module for PVR artwork" +msgstr "" +