NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 54 55 56 57 58 … 93 Next »
ShowMessage function

 
  • 0 Vote(s) - 0 Average
ShowMessage function
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#1
2006-06-25, 01:23 AM
Code:
GBPVR.Public.PluginHelperFactory.getPluginHelper().ShowMessage(msg);
works fine in main menu (or sub-menus), but not during playback, or even paused playback (music yes, video, tv - no).

Any idea why?

If I wanted to display a "messge" or info during video playback (or paused video playback, tv, shifted tv, or video) - which interface/code should I use?

Thanks
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2006-06-25, 01:33 AM
Dont use this function, its no longer supported. Its only left there for compatibility reasons.

If you need to display a over video, you need to create an IVideoPlugin.
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#3
2006-06-25, 01:35 AM
thanks. I will look into that.
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#4
2006-06-25, 01:52 AM
By the way - if I implement multiple interfaces in the same plugin (makes my life much easier), I undertand the App will create an instance for each interface, correct?
So, at least, is there a way to know (in the CTOR) with which interface I was started?
Also - whether I was started for GBPVR main app, or for the config? (the PluginHelperFactory.getPluginHelper() returns "null" in CONFIG, so I use this dirty method to know. I hope there's a better way I was missing).
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#5
2006-06-27, 04:29 PM
Wait - so, now I have my early stages of a IVideoPlugin - showing the message over the video. But what if a video is not playing?
The "ShowMessage" works over menus, etc. Is there a solution to interupt/prompt the user when in menu mode?
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2006-06-27, 04:34 PM
Quote:Wait - so, now I have my early stages of a IVideoPlugin - showing the message over the video. But what if a video is not playing?
Then it wont work.

Quote:The "ShowMessage" works over menus, etc. Is there a solution to interupt/prompt the user when in menu mode?
Unfortunately, no there isnt. It was never really required by anyone, so nothing like this was added.
madcat
Offline

Senior Member

Posts: 634
Threads: 104
Joined: Apr 2006
#7
2006-06-29, 04:01 AM
Ok so add one to the count. No, I don't use the CallerID:
A. I don't have a phone connection next to that PC.
B. I don't care so much who's calling (see [C]).
C. We cancelled to caller display option from the phone company, so CallerID will not work at all.

However, my alfa version of new plugin d/l count is zero, but I (will) use it (and I don't need to download my own plugin...). so do count++;

Thanks for the tip on the task thing!
* Rogers Analog Cable [Canada]
* Hauppauge WintTV PVR USB2
* IBM Thinkpad T42 / 1GB Mem / Centrino 1.6Ghz / 60GB HD / ATI Mobility Radeon 7500 + VGA/DVI out
* MCE Remote + Keyboard
* Win XP SP2 / GBPVR [Latest version. always]
* Pioneer HDTV via VGA (1360x768)
* MS Remote Keyboard
* Logitech Harmony 880 [via MS Remote Control Reciever]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Function to provide more info on playing video? markm 3 2,034 2007-09-16, 02:19 PM
Last Post: ralphy
  Can you skin "pluginHelper.ShowMessage(message)" reven 2 1,528 2006-01-10, 12:55 PM
Last Post: reven
  Is there a function to get the current volume level? Jeff 0 1,150 2005-05-17, 01:24 AM
Last Post: Jeff

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

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

Linear Mode
Threaded Mode