Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML Wrap
idtoc
Table Of Content
Table of Contents
outlinetrue
absoluteUrltrue
classwikitoc

This page contains all known bugs from drivers, codecs, Windows, etc. which can cause issues in MediaPortal.

...

Display Issues

...

Text with special (extended) characters does not render properly

...

  1. 2.1. No audio on some channels
  2. 2.2. No audio for some seconds when using skip steps / fast forward
  3. 2.3. MediaPortal controls system sounds instead of only its own

...

...

  1. 4.1. Slow Zapping or interaction with database
  2. 4.2. TV-Service fails to start with an Socket Exception
  3. 4.3. No MySQL database connection (client/server)

...

  1. 5.1. FileReader::Read() no open file

Display Issues

Text with special (extended) characters does not render properly

Reason:

This is a known limitation of MediaPortal's font engine. When rendering text, especially when rotating or scrolling, if a character in the string is outside the range of characters rendered to textures, the font engine will use an alternate method to render the text. It will use DirectX sprites. Sprites are 2D objects and cannot extend on the z-axis. When rendering sprites, only the part that lies on the z=0 plane is visible - everything else is clipped.

...

Go to:  C:\Windows\System32\drivers\etc 

Code Block
languagebrush: plain; collapse: false; first-line: 1; gutter: true; ruler: false; toolbar: true; wrap-lines: true;text
127.0.0.1 localhost
::1 localhost

...

An error.log will be created which should have entries similar to this:

Code Block
languagebrush: plain; collapse: false; first-line: 1; gutter: true; ruler: false; toolbar: true; wrap-lines: true;text
Exception :Error: DatabaseUnavailableUnclassified
Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached.
Check the connection string: Server=localhost;Database=MpTvDb;User ID=root;Password=***;charset=utf8;Connection Timeout=300; ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Exception of type 'System.Exception' was thrown.
at MySql.Data.MySqlClient.NativeDriver.Open()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Gentle.Provider.MySQL.MySQLProvider.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.MySQL.MySQLAnalyzer.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 TvPlugin.ChannelNavigator.ReLoad()MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Exception of type 'System.Exception' was thrown.
at MySql.Data.MySqlClient.NativeDriver.Open()
--- End of inner exception stack trace ---
at MySql.Data.MySqlClient.NativeDriver.Open()
at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
at MySql.Data.MySqlClient.MySqlPool.GetConnection()
at MySql.Data.MySqlClient.MySqlConnection.Open()
at Gentle.Provider.MySQL.MySQLProvider.GetConnection()System.Exception: Exception of type 'System.Exception' was thrown.
at MySql.Data.MySqlClient.NativeDriver.Open()

...

If you open the TV Guide on client side you will get a picture similar to this:

 

Resolution:

  1. Navigate to the folder: 

    Code Block
    languagephpxml
    C:\ProgramData\TeamMediaPortal\MediaPortal TV Server

    (note:

    Code Block
    languagephpxml
    ProgramData

    is a hidden folder)

  2. Open

    Code Block
    languagephpxml
    gentle.config

    with a text editor

  3. Search for the line which looks similar to:
Code Block
languagebrush: plain; collapse: false; first-line: 1; gutter: true; ruler: false; toolbar: true; wrap-lines: true;text
<DefaultProvider name="MySQL" connectionString="Server=localhost;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" />
  1. Change the red marked word above to:
Code Block
languagebrush: plain; collapse: false; first-line: 1; gutter: true; ruler: false; toolbar: true; wrap-lines: true;text
<DefaultProvider name="MySQL" connectionString="Server=<NameOfMyTVServer>;Database=MpTvDb;User ID=root;Password=MediaPortal;charset=utf8;Connection Timeout=300;" />

...

If this does not help and you still don't get a database connection look for the

Code Block
languagephpxml
gentle.config

in 

Code Block
languagephpxml
C:\ProgramData\Team MediaPortal\MediaPortal

...