From 0c694ff6a9a6478c782a48228d2a2706aec9dd14 Mon Sep 17 00:00:00 2001 From: jmriego Date: Thu, 4 Jul 2019 16:34:24 +0100 Subject: [PATCH] add posters info view --- 1080i/Custom_1117_EnableViews.xml | 10 +- 1080i/Includes_View.xml | 4 +- 1080i/Includes_View_Posters.xml | 101 +++++++++++++++++++- language/resource.language.en_gb/strings.po | 5 + 4 files changed, 113 insertions(+), 7 deletions(-) diff --git a/1080i/Custom_1117_EnableViews.xml b/1080i/Custom_1117_EnableViews.xml index b8de4d92..c459b078 100644 --- a/1080i/Custom_1117_EnableViews.xml +++ b/1080i/Custom_1117_EnableViews.xml @@ -132,7 +132,15 @@ !Skin.HasSetting(DisableViewMode.EpisodeList) SetProperty(Image_Preview,special://skin/extras/backgrounds/viewmodes/episodelist.jpg) + + + 630 + Dialog_Standard_ListButton + Skin.ToggleSetting(DisableViewMode.PosterInfo) + !Skin.HasSetting(DisableViewMode.PosterInfo) + SetProperty(Image_Preview,special://skin/extras/backgrounds/viewmodes/posterinfo.jpg) + - \ No newline at end of file + diff --git a/1080i/Includes_View.xml b/1080i/Includes_View.xml index c2ea5043..f2420b79 100644 --- a/1080i/Includes_View.xml +++ b/1080i/Includes_View.xml @@ -1,7 +1,7 @@ - 50,51,52,53,503,54,55,56,57,58,59,500,501,502 + 50,51,52,53,503,54,55,56,57,58,59,500,501,502,504 view_pad @@ -53,7 +53,7 @@ Animation_FadeIn Animation_FadeOut - + diff --git a/1080i/Includes_View_Posters.xml b/1080i/Includes_View_Posters.xml index d90c64ca..d25d83cb 100644 --- a/1080i/Includes_View_Posters.xml +++ b/1080i/Includes_View_Posters.xml @@ -12,6 +12,7 @@ View_Posters_BigPosters View_Posters_Lovefilm View_Posters_EpisodeList + View_Posters_Info @@ -479,6 +480,53 @@ + + + Control.IsVisible(504) + + View_Pad + + 20 + 750 + + 350 + scale + $INFO[ListItem.Art(fanart)] + + + 410 + 650 + + + + + + + + + + + 770 + -10 + -10 + -10 + Container.Content(movies) | Container.Content(sets) | Container.Content(tvshows) | Container.Content(seasons) | $EXP[Exp_IsPluginAdvancedLauncher] + 60 + View_NotTheseWindows + icon + + + + + + + + + + + + + @@ -487,6 +535,7 @@ + @@ -512,7 +561,10 @@ 380 View_Posters_Itemlayout_Artwork - View_Posters_Text + + 385 + View_Posters_Text + @@ -531,7 +583,10 @@ View_Selectbox - View_Posters_Text + + 385 + View_Posters_Text + @@ -573,6 +628,45 @@ + + + view_pad + -view_pad + $PARAM[top_offset] + $PARAM[bottom_offset] + + + 285 + View_Posters_Itemlayout_Artwork + + + 290 + View_Posters_Text + + + + + + $PARAM[top_offset] + $PARAM[bottom_offset] + view_pad + -view_pad + Animation_FocusBounce + + 285 + View_Posters_Focusedlayout_Artwork + + + Control.HasFocus($PARAM[id]) + View_Selectbox + + + + 290 + View_Posters_Text + + + view_pad @@ -1298,7 +1392,6 @@ main_fg_100 10 10 - 385 @@ -1308,7 +1401,7 @@ main_fg_30 10 10 - 415 + 30 diff --git a/language/resource.language.en_gb/strings.po b/language/resource.language.en_gb/strings.po index 4cc94ca3..992224ca 100644 --- a/language/resource.language.en_gb/strings.po +++ b/language/resource.language.en_gb/strings.po @@ -1963,3 +1963,8 @@ msgstr "Show trailers and special features in the preview window" msgctxt "#31411" msgid "Unavailable" msgstr "Unavailable" + +#: /1080i/Custom_1117_EnableViews.xml +msgctxt "#31412" +msgid "Poster Info" +msgstr "Poster Info"