[confirm] Development issues (3 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    No idea yet, maybe give it a try
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    Is there any reason why you only invoke the code for + if (newState == SystemState.Suspending) ? and not hibernate and shutdown?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Before I forget it again:

    Please install the "EditorConfig" addon for VS. It configures the tab/space indentation for the project correctly. Better to install it now than later :)
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    No idea yet, maybe give it a try
    Will do so. Just one problem.

    If i add:
    Code:
          _messageQueue.SubscribeToMessageChannel(SystemMessaging.CHANNEL);
          _messageQueue.MessageReceived += OnMessageReceived;
    to UPnPServer i need using MediaPortal.Common.Messaging; and the reference to it. But VS says thid would add a circular reference.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Is there any reason why you only invoke the code for + if (newState == SystemState.Suspending) ? and not hibernate and shutdown?
    Yes, the others are not used. If you check the enum for references, you can see it.

    to UPnPServer i need using MediaPortal.Common.Messaging; and the reference to it. But VS says thid would add a circular reference.
    Ah, ok. Than you would need to do it the opposite way around: call the method of UPnP library from your code. Maybe you need to make some more methods public.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    OK the FrontendServer of Mediaportal.UI seems suitable. Will try that.
     
    Last edited:

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    There is a new issue for me. SynchronizeToPrimaryPlayer runs in an endless loop and the whole screen flickers while trying to play a recording. It works fine with Live TV.

    Code:
    [2016-01-03 21:19:01,559] [570013 ] [Thread52 ] [INFO ] - WorkflowManager: Trying to show screen 'VideoShowItems'...
    [2016-01-03 21:19:01,561] [570014 ] [Thread52 ] [INFO ] - WorkflowManager: Screen 'VideoShowItems' successfully shown
    [2016-01-03 21:19:07,688] [576141 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - SkinEngine MainForm: Synchronized render framerate to video player 'TsVideoPlayer: Tagesschau - () SE - 2016-01-03 - 20_00.ts'
    [2016-01-03 21:19:07,739] [576193 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,743] [576197 ] [Thread52 ] [INFO ] - WorkflowManager: Pushing workflow state 'VideoFullscreenContent' (id='882c1142-8028-4112-a67d-370e6e483a33') onto the navigation stack...
    [2016-01-03 21:19:07,752] [576206 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,766] [576220 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,783] [576237 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,798] [576252 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,816] [576270 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,832] [576286 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,848] [576302 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,856] [576310 ] [Thread52 ] [INFO ] - WorkflowManager: Screen was updated by workflow model
    [2016-01-03 21:19:07,868] [576322 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,884] [576338 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,894] [576348 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,904] [576358 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,911] [576365 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,950] [576404 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,961] [576415 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,971] [576425 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,981] [576434 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:07,998] [576452 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,003] [576457 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,027] [576481 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,034] [576488 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,040] [576494 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,045] [576499 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,050] [576504 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,056] [576510 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,062] [576515 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,067] [576521 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,073] [576526 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,096] [576549 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,113] [576566 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,129] [576583 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,146] [576599 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,162] [576616 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    [2016-01-03 21:19:08,179] [576633 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1920x1080 (format: X8R8G8B8 59 Hz)
    ...
    [DOUBLEPOST=1451853255][/DOUBLEPOST]And another one - seeking the ts recording gives me:
    Code:
    [2016-01-03 21:31:26,770] [331040 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - SkinEngine MainForm: Synchronized render framerate to video player 'TsVideoPlayer: Tagesschau - () SE - 2016-01-03 - 20_00.ts'
    [2016-01-03 21:31:27,514] [331783 ] [Thread9 ] [INFO ] - WorkflowManager: Pushing workflow state 'VideoFullscreenContent' (id='882c1142-8028-4112-a67d-370e6e483a33') onto the navigation stack...
    [2016-01-03 21:31:27,613] [331882 ] [Thread9 ] [INFO ] - WorkflowManager: Screen was updated by workflow model
    [2016-01-03 21:31:36,650] [340919 ] [48 ] [WARN ] - MceRemote: No remote mapping found for remote button '33'
    [2016-01-03 21:31:37,273] [341542 ] [48 ] [WARN ] - MceRemote: No remote mapping found for remote button '33'
    [2016-01-03 21:31:38,119] [342389 ] [48 ] [WARN ] - MceRemote: No remote mapping found for remote button '33'
    [2016-01-03 21:31:39,009] [343278 ] [101 ] [WARN ] - MceRemote: No remote mapping found for remote button '33'
    [2016-01-03 21:31:41,929] [346199 ] [97 ] [WARN ] - TsVideoPlayer: Failed to seek, hr: 1
    [2016-01-03 21:31:46,653] [350922 ] [86 ] [WARN ] - MceRemote: No remote mapping found for remote button '32'
    [2016-01-03 21:31:49,351] [353620 ] [98 ] [WARN ] - TsVideoPlayer: Failed to seek, hr: 1
    [2016-01-03 21:31:50,672] [354942 ] [101 ] [WARN ] - MceRemote: No remote mapping found for remote button '32'
    [2016-01-03 21:31:53,376] [357646 ] [33 ] [WARN ] - TsVideoPlayer: Failed to seek, hr: 1
    [2016-01-03 21:31:55,872] [360142 ] [34 ] [WARN ] - MceRemote: No remote mapping found for remote button '32'
    [2016-01-03 21:31:56,862] [361132 ] [105 ] [WARN ] - MceRemote: No remote mapping found for remote button '32'
    [2016-01-03 21:31:59,078] [363348 ] [98 ] [WARN ] - TsVideoPlayer: Failed to seek, hr: 1
     
    Last edited:

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    And hopefully the last one for today. While browsing the EPG and going up and down for "now" current time. The selection jumps often to the future / right / next program instead of going straight upwards or downwards.
     

    Users who are viewing this thread

    Top Bottom