Blue Vision (6 Viewers)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,742
    3,501
    Stuttgart
    Home Country
    Germany Germany
    I retested the Mouse Wheel functions using Titanium
    Same issues.... So this is not an issue with BlueVision.....
    Good to hear that, I was going to check it after being back home.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,742
    3,501
    Stuttgart
    Home Country
    Germany Germany
    for me the album cover isn't "zoomed in" like in ApolloOne, instead only half of the cover is visible (see screenshot)
    Scaling of FanArt is optimized. For video no change, but for audio full cover (with small horizontal stretch) is visible now. Changes are only on GitHub at the moment. I'll update the download files after some changes accumulate.
    Unbenannt.jpg
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,736
    1,196
    Alingsås
    Home Country
    Sweden Sweden
    But, the aspect ratio seems off in that screenshot compared to the album thumb to the left, or am I missing how it's supposed to work?

    Emph
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Scaling of FanArt is optimized. For video no change, but for audio full cover (with small horizontal stretch) is visible now. Changes are only on GitHub at the moment. I'll update the download files after some changes accumulate.
    Thanks, I can checkout the source and compile ;) But as @emphatic said the cover has now wrong aspect ratio. I can post a screenshot, but you can see it in your screenshot already :) The cover shouldn't be stretched in any direction.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,742
    3,501
    Stuttgart
    Home Country
    Germany Germany
    But, the aspect ratio seems off in that screenshot compared to the album thumb to the left, or am I missing how it's supposed to work?

    Emph
    Scaling of FanArt is optimized. For video no change, but for audio full cover (with small horizontal stretch) is visible now. Changes are only on GitHub at the moment. I'll update the download files after some changes accumulate.
    Thanks, I can checkout the source and compile ;) But as @emphatic said the cover has now wrong aspect ratio. I can post a screenshot, but you can see it in your screenshot already :) The cover shouldn't be stretched in any direction.

    yes, the cover is stretched :) the question is which style looks better. Previous was zoomed and cropped at the sides. I think it looks better now.
    In future audio fan arts should appear here, but first the mentioned MIA rework needs to be completed. See the current state as temporal ;)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    @ge2301 the right fanart image is included by this screen:
    https://github.com/MediaPortal/Medi...ueVision/screens/SimpleShowItems.xaml#L49-L56

    And this MediaItemFanart only has one single width/margin defined: https://github.com/MediaPortal/Medi.../BlueVision/screens/MediaItemFanArt.inc#L8-L9.

    The solution would be the same as for the lower area, where differnt templates are chosen:
    https://github.com/MediaPortal/Medi...n/BlueVision/screens/MultiDetails.inc#L24-L27
    The means you should add a multibinding to size property of the fanart image, checking for an AudioAspect. If present use a square size, if not use the current one.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,742
    3,501
    Stuttgart
    Home Country
    Germany Germany
    @ge2301 the right fanart image is included by this screen:
    https://github.com/MediaPortal/Medi...ueVision/screens/SimpleShowItems.xaml#L49-L56
    And this MediaItemFanart only has one single width/margin defined: https://github.com/MediaPortal/Medi.../BlueVision/screens/MediaItemFanArt.inc#L8-L9.
    The solution would be the same as for the lower area, where differnt templates are chosen:
    https://github.com/MediaPortal/Medi...n/BlueVision/screens/MultiDetails.inc#L24-L27
    The means you should add a multibinding to size property of the fanart image, checking for an AudioAspect. If present use a square size, if not use the current one.

    Thanks, it's working when taking this as reference :) Only audio part is (almost) squared, no change for video (movie, series) part.
    Unbenannt.jpg

    But before pushing the changes I want to be sure what the MIA changes will bring in order to avoid double efforts.
    Whatever I change now, I do not want to change back later, if avoidable.

    @MrTechno @Lehmden
    Do you already know, if there will be Audio Fanarts? (I saw some in MP1 and it would be great to have them)

    If so, I'd rather keep the current aspect to be ready for the Fanarts.
    On the other hand the question rises, what if there is no Audio Fanart for a certain song.
    The Fallback source would be the audio cover, which has a square aspect ratio again.

    @morpheus_xx
    do you also have a quick solution to have not a scaled thumbnail fanart for images, but higher resolution fanart?
    Or does this require further modification, that need time?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Fanart loading is supporting different kind of formats:
    https://github.com/MediaPortal/Medi...Service.Interfaces/FanArtConstants.cs#L29-L57
    So you can (try to) load fanart for Audio/Poster (which would be the Cover) or Audio/FanArt which could be artists images.
    Which content is provided for what argument is decided by the Fanart providers in the MP2-Server.

    For your client work this means in principle that you don't need to take too much care for it. The arguments for FanartImageSources probably won't change with the backend rework.

    If you want to use different aspect ratio images, you should use Stretch=Uniform.

    do you also have a quick solution to have not a scaled thumbnail fanart for images, but higher resolution fanart?
    I don't know yet for sure, but there seems to be thumbnails prefferred during import, which are extracted from Image EXIF data. There is usually a (very small) thumb embedded, so cameras are able to browse the images quickly.

    We might need to ignore those kinds of (too small) thumbs and create our own.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,742
    3,501
    Stuttgart
    Home Country
    Germany Germany
    If you want to use different aspect ratio images, you should use Stretch=Uniform.
    I intentionally switched from Uniform to Fill, because the OpacityMask does not work for some reasons. The edges are always unrounded for audio covers with "uniform".
    Code:
      <Image Grid.Column="0" Stretch="Fill" Margin="0,0,0,0"
             Source="{Binding Source={StaticResource FanArtBackgroundModel}, Path=ImageSource, Converter={StaticResource FanArtImageSourceConverter}, ConverterParameter=FanArt;560;560}"  
             FallbackSource="{Binding Source={StaticResource FanArtBackgroundModel},Path=MediaItem}"
             OpacityMask="{ThemeResource HomeTileOpacityBrush}">
      </Image>
     

    Users who are viewing this thread

    Top Bottom