[Bug] Tvservice cpu usage increase problem while .ts playback fullscreen (1 Viewer)

FreakyJ

Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    I saw this error while I was developing my patch for switching the Bass Audiodevice, this happens because you are using the TvPlugin.dll from the current SVN, so you will also need the new dialogs.dll and maybe the new windowPlugins.dll ;)
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    If this is the reason, no problem.
    But maybe someone can either compile the V8 against 1.2 Beta or attach other needed dll...
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    attached is a extended package xD first try only to replace the TvPlugin.dll and the dialogs.dll, the other files are only there if that shouldn't work ;)

    good luck :p
     

    Attachments

    • TvPlugin_v8_rev28126.rar
      689.3 KB

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    I can't build that patch..
    In the log it says -> TvFullScreen.cs(2624,11): error CS0154: Die Eigenschaft oder der Indexer "TvPlugin.TVHome.UserChannelChanged" kann in diesem Kontext nicht verwendet werden, weil der get-Accessor fehlt.
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    FreakyJ: tvhome should have:

    Code:
        public static bool UserChannelChanged
        {
          set { _userChannelChanged = value; }
          get { return _userChannelChanged; }
        }

    did u forget this ?

    /gibman
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,554
    3,936
    Lehmden
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi.
    With freakyj's dialogs.dll the issue is gone. Now this works as I want to have it working...
    Many thanks to gibman for the patch and FreakyJ for binaries.
    This was an important issue in my opinion and it was there a long time I think. TVServer.exe CPU usage was always at least 30% during Live- TV as long as I can remember. Now it's only about 3%. And this decreases CPU load from MySQL.exe also at a notable amount.
    Great work!
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    So hopefully this can be pushed in SVN soon. =)
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    gibman
    no I didn't forgot that^^ I just checked it an it is in, but thanks for the hint ;)
    But Holzi said
    I can't build that patch..
    I guess he is referring to the VS log, because the message he posted really looks like a VS log message.

    Holzi
    Are you sure that you applied the patch right? In the patch file the first two files are at rev28126 and the other two files at rev28127
    Maybe there was a mistaking during the merge :)

    Lehmden
    nice to hear :)
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Tvservice cpu usage increase problem while .ts playback fullscreen

    Hi
    I guess theres the problem.. I switched back to rev28126 and I tried to apply the patch with TortoiseSVN.. the two files at rev28126 does apply fine but I got two errors with the two files at rev28127. Don't know whats wrong..
    Thanks!
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Oh wait i surely say something wrong, i just apply the patch v8 on SVN (latest one) so no need to revert (revert was for testing V4 patch).
    So you just have to apply the V8 patch on latest SVN :)
    Sorry for being confusing :)
     

    Users who are viewing this thread

    Top Bottom