NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 58 59 60 61 62 … 93 Next »
How to get info on a running instance of GBPVR

 
  • 0 Vote(s) - 0 Average
How to get info on a running instance of GBPVR
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#1
2006-03-22, 10:45 PM (This post was last modified: 2012-03-01, 06:17 AM by McBainUK.)
For a project I'm working on I'd like to be able to get info on the currently running GBPVR instance.

For example, in a plugin I can call this
Code:
PluginHelperFactory.getPluginHelper().GetAudioPlayList(out currentIndex, out trackDuration, out playbackPosition);
But when I call it from an external exe/dll it fails.

Being relativly new to .net and C# I think I may be missing the point.

I suppose I could make a plugin which starts a new "InfoFinder" thread which writes info on GBPVR out to file, which the other app could then read in.

Is there another way?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2006-03-22, 10:49 PM
The PluginHelper will only work from inside the gbpvr.exe process.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#3
2006-03-22, 10:56 PM
sub Wrote:The PluginHelper will only work from inside the gbpvr.exe process.
Thought as much Sad

If a where to make a plugin and in it's cstr start a new "InfoWriter" thread would GBPVR just carry on as normal? InfoWriter would run on a timer writing out small bits of info every now and then for the other program to read in.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#4
2006-03-22, 11:25 PM
Honestly, I'm not sure. Its not something I've tested. You may have problems making these calls from a thread other than the main one. I know if Windows Media Player can be picky about this.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#5
2006-03-23, 07:25 AM (This post was last modified: 2012-03-01, 06:22 AM by McBainUK.)
Just have to try it and see what happens Smile

Thanks for the replies sub and congrats on the new family member.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#6
2006-03-23, 11:09 PM (This post was last modified: 2012-03-01, 06:23 AM by McBainUK.)
The "InfoThreads" seem to be working ok so far. I'm using them to gather info to feed a new project I'm working on. Don't aim on publicy releasing it but heres how some pics.

This is GBPVR playing a rather good ska song titled "I can see clearly now"
....

My project is called PalmLED. It runs on the a host PC and feeds screens via a web server to the Palm's browser. See below:
...

Taping the Palm takes you to the menu page where you can choose different screens; Time, Recordings, Music etc.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  API (URL Info?) arrmo 14 14,292 2015-08-26, 02:04 PM
Last Post: arrmo
  TitanTv Remote Schedule For GBPVR UncleJohnsBand 51 33,636 2015-08-20, 05:11 PM
Last Post: sub
  Timing.Info question mvallevand 2 2,064 2013-04-19, 03:54 AM
Last Post: mvallevand
  NPVR 2.x recordings metadata and timing.info whurlston 4 2,844 2012-08-01, 06:19 PM
Last Post: whurlston
  Roku & GBPVR pvruser 16 11,488 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,710 2011-07-22, 01:27 AM
Last Post: pvruser
  DVD info lookup via WMP? McBainUK 20 9,717 2010-07-23, 09:55 PM
Last Post: whurlston
  Multiple Instance Conversion Program luttrell1962 0 1,119 2010-02-24, 08:16 PM
Last Post: luttrell1962
  Live GBPVR CD/DVD/Thumb drive :D pBS 101 28,392 2010-01-03, 06:22 AM
Last Post: pBS
  Getting reoccurring extras info fla 6 2,211 2009-08-28, 06:47 PM
Last Post: fla

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

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

Linear Mode
Threaded Mode