[solved] MPExtended Service (ver: 0.7.13). MySQL could not be reached. After updating to 1.38 from 1.37. (1 Viewer)

Noise672

Portal Pro
August 9, 2015
98
44
71
Montreal
Home Country
Canada Canada
Help please.
Error could have started happening after upgrade to 1.38 on 2025-08-04.

Thank you

EDIT: I have installed 1.38.0.
Also not running the latest VCRedist 2025-2022 (x64) I'm running ver. 14.31.31103 (2024-12-12)

TVServerKodi is having NO problem (TV, Recordings and Video playback all good)
 

Attachments

  • MPExtendedServiceLog.zip
    410.6 KB
  • install_x64.1.38.000.0_2025-08-04_10-48-07.log
    3.9 KB
Last edited:

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,170
    13,767
    Kyiv
    Home Country
    Ukraine Ukraine
    This version?
    https:// github.com / MPExtended / MPExtended / releases / tag / v0.7.15.x64
     

    Noise672

    Portal Pro
    August 9, 2015
    98
    44
    71
    Montreal
    Home Country
    Canada Canada
    Was running ver: 0.7.13.x64.

    I now installed https://github.com//MPExtended/rele...:~:text=MPExtended.Installers.Service.x64.msi

    With v07.15.x64, MPTvScheduler connects to MPExtended shows TVguide but will not playback TV or recordings.

    Thank you for helping
     

    Attachments

    • MPExtended_v07.15.x64ServiceLog.zip
      418.8 KB

    Noise672

    Portal Pro
    August 9, 2015
    98
    44
    71
    Montreal
    Home Country
    Canada Canada
    I see this thread is tag as SOLVED.

    But I cannot watch TV or recordings.
    Should I open a new thread for MPExtended v0.7.15x64?

    Thank you
     

    Noise672

    Portal Pro
    August 9, 2015
    98
    44
    71
    Montreal
    Home Country
    Canada Canada
    I have not changed settings for months after testing for the best Transcoder profile for me.
    Was there a new ffmpeg in last update?


    In MPTvScheduler:
    I can display the Tv guide and schedule a recording.
    I can display the recorded TV list.
    When selecting a TV channel or a recording to watch... It start buffering and I get "Impossible de lire".

    In MPTvExtended tray application:
    There is the client stuck in Activity
    Capture d’écran 2025-08-10 162616.png

    I tried using internal media player but it did not help and when back to VLC.

    I have the same issues on 4 different Android client.

    Thank you @ajs
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,170
    13,767
    Kyiv
    Home Country
    Ukraine Ukraine
    I have the same issues on 4 different Android client.
    Perhaps @catavolt can help, for example with his settings or selection of profiles or something else.
    Stream playback is the biggest problem with MPExtended, there are many dependencies and a very old implementation. I don't understand much about this, I need someone who does.
    For all the time that I tried to revive and update this project, playback never worked for me. But it worked for other users.
    Well, there have been no changes in playback or in the code associated with it for a long time, the code in 1.37 and 1.38 is the same, as well as in 1.36 or 1.35.

    but will not playback TV or recordings.
    I looked at the log file, and these errors confuse me:
    Code:
    2025-05-26 10:18:08.57620 [               (12)]  WARN: Loading MediaInfo cache failed
    System.Runtime.Serialization.SerializationException: Une erreur s'est produite lors de la désérialisation de l'objet de type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[MPExtended.Services.StreamingService.MediaInfo.CachedInfoWrapper, MPExtended.Services.StreamingService, Version=0.6.0.1, Culture=neutral, PublicKeyToken=null]]. Les données au niveau racine sont non valides. Ligne 1, position 1.
     ---> System.Xml.XmlException: Les données au niveau racine sont non valides. Ligne 1, position 1.
       à System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
       à System.Xml.XmlUTF8TextReader.Read()
       à System.Runtime.Serialization.CollectionDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context)
       à System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
       à System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
       à System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
       à System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
       --- Fin de la trace de la pile d'exception interne ---
       à System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
       à System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)
       à MPExtended.Services.StreamingService.MediaInfo.XmlCache..ctor() dans D:\a\MPExtended\MPExtended\Services\MPExtended.Services.StreamingService\MediaInfo\XmlCache.cs:ligne 48
    and
    Code:
       à MPExtended.Services.TVAccessService.TVAccessService.TestConnectionToTVService() dans D:\a\MPExtended\MPExtended\Services\MPExtended.Services.TVAccessService\TVAccessService.cs:ligne 134MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed.
     ---> System.IO.IOException: Impossible de lire les données de la connexion de transport : Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte.
     ---> System.Net.Sockets.SocketException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
       à System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- Fin de la trace de la pile d'exception interne ---
       à MySql.Data.Common.MyNetworkStream.HandleOrRethrowException(Exception e)
       à MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       à System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.MySqlStream.LoadPacket()
       à MySql.Data.MySqlClient.MySqlStream.LoadPacket()
       à MySql.Data.MySqlClient.MySqlStream.ReadPacket()
       à MySql.Data.MySqlClient.NativeDriver.Open()
       à MySql.Data.MySqlClient.Driver.Open()
       à MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
       à MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
       à MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
       à MySql.Data.MySqlClient.MySqlPool.GetConnection()
       à MySql.Data.MySqlClient.MySqlConnection.Open()
       à Gentle.Provider.MySQL.MySQLProvider.GetConnection()System.IO.IOException: Impossible de lire les données de la connexion de transport : Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte.
     ---> System.Net.Sockets.SocketException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
       à System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- Fin de la trace de la pile d'exception interne ---
       à MySql.Data.Common.MyNetworkStream.HandleOrRethrowException(Exception e)
       à MySql.Data.Common.MyNetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
       à System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)
       à MySql.Data.MySqlClient.MySqlStream.LoadPacket()System.Net.Sockets.SocketException (0x80004005): Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
       à System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

    Try stopping MPExtended and deleting the MediaInfo-v2.xml file, then run it.

    It looks like playback started here and was stopped by the client:
    Code:
    2025-06-06 13:30:38.59204 [               (21)]  INFO: [        Motorola_G_Stylus_5G31] Encoding: Waiting till output named pipe is ready
    2025-06-06 13:30:40.84322 [               (21)]  INFO: [        Motorola_G_Stylus_5G31] All data units started!
    2025-06-06 13:30:40.84322 [               (21)]  INFO: [        Motorola_G_Stylus_5G31] Started stream
    2025-06-06 13:31:55.83315 [               ( 3)] DEBUG: [        Motorola_G_Stylus_5G31] Called FinishStream
    2025-06-06 13:31:55.83315 [               ( 3)] DEBUG: [        Motorola_G_Stylus_5G31] Stopping stream

    MPExtended on the same computer as Mediaportal?
    Code:
    2025-06-16 14:14:51.86641 [               (20)]  WARN: Failed to read section movies from MediaPortal.xml
    System.Xml.XmlException: Fin de l'analyse de fichier inattendue Name. Ligne 98, position 9.
       à System.Xml.XmlTextReaderImpl.Throw(Exception e)
       à System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
       à System.Xml.XmlTextReaderImpl.ParseElement()
       à System.Xml.XmlTextReaderImpl.ParseElementContent()
       à System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
       à System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
       à System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o)
       à System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
       à System.Xml.Linq.XElement.Load(Stream stream, LoadOptions options)
       à MPExtended.Libraries.Service.Util.Mediaportal.LoadConfigurationFile() dans D:\a\MPExtended\MPExtended\Libraries\MPExtended.Libraries.Service\Util\Mediaportal.cs:ligne 129
       à MPExtended.Libraries.Service.Util.Mediaportal.ReadSectionFromConfigFile(String sectionName) dans D:\a\MPExtended\MPExtended\Libraries\MPExtended.Libraries.Service\Util\Mediaportal.cs:ligne 156
    2025-06-16 14:14:51.96930 [               (20)]  WARN: MPShares: Failed to read section movies from MediaPortal configuration file, aborting configuration reading

    Regarding the error (0x80004005), Google says:
    • Configure your system to use IPV6 or IPV4 depending on how your network is set up.
    • Reset Windows sockets*. Click the Windows Start button. Type CMD. Click Run as administrator in the command prompt result. Type netsh winsock reset.
    Code:
    2025-08-10 11:24:28.56592 [               (23)] ERROR: [             MotorolaGStylus5G] Encoding: Failed to start transcoder
    System.ComponentModel.Win32Exception (0x80004005): Le fichier spécifié est introuvable
       à System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       à MPExtended.Services.StreamingService.Units.EncoderUnit.SpawnTranscoder(Boolean needsStdin, Boolean needsStdout) dans D:\a\MPExtended\MPExtended\Services\MPExtended.Services.StreamingService\Units\EncoderUnit.cs:ligne 167
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,170
    13,767
    Kyiv
    Home Country
    Ukraine Ukraine
    Here it might be worth trying to move away from NamedPipe...
    Code:
    2025-05-28 17:33:56.89721 [               ( 5)] DEBUG: IOException in NamedPipe.Write, is usually no problem
    System.IO.IOException: Le canal est endommagé.
       à System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
       à System.IO.Pipes.PipeStream.EndWrite(IAsyncResult asyncResult)
       à System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
       à MPExtended.Services.StreamingService.Code.NamedPipe.Write(Byte[] buffer, Int32 offset, Int32 count) dans D:\a\MPExtended\MPExtended\Services\MPExtended.Services.StreamingService\Code\NamedPipe.cs:ligne 99
     

    Users who are viewing this thread

    Top Bottom