Plugin problem with German Windows XP installation
Hello,
I installed this marvellous plugin but unfortunately it's not working. If I try to configure the plugin an exeption occurs. The details of the exeption show, that the file VideoSearchCfg.xml is missing or can't be written. The details also show that the file is expected under the "wrong" path "...Application Data\Team MediaPortal\MediaPortal\VideoSearchCfg.xml".
The problem is that with a german Windows XP installation the path should be "...Anwendungsdaten\Team MediaPortal\MediaPortal\VideoSearchCfg.xml"
In SettingsDLG.cs the path is hard coded.
.....
static DirectoryInfo di = new DirectoryInfo(System.Environment.GetEnvironmentVariable("ALLUSERSPROFILE"));
public static string sConfigFile = di.FullName + "\\Application Data\\Team MediaPortal\\MediaPortal\\VideoSearchCfg.xml";
......
Would it be possible to change the code to consider the installation language of Windows?
many
Hello,
I installed this marvellous plugin but unfortunately it's not working. If I try to configure the plugin an exeption occurs. The details of the exeption show, that the file VideoSearchCfg.xml is missing or can't be written. The details also show that the file is expected under the "wrong" path "...Application Data\Team MediaPortal\MediaPortal\VideoSearchCfg.xml".
The problem is that with a german Windows XP installation the path should be "...Anwendungsdaten\Team MediaPortal\MediaPortal\VideoSearchCfg.xml"
In SettingsDLG.cs the path is hard coded.
.....
static DirectoryInfo di = new DirectoryInfo(System.Environment.GetEnvironmentVariable("ALLUSERSPROFILE"));
public static string sConfigFile = di.FullName + "\\Application Data\\Team MediaPortal\\MediaPortal\\VideoSearchCfg.xml";
......
Would it be possible to change the code to consider the installation language of Windows?
many