NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 60 61 62 63 64 … 93 Next »
Config settings

 
  • 0 Vote(s) - 0 Average
Config settings
MaskedSheddi
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Feb 2006
#1
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
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2006-02-01, 03:27 PM
Take a look here.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
MaskedSheddi
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Feb 2006
#3
2006-02-01, 03:32 PM
Aha!

Thank you.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#4
2006-02-01, 03:38 PM
No problem. Being nosey - what are you working on? Smile
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
MaskedSheddi
Offline

Junior Member

Posts: 3
Threads: 1
Joined: Feb 2006
#5
2006-02-01, 03:48 PM
McBainUK Wrote:Being nosey - what are you working on? Smile

It's a Recording & video library viewer that doesn't rely on the underlying directory structure to organise the programmes.

So a file can be in multiple genres or favourites lists.

Anyway, I doubt it'll ever see the light of day, but it gives me something concrete to work on while I'm learning.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to load settings for NPVR? reven 4 2,120 2012-11-01, 01:13 AM
Last Post: reven
  Where and how are plugin settings done now? psycik 5 2,172 2011-11-16, 07:17 PM
Last Post: mvallevand
  Settings config screen for class IEventNotification plugin imilne 9 3,439 2011-09-17, 06:06 PM
Last Post: sub
  config.xml & unvisible steeb 9 3,093 2011-06-19, 12:16 AM
Last Post: steeb
  Calling NextPVR restart after config.xml changes steeb 33 10,102 2011-05-02, 04:24 PM
Last Post: steeb
  XML Settings imilne 0 1,119 2010-10-18, 12:29 PM
Last Post: imilne
  Config.xml saving mvallevand 6 2,549 2010-01-08, 06:32 AM
Last Post: mvallevand
  Reading config.xml McBainUK 4 2,245 2009-03-26, 04:28 PM
Last Post: JavaWiz
  settings menu list box pastro 4 1,857 2009-01-19, 05:17 PM
Last Post: sub
  Plugin settings in the Config application Khurram 6 2,486 2008-06-09, 04:20 AM
Last Post: Khurram

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode