home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
Nereus
Bugs and Improvements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ge2301" data-source="post: 1281568" data-attributes="member: 145639"><p>Hi,</p><p></p><p>Thanks.</p><p></p><p></p><p>Everything is possible in software somehow <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /> Currently your desired idea is not directly possible, but an extended editor is planned to allow better configuration of HomeContent. I can not tell you a timeline though ...</p><p>If it's very important for you, I can also tell you which code to change to have posters and the right format. You can achieve it with a text editor and my instructions <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><ul> <li data-xf-list-type="ul">Copy following file to e.g. desktop and open it with a text editor ..\\MP2-Client\plugins\Nereus\themes\default\styles\HomeContentStyles.xaml</li> <li data-xf-list-type="ul">Go to <a href="https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L11" target="_blank">here </a>in your file and add a row with following content [CODE=xml]xmlns:aspect="clr-namespace:MediaPortal.Common.MediaManagement.DefaultItemAspects;assembly=MediaPortal.Common"[/CODE]</li> <li data-xf-list-type="ul">Go <a href="https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L254-L287" target="_blank">here </a>in your file and change it to</li> <li data-xf-list-type="ul">[CODE=xml] <ControlTemplate x:Key="SeriesPosterTileTemplate"><br /> <Grid x:Name="ItemControl"><br /> <Grid.ColumnDefinitions><br /> <ColumnDefinition Width="*"/><br /> </Grid.ColumnDefinitions><br /> <Grid.RowDefinitions><br /> <RowDefinition Height="*"/><br /> <RowDefinition Height="60"/><br /> </Grid.RowDefinitions><br /> <br /> <!-- Background fill --><br /> <Rectangle Grid.Row="0" Grid.Column="0" Grid.RowSpan="2"<br /> x:Name="HomeFill" Fill="black" Opacity="0.4" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/><br /> <br /> <!-- Image --><br /> <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Stretch="Fill"><br /> <Image.Source><br /> <fanart:FanArtImageSource fanart:FanArtMediaType="Series" fanart:FanArtType="Poster" fanart:FanArtName="{Binding Source={Binding MediaItem}, Path=MediaItemId}"<br /> fanart:MaxWidth="{StaticResource PosterChacheWidth}" fanart:MaxHeight="{StaticResource PosterChacheHeight}"/><br /> </Image.Source><br /> <Image.IsVisible><br /> <MultiBinding Converter="{StaticResource MediaItemAspectToBoolConverter}"><br /> <Binding Path="MediaItemId"/><br /> <Binding Source="{x:Static aspect:SeriesAspect.ASPECT_ID}" /><br /> </MultiBinding><br /> </Image.IsVisible><br /> </Image><br /> <br /> <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Stretch="Fill"><br /> <Image.Source><br /> <fanart:FanArtImageSource fanart:FanArtMediaType="Episode" fanart:FanArtType="Poster" fanart:FanArtName="{Binding Source={Binding MediaItem}, Path=MediaItemId}"<br /> fanart:MaxWidth="{StaticResource PosterChacheWidth}" fanart:MaxHeight="{StaticResource PosterChacheHeight}"/><br /> </Image.Source><br /> <Image.IsVisible><br /> <MultiBinding Converter="{StaticResource MediaItemAspectToBoolConverter}"><br /> <Binding Path="MediaItemId"/><br /> <Binding Source="{x:Static aspect:EpisodeAspect.ASPECT_ID}" /><br /> </MultiBinding><br /> </Image.IsVisible><br /> </Image><br /> <br /> </Grid><br /> </ControlTemplate>[/CODE]</li> <li data-xf-list-type="ul">Go <a href="https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L1954-L1960" target="_blank">here</a> in your file and change it to<br /> [CODE=xml] <DataTemplate DataType="{x:Type nereus_home_content:LatestEpisodeList}"><br /> <Control Style="{ThemeResource MediaGridTemplateStyle}" Width="{ThemeResource TileGroupWidthMedium}"><br /> <Control.Resources><br /> <ResourceWrapper x:Key="Tile_Layout_Template" Value="{ThemeResource PosterTileLayout2Template}"/><br /> </Control.Resources><br /> </Control><br /> </DataTemplate><br /> [/CODE]</li> <li data-xf-list-type="ul">Overwrite the original HomeContentStyles.xaml with the modified one in ..\\MP2-Client\plugins\Nereus\themes\default\styles\ (you might be asked for admin rights, it's also better you keep a copy of the original file as backup in case something fails)</li> </ul><p></p><p>The result is:</p><p>[ATTACH=full]207688[/ATTACH]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1281568, member: 145639"] Hi, Thanks. Everything is possible in software somehow ;) Currently your desired idea is not directly possible, but an extended editor is planned to allow better configuration of HomeContent. I can not tell you a timeline though ... If it's very important for you, I can also tell you which code to change to have posters and the right format. You can achieve it with a text editor and my instructions ;) [LIST] [*]Copy following file to e.g. desktop and open it with a text editor ..\\MP2-Client\plugins\Nereus\themes\default\styles\HomeContentStyles.xaml [*]Go to [URL='https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L11']here [/URL]in your file and add a row with following content [CODE=xml]xmlns:aspect="clr-namespace:MediaPortal.Common.MediaManagement.DefaultItemAspects;assembly=MediaPortal.Common"[/CODE] [*]Go [URL='https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L254-L287']here [/URL]in your file and change it to [*][CODE=xml] <ControlTemplate x:Key="SeriesPosterTileTemplate"> <Grid x:Name="ItemControl"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/> <RowDefinition Height="60"/> </Grid.RowDefinitions> <!-- Background fill --> <Rectangle Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" x:Name="HomeFill" Fill="black" Opacity="0.4" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/> <!-- Image --> <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Stretch="Fill"> <Image.Source> <fanart:FanArtImageSource fanart:FanArtMediaType="Series" fanart:FanArtType="Poster" fanart:FanArtName="{Binding Source={Binding MediaItem}, Path=MediaItemId}" fanart:MaxWidth="{StaticResource PosterChacheWidth}" fanart:MaxHeight="{StaticResource PosterChacheHeight}"/> </Image.Source> <Image.IsVisible> <MultiBinding Converter="{StaticResource MediaItemAspectToBoolConverter}"> <Binding Path="MediaItemId"/> <Binding Source="{x:Static aspect:SeriesAspect.ASPECT_ID}" /> </MultiBinding> </Image.IsVisible> </Image> <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Stretch="Fill"> <Image.Source> <fanart:FanArtImageSource fanart:FanArtMediaType="Episode" fanart:FanArtType="Poster" fanart:FanArtName="{Binding Source={Binding MediaItem}, Path=MediaItemId}" fanart:MaxWidth="{StaticResource PosterChacheWidth}" fanart:MaxHeight="{StaticResource PosterChacheHeight}"/> </Image.Source> <Image.IsVisible> <MultiBinding Converter="{StaticResource MediaItemAspectToBoolConverter}"> <Binding Path="MediaItemId"/> <Binding Source="{x:Static aspect:EpisodeAspect.ASPECT_ID}" /> </MultiBinding> </Image.IsVisible> </Image> </Grid> </ControlTemplate>[/CODE] [*]Go [URL='https://github.com/MediaPortal/MediaPortal-2/blob/WIP_2.3.2/MediaPortal/Source/UI/Skins/Nereus/Skin/Nereus/themes/default/styles/HomeContentStyles.xaml#L1954-L1960']here[/URL] in your file and change it to [CODE=xml] <DataTemplate DataType="{x:Type nereus_home_content:LatestEpisodeList}"> <Control Style="{ThemeResource MediaGridTemplateStyle}" Width="{ThemeResource TileGroupWidthMedium}"> <Control.Resources> <ResourceWrapper x:Key="Tile_Layout_Template" Value="{ThemeResource PosterTileLayout2Template}"/> </Control.Resources> </Control> </DataTemplate> [/CODE] [*]Overwrite the original HomeContentStyles.xaml with the modified one in ..\\MP2-Client\plugins\Nereus\themes\default\styles\ (you might be asked for admin rights, it's also better you keep a copy of the original file as backup in case something fails) [/LIST] The result is: [ATTACH type="full" alt="1610111607117.png"]207688[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
Nereus
Bugs and Improvements
Contact us
RSS
Top
Bottom