Blue Vision (3 Viewers)

osre

Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    Just pushed a fix for enumeration issue (added locking)
    I pulled this fix:
    But it still does not work with automatic selection turned on.
    The enumeration exception is gone, but now I get this:
    Code:
    [19:34:51,990] [InputMgr ] [DEBUG] - WorkflowManager: Tidying up...
    [19:34:51,990] [InputMgr ] [INFO ] - WorkflowManager: Trying to remove 1 workflow states from navigation stack...
    [19:34:51,990] [InputMgr ] [DEBUG] - WorkflowManager: Exiting predecessor workflow model '545674f1-d92a-4383-b6c1-d758cecdbdf5'
    [19:34:51,990] [InputMgr ] [DEBUG] - WorkflowManager: Tidying up...
    [19:34:51,990] [InputMgr ] [INFO ] - WorkflowManager: Trying to show screen 'home'...
    [19:34:51,990] [InputMgr ] [DEBUG] - ScreenManager: Preparing to show screen 'home'...
    [19:34:51,990] [InputMgr ] [DEBUG] - ScreenManager: Loading screen from file path 'E:\source\MP2\MediaPortal-2\MediaPortal\Bin\MP2-Client\bin\x86\Debug\Plugins\BlueVision\Skin\BlueVision\screens\home.xaml'...
    [19:34:52,115] [InputMgr ] [INFO ] - WorkflowManager: Screen 'home' successfully shown
    [19:34:52,115] [AMQ 'ScreenManage'MP2-Client.vshost.exe' (CLR v4.0.30319: MP2-Client.vshost.exe): Loaded 'Microsoft.GeneratedCode'.
    The thread 0x1b9c has exited with code 259 (0x103).
    The thread 0xe68 has exited with code 259 (0x103).
    'MP2-Client.vshost.exe' (CLR v4.0.30319: MP2-Client.vshost.exe): Loaded 'Microsoft.GeneratedCode'.
    r'] [DEBUG] - ScreenManager: Showing screen 'home'
    [19:34:52,130] [DX Render] [DEBUG] - WorkflowManager: Loading GUI model '6997cd35-63f0-4f96-8997-e18c9382e2dc'
    [19:34:52,195] [DX Render] [DEBUG] - WorkflowManager: Attaching GUI model '6997cd35-63f0-4f96-8997-e18c9382e2dc' to workflow state '7f702d9c-f2dd-42da-9ed8-0ba92f07787f'
    [19:34:52,258] [DX Render] [DEBUG] - ScreenManager: Closing screen 'configuration-section'
    [19:34:52,405] [DX Render] [DEBUG] - ContentManager: 0 resources deallocated, next cleanup in 10 seconds. 75.4423217773438/100 MB
    [19:34:52,694] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 2 with 1
    [19:34:52,694] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread106 started
    [19:34:53,580] [19       ] [WARN ] - AsyncWebLoadOperation: Failed to download http://192.168.178.22:49159/FanartService?mediatype=Undefined&fanarttype=Thumbnail&name=ffeab688-835e-4685-89db-ad31fd6db7c7&width=512&height=512 - Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
    [19:34:53,754] [19       ] [WARN ] - AsyncWebLoadOperation: Failed to download http://192.168.178.22:49159/FanartService?mediatype=Undefined&fanarttype=Thumbnail&name=fefe726d-5e47-4b73-ad69-9d38fb39d08e&width=512&height=512 - Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
    [19:34:53,852] [19       ] [WARN ] - AsyncWebLoadOperation: Failed to download http://192.168.178.22:49159/FanartService?mediatype=Undefined&fanarttype=Thumbnail&name=1f626e8a-3d42-4cea-b630-b12aee35245f&width=512&height=512 - Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
    [19:34:54,039] [19       ] [WARN ] - AsyncWebLoadOperation: Failed to download http://192.168.178.22:49159/FanartService?mediatype=Undefined&fanarttype=Thumbnail&name=284a0fe8-8237-4d36-8acc-f5ba339ffa54&width=512&height=512 - Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
    [19:34:54,100] [19       ] [WARN ] - AsyncWebLoadOperation: Failed to download http://192.168.178.22:49159/FanartService?mediatype=Undefined&fanarttype=Thumbnail&name=3647752d-9255-4e2d-a7a2-1d48b97bee6c&width=512&height=512 - Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.
    [19:34:54,148] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 3 with 1
    [19:34:54,149] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread98 started
    [19:34:54,191] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 4 with 1
    [19:34:54,192] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread96 started
    [19:34:54,790] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 5 with 1
    [19:34:54,790] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread46 started
    [19:34:54,829] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 6 with 1
    [19:34:54,829] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread45 started
    [19:34:54,845] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 7 with 1
    [19:34:54,845] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread44 started
    [19:34:54,890] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 8 with 1
    [19:34:54,890] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread43 started
    [19:34:54,943] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 9 with 1
    [19:34:54,943] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread25 started
    [19:34:54,985] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 10 with 1
    [19:34:54,985] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread109 started
    [19:34:55,022] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 11 with 1
    [19:34:55,022] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread108 started
    [19:34:55,059] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 12 with 1
    [19:34:55,061] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread111 started
    [19:34:55,102] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 13 with 1
    [19:34:55,103] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread112 started
    [19:34:55,150] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 14 with 1
    [19:34:55,150] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread113 started
    [19:34:55,191] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 15 with 1
    [19:34:55,192] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread114 started
    [19:34:55,227] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 16 with 1
    [19:34:55,227] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread115 started
    [19:34:55,259] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 17 with 1
    [19:34:55,259] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread116 started
    [19:34:55,304] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 18 with 1
    [19:34:55,305] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread117 started
    [19:34:55,351] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 19 with 1
    [19:34:55,352] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread118 started
    [19:34:55,395] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 20 with 1
    [19:34:55,396] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread119 started
    [19:34:55,431] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 21 with 1
    [19:34:55,431] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread120 started
    [19:34:55,474] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 22 with 1
    [19:34:55,474] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread121 started
    [19:34:55,515] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 23 with 1
    [19:34:55,516] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread122 started
    [19:34:55,559] [DX Render] [DEBUG] - ThreadPool.CheckThreadIncrementRequired(): Incrementing thread count 24 with 1
    [19:34:55,559] [DX Render] [DEBUG] - ThreadPool.StartThreads(): Thread Thread123 started
    The thread 0x1a4c has exited with code 259 (0x103).
    [19:35:02,284] [DX Render] [DEBUG] - ContentManager: 0 resources deallocated, next cleanup in 10 seconds. 202.679733276367/100 MB
    The thread 0x2da0 has exited with code 259 (0x103).
    [19:35:12,320] [DX Render] [DEBUG] - ContentManager: 17 resources deallocated, next cleanup in 10 seconds. 192.769073486328/100 MB
    A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
    [19:35:17,530] [InputMgr ] [ERROR] - InputManager: Error dispatching 'KeyEvent'
    System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Auflistung sein.
    Parametername: index
       bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
       bei System.Collections.Generic.List`1.get_Item(Int32 index)
       bei MediaPortal.UI.SkinEngine.Controls.Panels.VirtualizingWrapPanel.AlignedPanelAddPotentialFocusNeighbors(Nullable`1 startingRect, ICollection`1 outElements, Boolean linesBeforeAndAfter)
       bei MediaPortal.UI.SkinEngine.Controls.Panels.WrapPanel.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinE'MP2-Client.vshost.exe' (CLR v4.0.30319: MP2-Client.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MP2-Client.vshost.exe' (CLR v4.0.30319: MP2-Client.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'MP2-Client.vshost.exe' (CLR v4.0.30319: MP2-Client.vshost.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    ngine.Controls.Visuals.FrameworkElement.AddPotentialFocusableElements(Nullable`1 startingRect, ICollection`1 elements)
       bei MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.PredictFocus(Nullable`1 currentFocusRect, MoveFocusDirection dir)
       bei MediaPortal.UI.SkinEngine.ScreenManagement.Screen.PredictFocus(Nullable`1 currentFocusRect, Key key)
       bei MediaPortal.UI.SkinEngine.ScreenManagement.Screen.UpdateFocus(Key& key)
       bei MediaPortal.UI.SkinEngine.ScreenManagement.Screen.HandleKeyPress(Key& key)
       bei MediaPortal.UI.SkinEngine.InputManagement.InputManager.ExecuteKeyPress(KeyEvent evt)
       bei MediaPortal.UI.SkinEngine.InputManagement.InputManager.DispatchEvent(InputEvent evt)
       bei MediaPortal.UI.SkinEngine.InputManagement.InputManager.Dispatch(Object o)
    [19:35:22,316] [DX Render] [DEBUG] - ContentManager: 8 resources deallocated, next cleanup in 10 seconds. 183.866577148438/100 MB
    The thread 0x2034 has exited with code 259 (0x103).

    The last exception (System.ArgumentOutOfRangeException) is when I try to use mouse.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    The Problem only occurs if automatic menu switching is enabled.
    Being really quick with the mouse I was able to get to the Settings and enable Manual selection.
    Doing this I saw that the BV Settings popup Looks not verry good. The checkboxes are only visiblen when checked or hovered.

    View attachment 165900
    The checkboxes were already corrected. Strange ... Will also check this
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    CP screen is working now.

    The main issue was to usage of DataContexts and the correct aspect wrappers (MovieAspect vs. MediaAspect). Changes are pushed now.

    View attachment 165877
    How do I get this Screen with the tabed view?
    I found the current Video info Screen, but there are not Tabs for me.
    The only difference is that I selected "Video library" instead of "movies" since by "movies" view is empty.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I just found another issue at @lightshock 's system:

    The focus is always been reset on "home" tab. This invokes a mediaitem update (5 concurrent).

    Then a mouse move to activate another tab, but focus is immediately reset to home. And then the loop continues. I try to reproduce and fix it here.


    How do I get this Screen with the tabed view?
    Play a "movie" and enter "current playing" (shortcut "C") or from "others" tab
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    Play a "movie" and enter "current playing" (shortcut "C") or from "others" tab
    It uses the Default fallback Screen for CurrentPlayingVideo.xaml, because "XAML parser: Member 'Foreground' was not found on type 'RadioButton"
    That's in fact the isse @ge2301 has, but it Looks like it does not fall back to Default for him !?
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    Ok, ... there isn't a single control in MPF that has a property named "Foreground".
    and @ge2301 The CP_MovieGeneral.inc and CurrentPlayingVideo.xaml are in github, but the are not added in solution Explorer from BV Project!
    May be there are more missing, havn't checked all of them.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    just found another issue at @lightshock 's system:

    The focus is always been reset on "home" tab. This invokes a mediaitem update (5 concurrent).

    Then a mouse move to activate another tab, but focus is immediately reset to home. And then the loop continues. I try to reproduce and fix it here.
    Fixed, was a loop inside settings refresh logic
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Ok, ... there isn't a single control in MPF that has a property named "Foreground".
    and @ge2301 The CP_MovieGeneral.inc and CurrentPlayingVideo.xaml are in github, but the are not added in solution Explorer from BV Project!
    May be there are more missing, havn't checked all of them.
    How can be the foreground color (text) changed for the button? This is what I indended.
    Only these 2 files are missing, because it's pushed temporarily until a solution is found.
     

    osre

    Retired Team Member
  • Premium Supporter
  • December 14, 2014
    775
    387
    Home Country
    Germany Germany
    Which proprty do I use to set the text Color of an button?
    Or is this only possible by placing a Label in the control template and specify it's Color?
    @ge2301 If I were you, I would remove the foreground property for now completely.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,736
    3,501
    Stuttgart
    Home Country
    Germany Germany
    Which proprty do I use to set the text Color of an button?
    Or is this only possible by placing a Label in the control template and specify it's Color?
    @ge2301 If I were you, I would remove the foreground property for now completely.
    In Google I found several WPF examples where the text color was changed in the button by Foreground property. But seems not to work in MPF. Means at first no focus indicator

    Edit: idea with additional label should work. But not today, wife is waiting ;)
     
    Last edited:

    Users who are viewing this thread

    Top Bottom