home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Installation, configuration support
Client/Server configuration with TV-Server turned off
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mp.user" data-source="post: 994192" data-attributes="member: 115064"><p>Hi,</p><p> </p><p>I have a question concerning client/server setup running on different machines.</p><p> </p><p>My scenario: most of the time I listen to offline music or webradio on a client, which is possible without the TV server (I have a playlist per radio station and use My Music to listen). The TV server is running on a dedicated machine. Since I don't need it most of the time, I'd like to use the client having the TV server turned off. The server should only be running when I need it. I tried the WOL-PowerManager plugin to achieve this, and it perfectly wakes up the server when necessary, so no problem here.</p><p> </p><p>Unfortunately, the client wants to connect to the server all the time, even when I don't use TV or Radio; here are a few examples from the log.</p><p> </p><p>When the client is started:</p><p>[code]</p><p>2013-05-15 06:43:34.793993 [Info.][MPMain(1)]: Load plugins from : C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\TvPlugin.dll</p><p>2013-05-15 06:43:34.801994 [Info.][MPMain(1)]: File Version : 1.3.0.0</p><p>2013-05-15 06:43:34.829995 [Info.][MPMain(1)]: RadioHome:OnAdded</p><p>2013-05-15 06:43:56.006206 [Info.][MPMain(1)]: Exception while loading GUIWindows instances: TvPlugin.Radio</p><p>2013-05-15 06:43:56.017207 [Info.][MPMain(1)]: The database backend (provider MySQL) could not be reached.</p><p>[/code]</p><p> </p><p>When I press play or stop on the Top Bar in My Music:</p><p>[code]</p><p>2013-05-15 06:48:51.986135 [ERROR][MPMain(1)]: Exception :The database backend (provider MySQL) could not be reached.</p><p>Check the connection string: Server=base;Database=MpTvDb;User ID=root;Password=***;charset=utf8;Connection Timeout=30;</p><p>2013-05-15 06:48:51.996136 [ERROR][MPMain(1)]: site :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String)</p><p>2013-05-15 06:48:52.004136 [ERROR][MPMain(1)]: source :Gentle.Common</p><p>2013-05-15 06:48:52.013137 [ERROR][MPMain(1)]: stacktrace: bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg)</p><p> bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args)</p><p> bei Gentle.Provider.MySQL.MySQLAnalyzer.Analyze(String tableName)</p><p> bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map)</p><p> bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type)</p><p> bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type)</p><p> bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)</p><p> bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type)</p><p> bei TvDatabase.TvBusinessLayer.GetRecordingByFileName(String fileName)</p><p> bei TvPlugin.RadioRecorded.OnPlayRecordingBackEnded(MediaType type, String filename)</p><p> bei MediaPortal.Player.g_Player.EndedHandler.Invoke(MediaType type, String filename)</p><p> bei MediaPortal.Player.g_Player.OnEnded()</p><p> bei MediaPortal.Player.g_Player.Process()</p><p> bei MediaPortalApp.OnProcess()</p><p> bei MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e)</p><p> bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)</p><p> bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)</p><p> bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)</p><p> bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)</p><p> bei System.Windows.Forms.Application.Run(Form mainForm)</p><p> bei MediaPortalApp.Main(String[] args)</p><p>[/code]</p><p> </p><p>As long as the server is turned off, MP is quite unusable because when I press a button, it no longer responds until a timeout occurs.</p><p> </p><p>So my question is: can I configure MediaPortal in a way that the TV-related stuff is only loaded/used when I actually need it?</p><p> </p><p>I browsed the forums but didn't find anything useful; I'd be glad if someone could give a hint.</p></blockquote><p></p>
[QUOTE="mp.user, post: 994192, member: 115064"] Hi, I have a question concerning client/server setup running on different machines. My scenario: most of the time I listen to offline music or webradio on a client, which is possible without the TV server (I have a playlist per radio station and use My Music to listen). The TV server is running on a dedicated machine. Since I don't need it most of the time, I'd like to use the client having the TV server turned off. The server should only be running when I need it. I tried the WOL-PowerManager plugin to achieve this, and it perfectly wakes up the server when necessary, so no problem here. Unfortunately, the client wants to connect to the server all the time, even when I don't use TV or Radio; here are a few examples from the log. When the client is started: [code] 2013-05-15 06:43:34.793993 [Info.][MPMain(1)]: Load plugins from : C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\windows\TvPlugin.dll 2013-05-15 06:43:34.801994 [Info.][MPMain(1)]: File Version : 1.3.0.0 2013-05-15 06:43:34.829995 [Info.][MPMain(1)]: RadioHome:OnAdded 2013-05-15 06:43:56.006206 [Info.][MPMain(1)]: Exception while loading GUIWindows instances: TvPlugin.Radio 2013-05-15 06:43:56.017207 [Info.][MPMain(1)]: The database backend (provider MySQL) could not be reached. [/code] When I press play or stop on the Top Bar in My Music: [code] 2013-05-15 06:48:51.986135 [ERROR][MPMain(1)]: Exception :The database backend (provider MySQL) could not be reached. Check the connection string: Server=base;Database=MpTvDb;User ID=root;Password=***;charset=utf8;Connection Timeout=30; 2013-05-15 06:48:51.996136 [ERROR][MPMain(1)]: site :Void FailWith(Gentle.Common.Severity, Gentle.Common.Error, System.Exception, System.String) 2013-05-15 06:48:52.004136 [ERROR][MPMain(1)]: source :Gentle.Common 2013-05-15 06:48:52.013137 [ERROR][MPMain(1)]: stacktrace: bei Gentle.Common.Check.FailWith(Severity severity, Error error, Exception e, String msg) bei Gentle.Common.Check.Fail(Exception e, Error error, Object[] args) bei Gentle.Provider.MySQL.MySQLAnalyzer.Analyze(String tableName) bei Gentle.Framework.GentleAnalyzer.UpdateObjectMap(ObjectMap map) bei Gentle.Framework.ObjectFactory.ConstructMap(PersistenceBroker broker, Type type) bei Gentle.Framework.ObjectFactory.GetMap(PersistenceBroker broker, Type type) bei Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator) bei Gentle.Framework.SqlBuilder..ctor(StatementType stmtType, Type type) bei TvDatabase.TvBusinessLayer.GetRecordingByFileName(String fileName) bei TvPlugin.RadioRecorded.OnPlayRecordingBackEnded(MediaType type, String filename) bei MediaPortal.Player.g_Player.EndedHandler.Invoke(MediaType type, String filename) bei MediaPortal.Player.g_Player.OnEnded() bei MediaPortal.Player.g_Player.Process() bei MediaPortalApp.OnProcess() bei MediaPortal.D3DApp.Application_Idle(Object sender, EventArgs e) bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei MediaPortalApp.Main(String[] args) [/code] As long as the server is turned off, MP is quite unusable because when I press a button, it no longer responds until a timeout occurs. So my question is: can I configure MediaPortal in a way that the TV-related stuff is only loaded/used when I actually need it? I browsed the forums but didn't find anything useful; I'd be glad if someone could give a hint. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
Client/Server configuration with TV-Server turned off
Contact us
RSS
Top
Bottom