2006-02-01, 02:36 PM
Hi,
I'm new to writing GB-PVR plugins and indeed to programming for .NET, so please bear with me.
I have managed to create a working plugin, the problem is, pretty much everything is hard coded. For example I have the path to the recordings directory hard coded into the plugin. What I can't figure out, is how to read this path from the config:confused: .
I could just open the config.xml file and read it directly from there, but I suspect there is probably a class or method that deals with this already.
So, to cut out the waffle (I'm always long winded:o ), is there a way in the GB-PVR API to get specific information from the config.xml file?
Thanks for any help.
MaskedSheddi
I'm new to writing GB-PVR plugins and indeed to programming for .NET, so please bear with me.
I have managed to create a working plugin, the problem is, pretty much everything is hard coded. For example I have the path to the recordings directory hard coded into the plugin. What I can't figure out, is how to read this path from the config:confused: .
I could just open the config.xml file and read it directly from there, but I suspect there is probably a class or method that deals with this already.
So, to cut out the waffle (I'm always long winded:o ), is there a way in the GB-PVR API to get specific information from the config.xml file?
Thanks for any help.
MaskedSheddi