[Announce] MPTvClient V1.2.5 (20.12.2007) II (1 Viewer)

Al_Capone

MP Donator
  • Premium Supporter
  • September 26, 2006
    527
    19
    Home Country
    Norway Norway
    additional info:
    MD5 sums:
    Code:
    Gentle.Common.dll                              dcd139faa64b3a78a72bab3fe95e4661
    Gentle.config                                  d01cc217aac222f07d468b2991527b34
    Gentle.Framework.dll                           fd0c334ba0b969fe07a61564bea86149
    Gentle.Provider.MySQL.dll                      d57c06b4f092a2e30009f24176630a28
    Gentle.Provider.SQLServer.dll                  d0167b6af76e4c19946d7a828215d84f
    log4net.dll                                    ca8c34cfb6573800b9d6af99c419228c
    MPTvClient.exe                                 9a1e6ffecd6da068f47d89e35a518654
    MySql.Data.dll                                 0910a9a4a97fe87c1b3bc61fe28ae6fc
    TvControl.dll                                  9d79fee23d8ea11d168fd2fa4780a18a
    TVDatabase.dll                                 8d25c2db9c910d6aadee26536cf2a723
    TvLibrary.Interfaces.dll                       d7888dbc1b27d4e90585563227915b98
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Hi,
    i just uploaded a new version of MpTvClient (V1.3) which could be interesting for all those who have connection problems.

    Changes:
    - Added support for radio channel groups
    - Added a db setup dialog (similar to TvSetup's one)
    - Added a connection check dialog which checks all needed ports before connecting
    - Updated TvService dll's

    By default, MPTvClient always checks all needed tcp/udp ports before it connects to the tvservice.
    So you see in detail which ports are blocked (see screenshot)
    You can also disable this checks in the configuration menu.
    Additionally i add a db setup dialog, like in SetupTv.
    So you don't have to fiddle with the gentle.config file ;)

    The download can be found (as always) here https://forum.team-mediaportal.com/mp-tv-client-262/always-most-recent-binary-download-36229/

    Please let me know if this works better for you all and thanks for your feedback so far :)
     

    Attachments

    • ConfigurationMenu.jpg
      ConfigurationMenu.jpg
      12.2 KB
    • ConnectionTest.jpg
      ConnectionTest.jpg
      51.5 KB
    • dbsetup.jpg
      dbsetup.jpg
      62.6 KB

    Krazz

    Portal Pro
    December 17, 2005
    57
    3
    Sweden
    Home Country
    Sweden Sweden
    Either I've gotten dumber or you didn't include all the files in the rar-file?! I hope it's the latter one. ;)

    The only file I see in the rar-file is log4net.dll.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Oops, sorry, you are right :oops:
    I re-uploaded the rar file.
    :D
     

    camoura

    Portal Pro
    May 29, 2007
    97
    0
    I cannot get it to work.

    Earlier version was working fine (expect for the sluguish behavior).

    What are the settings for MS SQL database?

    Hostname: Machine where TVServer is installed?
    Schema Name: ????????
    User ID: sa ???
    Password: MediaPortal (default password)?
     

    Al_Capone

    MP Donator
  • Premium Supporter
  • September 26, 2006
    527
    19
    Home Country
    Norway Norway
    I set up the DB connection, by setting hostname, userID (sa) and the default MediaPortal password.

    When clinking "test" I get this error:

    "connection error: .................blah blah, this failure may be cause by the fact that teh default SQL settings does not allow remote connection......... error 40 - Could not open a connection to SQL server."


    Clicking "connect" returns the same error as before.



    After that , closing program was not possible, each click on "close" gave:
    Code:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.BadImageFormatException: Could not load file or assembly 'TvControl, Version=0.9.2.19787, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
    File name: 'TvControl, Version=0.9.2.19787, Culture=neutral, PublicKeyToken=null'
       at MPTvClient.ServerInterface.StopTimeShifting()
       at MPTvClient.frmMain.frmMain_FormClosing(Object sender, FormClosingEventArgs e)
       at System.Windows.Forms.Form.WmClose(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MPTvClient
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Documents%20and%20Settings/Andre/Desktop/MPTVclient/MPTvClient.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
        CodeBase: file:///C:/WINDOWS/assembly/GAC_64/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.


    When I terminated it, it used 52MB or RAM...
     

    camoura

    Portal Pro
    May 29, 2007
    97
    0
    When clinking "test" I get this error:

    "connection error: .................blah blah, this failure may be cause by the fact that teh default SQL settings does not allow remote connection......... error 40 - Could not open a connection to SQL server."

    I'm getting the same error.
     

    Krazz

    Portal Pro
    December 17, 2005
    57
    3
    Sweden
    Home Country
    Sweden Sweden
    This version is not working for me either. I don't know if there is some hidden info in some file or in the registry that I don't know about that needs to be deleted or something?!

    The program starts up normally. I enter all the needed settings and when I hit connect I get a .NET error report complaining about TvControl. This error comes up after the check for ports are done and it doesn't matter if I disable this check or not.

    I run a Swedish Windows Vista 64-bit. I don't think this has to do with the problem per say, but my error message is in Swedish. :/ Hopefully you can get some information out of it anyways.
    Information om att aktivera JIT-felsökning i stället för den
    här dialogrutan finns i slutet av det här meddelandet.

    ************** Undantagstext **************
    System.BadImageFormatException: Det går inte att läsa in filen eller sammansättningen TvControl, Version=0.9.2.19787, Culture=neutral, PublicKeyToken=null eller ett av dess beroenden. Ett försök att läsa in ett program med ogiltigt format gjordes.
    Filnamn: TvControl, Version=0.9.2.19787, Culture=neutral, PublicKeyToken=null
    vid MPTvClient.ServerInterface.ResetConnection()
    vid MPTvClient.frmMain.btnConnect_Click(Object sender, EventArgs e)
    vid System.Windows.Forms.Control.OnClick(EventArgs e)
    vid System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    vid System.Windows.Forms.Control.WndProc(Message& m)
    vid System.Windows.Forms.ButtonBase.WndProc(Message& m)
    vid System.Windows.Forms.Button.WndProc(Message& m)
    vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    VARN: Loggningen av sammansättningsbindningen är inaktiverad.
    Du kan aktivera felloggning för sammansättningsbindningar genom att ange registervärdet [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) till 1.
    Obs! Prestanda kan försämras något med felloggning för sammansättningsbindningar.
    Du kan inaktivera funktionen genom att ta bort registervärdet [HKLM\Software\Microsoft\Fusion!EnableLog].



    ************** Inlästa sammansättningar **************
    mscorlib
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MPTvClient
    Sammansättningsversion: 1.0.0.0
    Win32-version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/MPTvClient/MPTvClient.exe
    ----------------------------------------
    System.Windows.Forms
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Configuration
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------
    mscorlib.resources
    Sammansättningsversion: 2.0.0.0
    Win32-version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------

    ************** JIT-felsökning **************
    För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för
    det här tillämpningsprogrammet eller datorn (machine.config) ha
    jitDebugging-värdet angivet i avsnittet system.windows.forms.
    Tillämpningsprogrammet måste också vara kompilerat
    med felsökning aktiverat.

    Till exempel:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    När JIT-felsökning är aktiverad kommer alla undantag som inte
    hanteras att skickas till JIT-felsökaren som är registrerad på
    datorn snarare än att hanteras av den här dialogrutan.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Hi,
    i checked the files in a clean VMWare with just XP SP2 and .NET 2.0 installed.
    It works fine there.

    Okay, i think there are 2 problems.


    1) What to enter in the SetupDatabaseDialog?

    FOR MySQL:

    Hostname: the hostname of the PC where TvServer is running
    Schema name: if you use a recent snapshot for RC 1: MpTvDbRC1 if you use a pre RC1 snapshot tvlibrary
    User ID: root
    Password: if you used the DeployTool for setting up TvService mediaportal otherwise the password you specified for root

    FOR MSSQL

    Hostname: the hostname of the PC where TvServer is running\SQLEXPRESS
    Schema name: if you use a recent snapshot for RC 1: MpTvDbRC1 if you use a pre RC1 snapshot tvlibrary
    User ID: dba
    Password: if you used the DeployTool for setting up TvService mediaportal otherwise the password you specified for root

    2) "System.BadImageFormatException: Could not load file or assembly 'TvControl, Version=0.9.2.19787, Culture..."
    Seems like the dlls are not suitable for 64 bit systems. Please replace the dlls in the rar file by the ones from your TvServer installtion and report back
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    I just updated the "Always most recent binary download...".
    This update probably (or hopefully) solves both above mentioned problems.
    Here are the changes:

    ...
    20.06.2008 (New Version V1.3.1)
    - Changed built target from "AnyCPU" to "x86" to prevent problems on 64 bit systems
    - Readded all TvServer dll's as compiled for "x86" to prevent problems on 64 bit systems
    - the postfix "\SQLEXPRESS" for MSSQL connections is now automatically added
    - the schema name/db name is now set to "MpTvDbRC1" as default which is the correct setting for RC1 and further snapshots

    Here is the link Always most recent binary download - MediaPortal Forum
     

    Users who are viewing this thread

    Top Bottom