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

astrapowerrr

Portal Pro
May 21, 2008
180
13
47
ijsselstein
Home Country
Netherlands Netherlands
So if mp2 is using its own database, then how is it possible my database is not working. It should be possible to run the two programs on one computer isn't it?
 

breese

Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    You can only have 1 TVService running on a machine at a time
    Native = Has its own TVService
    Slim = Connects to an MP1 TVService

    Does your server have a TV Card in it?
    If it does, then you can choose between MP1 and using Slim or Stop the MP1 service and let MP2 Native handle the TV Card
     

    astrapowerrr

    Portal Pro
    May 21, 2008
    180
    13
    47
    ijsselstein
    Home Country
    Netherlands Netherlands
    Hi my server has 2 tv cards and I do stop the mp1 tv service... But when I want to open setup tv with mp2 it says that tv service is not running. You guys told me it was something with database not starting. But don't no what to do next.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Thanks, now I got subtitles. There are small differences between MP1 and MP2 as you can see from the screenshots. But I cannot say which one I like more. I think the start position is better in MP1 (MP2 should be moved a little to the right) and the font is bigger in MP1 but I'm not sure if it has to be that big but a little bigger than MP2 currently at least, (maybe user configurable?).

    What about TeleText subtitles? Most of the channels where I'd like to have subtitles still use TeleText subtitles and not DVB subtitles.
    The first test build had disabled stretching, thats why subs look "smaller" than MP1. I enabled the existing behavior again, updated TsReader and DvbSub3 (thanks @chefkoch!!!). New version attached! It also enables full back to be transparent. This fixes black rectangle borders for my DvbSubs. Can you please make a new screenshot of same frame as in your previous post?

    When it comes to Teletext subs, there are some points not clear to me:

    Current MP1 code does not consider the subtitle.type (was used to distinguish Bitmap and Text type). Old and new code: https://github.com/morpheusxx/Media...f1e#diff-0651929e0545a606a5a0ea9571d021baL258. Can some of our MP1 @Developers can explain the current handling of Teletext subs of MP1, please?
     

    Attachments

    • 20140501-Exp_Subtitle_v2.7z
      393.1 KB

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    As for your database. It is being created
    [2014-04-30 22:24:57,036] [766 ] [Main ] [INFO ] - SQLiteDatabase: Initialization Command: 'PRAGMA wal_autocheckpoint=32768;PRAGMA temp_store=MEMORY;' (Default Initialization Command: 'PRAGMA wal_autocheckpoint=32768;PRAGMA temp_store=MEMORY;')
    [2014-04-30 22:24:57,078] [808 ] [Main ] [INFO ] - SQLiteDatabase: Connection String used: 'fulluri="file:///C:/ProgramData/Team%20MediaPortal/MP2-Server/Database/Datastore.s3db?cache=shared";version=3;binaryguid=True;default timeout=30000;cache size=32768;journal mode=Wal;pooling=False;synchronous=Normal;foreign keys=True'
    [2014-04-30 22:24:57,082] [812 ] [Main ] [DEBUG] - SQLiteDatabase: 1 connections in use


    The problem comes in when what looks like the card info is being accessed. This is more for the Dev's than me.
    I have never had an issue like this.
    2014-04-30 22:24:57,947] [1677 ] [5 ] [ERROR] - ObjectContextManager : error opening database. Is the SQL engine running ?
    System.Data.SQLite.SQLiteException (0x80004005): SQL logic error or missing database
    no such table: LnbTypes
    at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
    at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
    at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
    at System.Data.SQLite.SQLiteDataReader.NextResult()
    at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
    at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
    at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
    at System.Data.Common.DbCommand.ExecuteReader()
    at System.Data.Objects.ObjectContext.ExecuteStoreQueryInternal[TElement](String commandText, String entitySetName, MergeOption mergeOption, Object[] parameters)
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.CheckCreateDatabase(Model model)
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.Initialize()
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    As for your database. It is being created
    [2014-04-30 22:24:57,036] [766 ] [Main ] [INFO ] - SQLiteDatabase: Initialization Command: 'PRAGMA wal_autocheckpoint=32768;PRAGMA temp_store=MEMORY;' (Default Initialization Command: 'PRAGMA wal_autocheckpoint=32768;PRAGMA temp_store=MEMORY;')
    [2014-04-30 22:24:57,078] [808 ] [Main ] [INFO ] - SQLiteDatabase: Connection String used: 'fulluri="file:///C:/ProgramData/Team%20MediaPortal/MP2-Server/Database/Datastore.s3db?cache=shared";version=3;binaryguid=True;default timeout=30000;cache size=32768;journal mode=Wal;pooling=False;synchronous=Normal;foreign keys=True'
    [2014-04-30 22:24:57,082] [812 ] [Main ] [DEBUG] - SQLiteDatabase: 1 connections in use


    The problem comes in when what looks like the card info is being accessed. This is more for the Dev's than me.
    I have never had an issue like this.
    2014-04-30 22:24:57,947] [1677 ] [5 ] [ERROR] - ObjectContextManager : error opening database. Is the SQL engine running ?
    System.Data.SQLite.SQLiteException (0x80004005): SQL logic error or missing database
    no such table: LnbTypes
    at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
    at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
    at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
    at System.Data.SQLite.SQLiteDataReader.NextResult()
    at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
    at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
    at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
    at System.Data.Common.DbCommand.ExecuteReader()
    at System.Data.Objects.ObjectContext.ExecuteStoreQueryInternal[TElement](String commandText, String entitySetName, MergeOption mergeOption, Object[] parameters)
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.CheckCreateDatabase(Model model)
    at Mediaportal.TV.Server.TVDatabase.EntityModel.ObjContext.ObjectContextManager.Initialize()
    This issue is solved this way: https://forum.team-mediaportal.com/...ion-in-application.125752/page-2#post-1078772
     

    astrapowerrr

    Portal Pro
    May 21, 2008
    180
    13
    47
    ijsselstein
    Home Country
    Netherlands Netherlands
    did my channelscan and everything is setup nice... on my server my client just plays fine...
    on my laptop trying to connect with the server is also fine.
    plays my movies perfect... but not my live tv
    it says my player is not registered... for stream 2.0 or stream 3.1 etc
    searched through setting but cant find anything, also on my server side I cant see a live tv stream(client is streaming)

    any suggestions?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Please post MP2-Client log files, it will tell us more
     

    Users who are viewing this thread

    Top Bottom