Hi there,
I am discovering an annoying problem after a reinstall of TVE3 (server and plugin). Talking about a singleseat setup on XP SP2. When opening the tv plugin in MP I get a dialog that the db can't be opened. After entering the IP of the server his dialog shows up again and again.
The log says:
I think the problem is in tvhome.cs, lines 2097 ff.
There the gentle.config is just loaded from the current path and not using the getfile methods introduced for the BASS player.
Would be nice if somebody could fix this, I tried but didn't succeed.
Thanks!
Maschine
I am discovering an annoying problem after a reinstall of TVE3 (server and plugin). Talking about a singleseat setup on XP SP2. When opening the tv plugin in MP I get a dialog that the db can't be opened. After entering the IP of the server his dialog shows up again and again.
The log says:
Code:
2007-10-03 15:10:21.281250 [ERROR][MPMain]: Unable to create/modify gentle.config Die Datei C:\MP\MediaPortal\musicplayer\plugins\visualizations\Spec'n'Hopp\gentle.config konnte nicht gefunden werden., bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
bei System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
bei System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
bei System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
bei System.Threading.CompressedStack.runTryCode(Object userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
bei System.Xml.XmlTextReaderImpl.OpenUrl()
bei System.Xml.XmlTextReaderImpl.Read()
bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
bei System.Xml.XmlDocument.Load(XmlReader reader)
bei System.Xml.XmlDocument.Load(String filename)
bei TvPlugin.ChannelNavigator.ReLoad()
I think the problem is in tvhome.cs, lines 2097 ff.
Code:
try
{
XmlDocument doc = new XmlDocument();
doc.Load("gentle.config");
XmlNode nodeKey = doc.SelectSingleNode("/Gentle.Framework/DefaultProvider");
XmlNode node = nodeKey.Attributes.GetNamedItem("connectionString");
XmlNode nodeProvider = nodeKey.Attributes.GetNamedItem("name");
node.InnerText = connectionString;
nodeProvider.InnerText = provider;
doc.Save("gentle.config");
}
There the gentle.config is just loaded from the current path and not using the getfile methods introduced for the BASS player.
Would be nice if somebody could fix this, I tried but didn't succeed.
Thanks!
Maschine