Blue Vision (7 Viewers)

osre

Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    By the way, I often got freezes of the client when using BlueVision, something I did not know with other skin. It is related to the menu, I'm pretty sure
    thats not good :( I faced this only once, when I wiped over the menu quickly by mouse. And I could not reproduce it. Are the freezes coming randomly or after certain actions?
    Yeah, according to the failure code the menu is the root cause.
    @osre Can you have a look on this?
    I'll look into it.
    I guess it's most likely to happen when menus are changed too quickly.
    That the GUI is not responding after that might be an "issue" in the AsyncMessageHandler. Didn't looked at it so far, but I guess it has a "infinte" Loop to process the Messages, and the exception is cought outside the Loop. By this, all exception which are not cought in "user code" will break the message handling.
    @morpheus_xx Can you confirm this? Would it make sens to catch exceptions inside the loop? (assuming my guess is correct)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    That the GUI is not responding after that might be an "issue" in the AsyncMessageHandler. Didn't looked at it so far, but I guess it has a "infinte" Loop to process the Messages, and the exception is cought outside the Loop. By this, all exception which are not cought in "user code" will break the message handling.
    @morpheus_xx Can you confirm this? Would it make sens to catch exceptions inside the loop? (assuming my guess is correct)
    Not sure what the cause is. The stacktrace above sounds like a threading issue, that collection was changed during enumeration. This could be prevented by different things, locking or using a copy of list instance.

    The stacktrace is logged from here: https://github.com/MediaPortal/Medi...ssaging/AsynchronousMessageQueue.cs#L148-L156. This means the exception is caught already.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Currently only the fallback is used causing a foggy FanArt since it is scaled up from a small thumbnail.
    I have created a new ThumbnailProvider that doesn't depend on ShellThumbnails. It uses WIC (Windows Imaging Components) to open and scale images with better quality. I'll post a test version soon.

    The issue with ShellThumbnails seems to be, that requesting a higher quality thumbnail is not working as expected: you get a bigger size, but image is only upscaled :(
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,741
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Just uploaded version 0.4.5 with the last changes:
    https://forum.team-mediaportal.com/threads/new-skin-bluevision².129477/#post-1122583

    Changes:
    • Series details
      • Airing date (replaces in series view the year, which is not available)
      • Duration (taken from MediaAspectWrapper, for Movies it was from MovieAspectWrapper)
    • Audio details
      • Album Artists
      • Track
      • Duration (format same as for series and movies)
      • Bitrate
      • Composers
      • File Type
    • Other (Better visual appearance)
      • New video FallBack for 16:9 poster
      • New OpacityMask for 16:9 poster
    Open or to be improved:
    • Image view, especially FanArt (waiting for new ThumbnailProvider)
    • All points, that are waiting for MIA overwork
    • Adjustments on Main Menu @osre I could not achieve this by xaml :( Could you already have a look into the MainMenuModel, if it could be possible?
      • Active symbol also highlighted, when leaving the Main Group Menu
      • Using keyboard or remote control will bring user always to active item when reentering Main Group Menu
    • Language specific adjustments (In series view airing date format is not changing with system setting)
    https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_BlueVision²_v2/MediaPortal/Incubator/BlueVision/Skin/BlueVision/screens/MediaItemSeriesDetails.inc#L91
    Currently the converter parameter is dd.MM.yyyy, I'd like to have a format according to date settings, e.g. MM/dd/yyyy​
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,741
    3,501
    Stuttgart
    Home Country
    Germany Germany
    https://github.com/MediaPortal/Medi...Vision/screens/MediaItemSeriesDetails.inc#L91
    Currently the converter parameter is dd.MM.yyyy, I'd like to have a format according to time settings, e.g. MM/dd/yyyy
    In the linked example you pass a fixed format as parameter: "ConverterParameter=dd.MM.yyyy"

    If you leave away the parameter, it uses the system's CultureInfo: https://github.com/MediaPortal/Medi...nts/Converters/DateFormatConverter.cs#L44-L46.

    I did this at first. Basically working. I just don't like that the time is also shown by 00:00:00. See screenshot:
    dateformat.jpg
    Can you with xaml at least trim the last 8 characters or something like this? :)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Navigating Movies has errors
    [2015-03-15 08:40:11,313] [367501 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Showing screen 'MoviesShowItems'
    [2015-03-15 08:40:11,328] [367516 ] [DX Render] [DEBUG] - ScreenManager: Closing screen 'home'
    [2015-03-15 08:40:12,038] [368226 ] [DX Render] [WARN ] - RowDefinitionsCollection: Invalid cell span 3 in cell 1; valid range is 1-1
    [2015-03-15 08:40:12,053] [368241 ] [DX Render] [WARN ] - RowDefinitionsCollection: Invalid cell span 4 in cell 1; valid range is 1-1

    When in Audio, if you choose something with the menu then place your cursor over the Audio Icon, it does not return to the Main Audio Screen. You must place your cursor over another item / icon then go back to Audio.
    Also, Music has errors

    [2015-03-15 08:43:53,166] [589354 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Showing screen 'AudioFilterByArtist'
    [2015-03-15 08:43:53,171] [589359 ] [AMQ 'HomeMenuModel'] [ERROR] - Unhandled exception in message handler of async message queue 'HomeMenuModel' when handling a message of type 'UpdateMenu'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
    at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    at System.Collections.Generic.List`1.Enumerator.MoveNext()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingExtension.ResetChangeHandlerAttachments()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingExtension.GetSourceDataDescriptor(IDataDescriptor& result)
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingExtension.UpdateSourceValue()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingExtension.OnBindingSourceChange(IObservable observable)


    Web Radio has errors
    [2015-03-15 08:44:40,441] [636630 ] [Main ] [DEBUG] - ScreenManager: Preparing to show super layer 'BusyCursor'...
    [2015-03-15 08:44:40,441] [636630 ] [Main ] [DEBUG] - ScreenManager: Loading screen from file path 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SkinBase\Skin\default\superlayers\BusyCursor.xaml'...
    [2015-03-15 08:44:40,506] [636695 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Showing superlayer 'BusyCursor'
    [2015-03-15 08:44:44,621] [640810 ] [AMQ 'NotificationsModel'] [ERROR] - Unhandled exception in message handler of async message queue 'NotificationsModel' when handling a message of type 'StatePushed'
    MediaPortal.UI.Presentation.Workflow.WorkflowManagerLockException: The workflow manager cannot be locked for read operation 'CurrentNavigationContext' (deadlock?)
    at MediaPortal.UI.Services.Workflow.WorkflowManager.EnterReadLock(String operation)
    at MediaPortal.UI.Services.Workflow.WorkflowManager.get_CurrentNavigationContext()
    at MediaPortal.UiComponents.SkinBase.Models.NotificationsModel.Update()
    at MediaPortal.UiComponents.SkinBase.Models.NotificationsModel.OnMessageReceived(AsynchronousMessageQueue queue, SystemMessage message)
    at MediaPortal.Common.Messaging.AsynchronousMessageQueue.DoWork() in c:\_MP\Quellcode\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Messaging\AsynchronousMessageQueue.cs:line 150
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,741
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Thanks for the test.

    [2015-03-15 08:40:12,053] [368241 ] [DX Render] [WARN ] - RowDefinitionsCollection: Invalid cell span 4 in cell 1; valid range is 1-1
    I corrected the code. Error should not appear again.

    When in Audio, if you choose something with the menu then place your cursor over the Audio Icon, it does not return to the Main Audio Screen.
    This is intended. Last sub menu is remembered. To come a level up "Escape" button on keyboard or "Return" button on remote control needs to be pressed.

    Web Radio has errors
    I never used WebRadio. I will install the plugin and see . But from the error code it seems not BlueVision related.
     

    Users who are viewing this thread

    Top Bottom