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
FanArt transition
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: 1172995" data-attributes="member: 145639"><p>[USER=48291]@Brownard[/USER]</p><p>I've modified the FanArt screen a bit in order to show more from images and audio poster.</p><p>Currently those FanArts are too small, because they are uniformed into space, that is intended for movie posters.</p><p></p><p>Everything looks basically ok, just then switching between FanArts with different aspect there is a sudden jump.</p><p>It seems that the FanArt is changing the position after the ImageSourceWrapper finished it's transition effect.</p><p></p><p>Attached a small movie showing this.</p><p></p><p>Do you have an idea, why this happens or how we can prevent it?</p><p></p><p>Here the code in MediaItemFanArt.inc:</p><p>[CODE=XML]<Grid</p><p> xmlns="www.team-mediaportal.com/2008/mpf/directx"</p><p> xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"</p><p> xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client"</p><p> xmlns:media="clr-namespace:MediaPortal.UiComponents.Media.Models.AspectWrappers;assembly=Media"</p><p> x:Name="MediaItemDetails" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="{DynamicResource Cover_Width}"</p><p> Margin="-25,-20,-80,30"></p><p></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="*"/></p><p> </Grid.RowDefinitions></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="*"/></p><p> </Grid.ColumnDefinitions></p><p> <Grid.Resources></p><p> <fanart:FanArtImageSourceConverter x:Key="FanArtImageSourceConverter"/></p><p> </Grid.Resources></p><p></p><p> <Image Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Stretch="Uniform" Margin="0,0,5,0" Height="560"></p><p> <Image.Source></p><p> <ImageSourceWrapper Delay="0.5" DelayInOut="true" Transition="transitions\dissolve" TransitionDuration="0.5"</p><p> Source="{Binding Source={StaticResource FanArtBackgroundModel}, Path=ImageSource, Converter={StaticResource FanArtImageSourceConverter}, ConverterParameter=Poster;0;0;False}"</p><p> FallbackSource="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}" /></p><p> </Image.Source></p><p> </Image></p><p></Grid>[/CODE]</p></blockquote><p></p>
[QUOTE="ge2301, post: 1172995, member: 145639"] [USER=48291]@Brownard[/USER] I've modified the FanArt screen a bit in order to show more from images and audio poster. Currently those FanArts are too small, because they are uniformed into space, that is intended for movie posters. Everything looks basically ok, just then switching between FanArts with different aspect there is a sudden jump. It seems that the FanArt is changing the position after the ImageSourceWrapper finished it's transition effect. Attached a small movie showing this. Do you have an idea, why this happens or how we can prevent it? Here the code in MediaItemFanArt.inc: [CODE=XML]<Grid xmlns="www.team-mediaportal.com/2008/mpf/directx" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:fanart="clr-namespace:MediaPortal.Extensions.UserServices.FanArtService.Client;assembly=FanArtService.Client" xmlns:media="clr-namespace:MediaPortal.UiComponents.Media.Models.AspectWrappers;assembly=Media" x:Name="MediaItemDetails" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="{DynamicResource Cover_Width}" Margin="-25,-20,-80,30"> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.Resources> <fanart:FanArtImageSourceConverter x:Key="FanArtImageSourceConverter"/> </Grid.Resources> <Image Grid.Row="0" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center" Stretch="Uniform" Margin="0,0,5,0" Height="560"> <Image.Source> <ImageSourceWrapper Delay="0.5" DelayInOut="true" Transition="transitions\dissolve" TransitionDuration="0.5" Source="{Binding Source={StaticResource FanArtBackgroundModel}, Path=ImageSource, Converter={StaticResource FanArtImageSourceConverter}, ConverterParameter=Poster;0;0;False}" FallbackSource="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}" /> </Image.Source> </Image> </Grid>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
FanArt transition
Contact us
RSS
Top
Bottom