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
WMC Skin
Bug and Problem Reports
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: 1257192" data-attributes="member: 145639"><p>[USER=104034]@Holzi[/USER] </p><p>Could you please check following for me?</p><p>Go to "\Plugins\SkinBase\Skin\default\themes\default\styles" and open the othercontrols.xaml file.</p><p>Replace the related code part with below after creating a backup:</p><p>[CODE=XML] <Style x:Key="PipControlStyle" TargetType="{x:Type Control}"></p><p> <Setter Property="Template"></p><p> <Setter.Value></p><p> <ControlTemplate></p><p> <mp_special_controls:PlayerControl x:Name="PiPControl" AutoVisibility="True" PlayerContext="SecondaryPlayer"</p><p> FixedImageWidth="{ThemeResource PiPVideoWidth}"></p><p> <mp_special_controls:PlayerControl.TemplateControl></p><p> <Border x:Name="PiPControlBorder"</p><p> DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"</p><p> BorderBrush="{ThemeResource PipBorderColor}" BorderThickness="{ThemeResource PipBorderThickness}"></p><p> <Grid Background="{ThemeResource DialogBackgroundGradient2Color}"></p><p> <Grid.ColumnDefinitions></p><p> <ColumnDefinition Width="Auto"/></p><p> </Grid.ColumnDefinitions></p><p> <Grid.RowDefinitions></p><p> <RowDefinition Height="Auto"/></p><p> </Grid.RowDefinitions></p><p> <Control x:Name="PiPVideo" IsVisible="{Binding IsVideoPlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}"></p><p> <Control.Background></p><p> <VideoBrush Stream="1"/></p><p> </Control.Background></p><p> </Control></p><p> <Image x:Name="PiPImage" IsVisible="{Binding IsImagePlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}" Stretch="Uniform"></p><p> <Image.Source></p><p> <ImagePlayerImageSource Stream="1"</p><p> Transition="transitions\granular_dissolve;transitions\fade;transitions\dissolve;transitions\wipe_right;transitions\wipe_down;transitions\wipe_down-right;transitions\wipe_up-left"</p><p> TransitionInOut="False" /></p><p> </Image.Source></p><p> </Image></p><p> <Image x:Name="PiPAudio" IsVisible="{Binding IsAudioPlayerPresent}" Stretch="Uniform" Width="200" Height="200"></p><p> <Image.Source></p><p> <fanart:FanArtImageSource fanart:FanArtMediaType="Album" fanart:FanArtType="Poster" fanart:FanArtName="{Binding MediaItem.MediaItemId}"</p><p> fanart:MaxWidth="200" fanart:MaxHeight="200"/></p><p> </Image.Source></p><p> </Image></p><p> <Image Stretch="Uniform" Source="audio.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="200" Margin="50"></p><p> <Image.IsVisible></p><p> <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}&amp;&amp;{1}"></p><p> <Binding ElementName="PiPAudio" Path="!HasImage"/></p><p> <Binding Path="IsAudioPlayerPresent"/></p><p> </MultiBinding></p><p> </Image.IsVisible></p><p> </Image></p><p> </Grid></p><p> </Border></p><p> </mp_special_controls:PlayerControl.TemplateControl></p><p> </mp_special_controls:PlayerControl></p><p> </ControlTemplate></p><p> </Setter.Value></p><p> </Setter></p><p> </Style>[/CODE]</p><p></p><p>You should see an audio fallback image in case of WebRadio instead of the empty frame.</p><p>If you confirm, I'll push the fix.</p></blockquote><p></p>
[QUOTE="ge2301, post: 1257192, member: 145639"] [USER=104034]@Holzi[/USER] Could you please check following for me? Go to "\Plugins\SkinBase\Skin\default\themes\default\styles" and open the othercontrols.xaml file. Replace the related code part with below after creating a backup: [CODE=XML] <Style x:Key="PipControlStyle" TargetType="{x:Type Control}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <mp_special_controls:PlayerControl x:Name="PiPControl" AutoVisibility="True" PlayerContext="SecondaryPlayer" FixedImageWidth="{ThemeResource PiPVideoWidth}"> <mp_special_controls:PlayerControl.TemplateControl> <Border x:Name="PiPControlBorder" DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}" BorderBrush="{ThemeResource PipBorderColor}" BorderThickness="{ThemeResource PipBorderThickness}"> <Grid Background="{ThemeResource DialogBackgroundGradient2Color}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <Control x:Name="PiPVideo" IsVisible="{Binding IsVideoPlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}"> <Control.Background> <VideoBrush Stream="1"/> </Control.Background> </Control> <Image x:Name="PiPImage" IsVisible="{Binding IsImagePlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}" Stretch="Uniform"> <Image.Source> <ImagePlayerImageSource Stream="1" Transition="transitions\granular_dissolve;transitions\fade;transitions\dissolve;transitions\wipe_right;transitions\wipe_down;transitions\wipe_down-right;transitions\wipe_up-left" TransitionInOut="False" /> </Image.Source> </Image> <Image x:Name="PiPAudio" IsVisible="{Binding IsAudioPlayerPresent}" Stretch="Uniform" Width="200" Height="200"> <Image.Source> <fanart:FanArtImageSource fanart:FanArtMediaType="Album" fanart:FanArtType="Poster" fanart:FanArtName="{Binding MediaItem.MediaItemId}" fanart:MaxWidth="200" fanart:MaxHeight="200"/> </Image.Source> </Image> <Image Stretch="Uniform" Source="audio.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="200" Margin="50"> <Image.IsVisible> <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}&&{1}"> <Binding ElementName="PiPAudio" Path="!HasImage"/> <Binding Path="IsAudioPlayerPresent"/> </MultiBinding> </Image.IsVisible> </Image> </Grid> </Border> </mp_special_controls:PlayerControl.TemplateControl> </mp_special_controls:PlayerControl> </ControlTemplate> </Setter.Value> </Setter> </Style>[/CODE] You should see an audio fallback image in case of WebRadio instead of the empty frame. If you confirm, I'll push the fix. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
WMC Skin
Bug and Problem Reports
Contact us
RSS
Top
Bottom