Mediaportal 1.02 and For The Record 1.4RC (1 Viewer)

providers

MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    You got a PM,
    Please check If you can login...

    I have added yout patch to the server.

    I tryed to start a stream from MMC, same time as I startet a channel in MP
    I think MP runs longer b4 the error apears in channel change, but it apears and the stream stops in MP

    The stream in MMC goes on.
    The streams was on 2 tuners.
     

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    Thank god some one else is having similar issues.. I was so concerned I would be the only one..

    Hope you guys find it all out..
     

    providers

    MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    Do you expience the same stop as me after adding the patch?
    And do you have this error in the FTR log?
    [Warning][LiveStreamAlive]: Forcing live stream to stop: 'rtsp://192.168.1.5/stream1.0' (no keep-alive was sent).
     

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    2009-06-07 17:20:32.589399 [5]: applyProcessPriority: exception is at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
    at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
    at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
    at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
    at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
    at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
    at TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
    at TvService.Service1.applyProcessPriority()
    2009-06-07 17:20:32.966399 [TVService]: Exception :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=Media-PC\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    --- End of inner exception stack trace ---
    at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
    at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
    at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
    at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
    at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
    at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
    at TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
    at TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
    at TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()

    2009-06-07 17:20:36.019399 [TVService]: Exception :Error: DatabaseUnavailableUnclassified
    Gentle.Common.GentleException: The database backend (provider SQLServer) could not be reached.
    Check the connection string: Password=***;Persist Security Info=True;User ID=sa;Initial Catalog=MpTvDb;Data Source=Media-PC\SQLEXPRESS;Connection Timeout=300; ---> System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
    --- End of inner exception stack trace ---
    at Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)
    at Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)
    at Gentle.Provider.SQLServer.SQL92Analyzer.Analyze(String tableName)
    at Gentle.Provider.SQLServer.SQLServerAnalyzer.Analyze(String tableName)
    at Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)
    at Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)
    at TvDatabase.TvBusinessLayer.GetSetting(String tagName, String defaultValue)
    at TvLibrary.Implementations.TvCardCollection..ctor(IEpgEvents epgEvents)
    at TvService.TVController.InitController()System.Data.SqlClient.SqlException: Cannot open database "MpTvDb" requested by the login. The login failed.
    Login failed for user 'sa'.
    at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Gentle.Provider.SQLServer.SQLServerProvider.GetConnection()
     

    providers

    MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    I have also noticed this error, it disapeared when I changed the way FTR connects to the SQL
    I changed it to Windows auth.


    Do you have any errors in C:\Program Files\For The Record\Services\Logs\ForTheRecord.log
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Here's a newer TV server recorder/tuner with a tweak to the keep-alive code. Providers did some advance-testing on his system, and the tweak seems to have helped :)

    I welcome all feedback of course! If confirmed, this fix will be part of the next point-release of For The Record.

    Simply stop the TvService service and copy the assembly on top of the 1.4.0.0 one in C:\Program Files\Team MediaPortal\MediaPortal TV Server\plugins. Then restart TvService.
     

    Attachments

    • RecorderTuners.MediaPortalTvServer-live-fix.zip
      30.8 KB

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    As far as I can tell this has resolved the last standing error I had... I've just been flipping through channels for about 5 minutes, it would have usually shat it's self after about 10 channel flips...

    Well I'm a happy chappy, persistently payed off.. Good work dvdfreak :D
     

    thesystemera

    Portal Pro
    May 26, 2008
    810
    22
    42
    Auckland
    Home Country
    New Zealand New Zealand
    TV Server log
    2009-06-09 16:58:12.046591 [18]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.1.1.4:31456

    4TR Log
    6/9/2009 4:59:00 PM [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 4:59:00 PM [Warning][LiveStreamAlive]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 5:01:01 PM [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 5:02:02 PM [Warning][LiveStreamAlive]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 5:03:02 PM [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 5:04:03 PM [Warning][LiveStreamAlive]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
    6/9/2009 5:05:03 PM [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: This request operation sent to net.tcp://localhost:49842/RecorderTunerService did not receive a reply within the configured timeout (00:01:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.


    Spoke too soon... Not having any channel issues but now this is happening...

    Interestingly enouugth when I go to management console. I can connect to server but it takes a really long time to say connected.. When I stop and then restart the TVService the problem is gone.. So yeah basically it is connecting but timing out, and for the life of me I can't explain the chane of events that makes the TV Service slow down all of a sudden, it seems to happen pretty much at random... And not that often...
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    This looks more like an internal TV server issue.

    However, my earlier change to use RemoteControl.Instance in our recorder/tuner may be responsible for triggering this problem. I've rolled back that change so you can test this. Please try the recorder/tuner below to see if that improves things:
     

    Attachments

    • RecorderTuners.MediaPortalTvServer-noremote.zip
      30.8 KB

    providers

    MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    I still get some errors, but not as many as b4.

    2009-06-09 14:47:43.735000 [ERROR][MPMain]: GUIWindow:OnWindowLoaded id:36 ex:Et objekt af typen 'MediaPortal.GUI.Library.GUILabelControl' kan ikke konverteres til typen 'MediaPortal.GUI.Library.GUITextControl'. ved System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)
    ved System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
    ved MediaPortal.GUI.Library.GUIWindow.OnWindowLoaded() MediaPortal.GUI.TV.GUITVOSD
    2009-06-09 14:47:46.417000 [ERROR][MPMain]: GUIWindow:OnWindowLoaded id:36 ex:Et objekt af typen 'MediaPortal.GUI.Library.GUILabelControl' kan ikke konverteres til typen 'MediaPortal.GUI.Library.GUITextControl'. ved System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)
    ved System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
    ved MediaPortal.GUI.Library.GUIWindow.OnWindowLoaded() ForTheRecord.UI.MediaPortal.TvOsd
    2009-06-09 14:48:52.377000 [ERROR][MPMain]: GUIWindow:OnWindowLoaded id:36 ex:Et objekt af typen 'MediaPortal.GUI.Library.GUILabelControl' kan ikke konverteres til typen 'MediaPortal.GUI.Library.GUITextControl'. ved System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck, Boolean doCheckConsistency)
    ved System.Reflection.RtFieldInfo.InternalSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture, Boolean doVisibilityCheck)
    ved System.Reflection.RtFieldInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
    ved MediaPortal.GUI.Library.GUIWindow.OnWindowLoaded() ForTheRecord.UI.MediaPortal.TvOsd
    2009-06-09 14:49:55.328000 [ERROR][11]: Assertion failed! Data alignment bit not set
    2009-06-09 14:49:55.328000 [ERROR][11]: Assertion failed! First two bits of 6th byte wrong
    2009-06-09 14:49:55.329000 [ERROR][11]: Assertion failed! Data unit id invalid value 4
    2009-06-09 14:54:21.332000 [ERROR][25]: render exception:confused:ystem.ArgumentOutOfRangeException: Indekset lå uden for området. Det må ikke være negativt og skal være mindre end størrelsen på samlingen.
    Parameternavn: index
    ved System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    ved System.ThrowHelper.ThrowArgumentOutOfRangeException()
    ved System.Collections.Generic.List`1.get_Item(Int32 index)
    ved MediaPortal.GUI.Library.GUIListControl.RenderPinIcon(Single timePassed, Int32 buttonNr, Int32 x, Int32 y, Boolean gotFocus)
    ved MediaPortal.GUI.Library.GUIListControl.Render(Single timePassed)
    ved MediaPortal.GUI.Library.GUIControl.DoRender(Single timePassed, UInt32 currentTime)
    ved MediaPortal.GUI.Library.GUIWindow.Render(Single timePassed)
     

    Users who are viewing this thread

    Top Bottom