Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)! (3 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #71
    I would recommend to wait some more days for a new snapshot as there are known issues (like the wrong paths for tuning parameters) in the existing build. If you like to try, you should place all the programdata\slimtv stuff under the old ProgramData\Team MediaPortal\TvService folder.
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    morpheus-xx,
    thanks a for your patience. I understand now the gits basic and can compile the dev branch with the msbuild scripts.

    I still saw the robocopy error in the master branch and believe it is a bug in the script. Whenever the postbuild.bat is called for the server and the client the batch file is called with the arguments "G:\MP2Master\MediaPortal-2\MediaPortal\Setup\" instead of "G:\MP2Master\MediaPortal-2\MediaPortal\Source\"
    I fixed it by manually copying the base folder from source to setup. attached the partial logfile from Build_Setup.log

    Code:
    PostBuildEvent:
      xcopy /Y "G:\MP2Master\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Client\MP2 Client Splashscreen.jpg"  "G:\MP2Master\MediaPortal-2\MediaPortal\Setup\..\Bin\MP2-Setup\bin\x86\Release\"
     
      "G:\MP2Master\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Client\postbuild.bat" "G:\MP2Master\MediaPortal-2\MediaPortal\Setup\" "G:\MP2Master\MediaPortal-2\MediaPortal\Setup\..\Bin\MP2-Setup\bin\x86\Release\"
     
      G:\MP2Master\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Client\MP2 Client Splashscreen.jpg
      1 Datei(en) kopiert
      Solution directory = G:\MP2Master\MediaPortal-2\MediaPortal\Setup\., target directory = G:\MP2Master\MediaPortal-2\MediaPortal\Bin\MP2-Setup\bin\x86\Release\.

    I did then a fresh install of the dev version with default settings (installed in C:\Program Files (x86)\Team MediaPortal\MP2-Server) and followed the steps from the first post.
    After I stopped the TVserver from MP1 I started the MP2 server and got the following error message:


    [2013-02-03 20:27:18,643] [621 ] [Main ] [FATAL] - Error executing application
    MediaPortal.Utilities.Exceptions.EnvironmentException: ServiceRegistration: A Service with registration type 'MediaPortal.Backend.Database.ISQLDatabase' is already registered
    bei MediaPortal.Common.ServiceRegistration.AddServiceItems(IEnumerable`1 items)
    bei MediaPortal.Common.ServiceRegistration.LoadServicesFromPlugins()
    bei MediaPortal.Common.Services.PluginManager.PluginManager.Startup(Boolean maintenanceMode)
    bei MediaPortal.Server.ApplicationLauncher.Main(String[] args)

    The full log file is attached. I have MySQL service running, but as far as i understood this should not interfer with the dev built.
    The download of the dev branch was today at 12:53. I am running Windows 8 Pro 64 bit.
     
    Last edited:

    Valk

    Portal Pro
    February 25, 2006
    302
    108
    Home Country
    Australia Australia
    from that error it seems you have the other database plugin installed also. Delete SQLCEDatabase plugin and try again.
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    This helped, the Tvserver database window is now coming up, but i am getting an authentication error

    [2013-02-04 19:58:50,708] [1072 ] [17 ] [ERROR] - ObjectContextManager : error opening database. Is the SQL engine running ?
    MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'root'@'localhost' (using password: NO)

    The plugin MySQLDatabase has in MySQLSettings.xml
    <MySQLSettings Server="localhost" UserName="root" Password="MediaPortal" Database="MP2Server" MaxPacketSize="10485760" />
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #76
    Ah sorry huha, this is a known issue and I forgot to mention it :(

    I recently implemented a way to use a "similar" database connection related to MP2: if you use SQLCE for MP2, it will use a SQLCE for TVE35 as well. Same with MySQL, but there is the problem that I cannot reuse the credentials (no way to get current password MySQL connection).

    In summary it means, if you are on dev version, please try SQLCE only for now.

    Sorry again...
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    morpheus_xx,

    no problem, so i reinstalled and deleted the MySQLDatabase plugin in MP2-Server. Then I deactivated MP1 Tvserver and started the MP2 server.
    The server is running now :) . Next i start
    C:\Program Files (x86)\Team MediaPortal\MP2-Server\Plugins\SlimTv.Service\SetupTv\SetupTV.exe

    I am getting a window "Your platform is not supported by MediaPortal Please - check our WIKI ...". After clicking OK the Tv server configuration is showing up despite of the error message :)

    The log file reports a streaming error. The third party port check says port 554 is already used by another program. I am trying to change the port by right clicking on the Tvserver. I am changing the port number from 554 to 654, but after hitting OK the original port 554 occurs again. I am not able to change the port setting to any other number :(

    Update: I stopped and deactivated the MP1 Tvservice and rebooted. Now port 554 is available. Just stopping the MP1 Tvservice was still blocking the port.:)

    Update2: Just found out there is another tab for changing the port number under streaming server. This worked out. When you right click on Tvserver Change Streaming settings you can change the number, but it will not change the port. You need to use the Streaming Server tab to change the port.
     
    Last edited:

    sab-to-go

    Portal Pro
    October 18, 2012
    80
    3
    Home Country
    Australia Australia
    hi, i know this is prob a dum question but would someone like to put up a very basic info for a "How To" compile this?
    what is the git URL, what software needed to compile? what do you need to run once you have files from git?
    just asking the question if info can be put in 1 place and explained? thanks
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    sab-to-go, i can summarize the steps i did once I got it to run.
    I am not done yet.
    I do not get a the section with the tv cards, where the channel scan can be done (Picture1). The log file is attached (Server.log).
    The tv cards are correctly detected, but there is no section for channel scan.
    Tere is no error logged, just the section is missing.

    Another bug i found when changing the port in the streaming server section. Once I changed from 554 to 555, closed and reopened the configuration, I got picture2. It looks like some issue in the database. Once I delete the data base MP2TVE.sdf I get the original picture again.
     

    Attachments

    • Picture1.JPG
      Picture1.JPG
      122.3 KB
    • Picture2.JPG
      Picture2.JPG
      66.4 KB

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #80
    Picture1 shows you the cards as "unknown". This issue has been fixed by Sebastiii recently (but not yet in dev). First you should try to restart MP2-Server, on 2nd run the card types should be ok.
     

    Users who are viewing this thread

    Top Bottom