How To debug MP Client connecting to Remote TVServer (1 Viewer)

pinny121

Portal Member
June 7, 2005
14
0
Hi
Can some one explain how to run MP client in debug mode against a remote TVServer please.

i have the source in VS but i don't know how to start and debug it in client mode not single seat mode.

Thanks

Rob
 

bob987

MP Donator
  • Premium Supporter
  • January 25, 2009
    47
    5
    Home Country
    Israel Israel
    Rob,

    You can try this as a start:
    https://forum.team-mediaportal.com/general-talk-233/how-debug-tv-plugin-server-25241/

    I managed to debug the TVplugin while using a remote TV server.

    * set the remote server using the normal MediaPortal Configuration.
    * had to change the TVplugin version in the last line of AssemblyInfo.cs
    [assembly: AssemblyFileVersion("1.0.1.22244")] ( this is the current svn version)

    Hope that this will help you.
    Bob
     

    bob987

    MP Donator
  • Premium Supporter
  • January 25, 2009
    47
    5
    Home Country
    Israel Israel
    Rob

    I solved it!!

    You need to "install" the TV-client inside the MP debug directory.

    So my way is:
    1) make a normal install of MP with a TV client.
    2) Run the MP config and set the remote server. test that it works with the normal MP.
    3) make a new directory copy into it the following files from "C:\Program Files\Team MediaPortal\MediaPortal"
    DVBSub2.ax
    Gentle*.*
    log4net.dll
    mmaacd.ax
    MySql.Data.dll
    PowerScheduler.Interfaces.dll
    TvBusinessLayer.dll
    TvControl.dll
    TVDatabase.dll
    TvLibrary.Interfaces.dll
    4) copy "C:\Program Files\Team MediaPortal\MediaPortal\plugins\Windows\TvPlugin.dll" to
    "xxxx\MediaPortal\xbmc\bin\Debug\plugins\Windows" xxxx= your SVN folder.

    5) press F10 in your MediaPortal project. when it goes into the debug of the first code line,
    copy the files from step 3 into "xxxx\MediaPortal\xbmc\bin\Debug"
    6) press F5 to run MP. you will be connected to the remote server.


    What these steps do is just what happens when you install the TV-client on an existing MP install.
    You must do step 5 because every build of the project deletes these files.


    I believe that there should be a better way, but the hell, this works.

    Have fun
    Bob
     

    Users who are viewing this thread

    Top Bottom