2006-05-08, 11:32 PM
sixgun Wrote:Currently, it assumes (always bad to do, i know!) that the path ends with a \ character.Seems like a reasonable assumption. I do the same thing in my code:
Code:
String gbpvrHomeDir = null;
String gbpvrDataSource = null;
// Get the GBPVR install dir from registry or default to local for debugging
try
{
RegistryKey rk = Registry.LocalMachine.OpenSubKey("Software\\devnz");
gbpvrHomeDir = (String)rk.GetValue("GBPVR InstallDir");
}
catch { gbpvrHomeDir = "..\\..\\"; }
gbpvrDataSource = gbpvrHomeDir + "gbpvr.mdb";
Quote: Then it sticks gbpvr.exe on the end, and then runs it with a parameter of "-import".Your code does seem to run the GBPVR import. It just didn't import the new mpegs. Is there a way of checking if it is passing in the correct xml file?
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]
Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.