Bug and Problem Reports | Page 13

Discussion in 'WMC Skin' started by ge2301, January 7, 2017.

  1. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    I don't have music stored locally. Did you check with webradio plugin (audio) too? Maybe there is only a problem with this plugin.

    See this screenshot:
    [​IMG]


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    No, I have no checked/changed any plugins as WebRadio.
    I'll do after my vacation.
     
    • Like Like x 1
    • Thank You! Thank You! x 1
  4. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    @Holzi
    it's nothing I can directly fix within the skin files. The video preview or image is shown according to the player content (audio, video, TV).
    WebRadio falls into the category audio, but of course no cover can be found. To show the radio station image, I'd need a parameter knowing WebRadio is playing.
    @morpheus_xx maybe you have a good idea. Otherwise I can only set a fallback image, that is always shown, if no cover is available.
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    11,023
    Likes Received:
    4,750
    Ratings:
    +6,796 / 11
    Home Country:
    Germany Germany
    Show System Specs
    I don't know without checking the plugin logic. It is possible to store the thumbnail data within the mediaitem, but this has to be done by the plugin.
    So a generic fall back image is generally a good choice

    Gesendet von meinem SM-G930F mit Tapatalk
     
  6. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    @Holzi
    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):
    1.   <Style x:Key="PipControlStyle" TargetType="{x:Type Control}">
    2.     <Setter Property="Template">
    3.       <Setter.Value>
    4.         <ControlTemplate>
    5.           <mp_special_controls:PlayerControl x:Name="PiPControl" AutoVisibility="True" PlayerContext="SecondaryPlayer"
    6.              FixedImageWidth="{ThemeResource PiPVideoWidth}">
    7.             <mp_special_controls:PlayerControl.TemplateControl>
    8.               <Border x:Name="PiPControlBorder"
    9.                  DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"
    10.                  BorderBrush="{ThemeResource PipBorderColor}" BorderThickness="{ThemeResource PipBorderThickness}">
    11.                 <Grid Background="{ThemeResource DialogBackgroundGradient2Color}">
    12.                   <Grid.ColumnDefinitions>
    13.                     <ColumnDefinition Width="Auto"/>
    14.                   </Grid.ColumnDefinitions>
    15.                   <Grid.RowDefinitions>
    16.                     <RowDefinition Height="Auto"/>
    17.                   </Grid.RowDefinitions>
    18.                   <Control x:Name="PiPVideo" IsVisible="{Binding IsVideoPlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}">
    19.                     <Control.Background>
    20.                       <VideoBrush Stream="1"/>
    21.                     </Control.Background>
    22.                   </Control>
    23.                   <Image x:Name="PiPImage" IsVisible="{Binding IsImagePlayerPresent}" Width="{Binding ImageWidth}" Height="{Binding ImageHeight}" Stretch="Uniform">
    24.                     <Image.Source>
    25.                       <ImagePlayerImageSource Stream="1"
    26.                          Transition="transitions\granular_dissolve;transitions\fade;transitions\dissolve;transitions\wipe_right;transitions\wipe_down;transitions\wipe_down-right;transitions\wipe_up-left"
    27.                          TransitionInOut="False" />
    28.                     </Image.Source>
    29.                   </Image>
    30.                   <Image x:Name="PiPAudio" IsVisible="{Binding IsAudioPlayerPresent}" Stretch="Uniform" Width="200" Height="200">
    31.                     <Image.Source>
    32.                       <fanart:FanArtImageSource fanart:FanArtMediaType="Album" fanart:FanArtType="Poster" fanart:FanArtName="{Binding MediaItem.MediaItemId}"
    33.                                            fanart:MaxWidth="200" fanart:MaxHeight="200"/>
    34.                     </Image.Source>
    35.                   </Image>
    36.                   <Image Stretch="Uniform" Source="audio.png" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="200" Margin="50">
    37.                     <Image.IsVisible>
    38.                       <MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}" ConverterParameter="{}{0}&amp;&amp;{1}">
    39.                         <Binding ElementName="PiPAudio" Path="!HasImage"/>
    40.                         <Binding Path="IsAudioPlayerPresent"/>
    41.                       </MultiBinding>
    42.                     </Image.IsVisible>
    43.                   </Image>
    44.                 </Grid>
    45.               </Border>
    46.             </mp_special_controls:PlayerControl.TemplateControl>
    47.           </mp_special_controls:PlayerControl>
    48.         </ControlTemplate>
    49.       </Setter.Value>
    50.     </Setter>
    51.   </Style>
    You should see an audio fallback image in case of WebRadio instead of the empty frame.
    If you confirm, I'll push the fix.
     
  7. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    I fixed two other issues, available with MP2.2.1 Release
    • Narrow white frame surrounding the background in same screens
    • Removed annoying player settings appearing in some screens (weather, news, user, homeeditor), when a MI is playing
     
    • Like Like x 1
  8. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    I`ll install the latest build and gonna test it.
    But would it not be better while playing audio in PIP mode you just see the fullscreen video picture without any cover image or frame and see the cover only if you use mouse controls or on remote input (OSD).
     
  9. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    I could also remove the preview when no mouse is used or OSD is incactive. But then there would be no indicator showing, that PiP mode is active. @morpheus_xx what do you think? You initially made it work as now. I do not use PiP and I can do it however wished.
     
  10. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    I think its good for audio but the video picture should still remain.
    Here is the test:
    audio_video_PIP.png

    Default picture is shown for webradio. :)
     
  11. ge2301
    • Team MediaPortal

    ge2301 MP2 Design

    Joined:
    January 11, 2014
    Messages:
    6,165
    Likes Received:
    1,555
    Gender:
    Male
    Occupation:
    Automotive Industry
    Location:
    Stuttgart (But living abroad)
    Ratings:
    +2,340 / 2
    Home Country:
    Germany Germany
    Ok, I pushed the fix. btw. the size of the fallback was by accident too large because 50 pixel were added by a margin. It will have of course the same size as the normal cover (approx. 30% smaller than in your screen shot)
     
    • Thank You! Thank You! x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!