NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 82 83 84 85 86 … 93 Next »
Caller ID Plugin and C++

 
  • 0 Vote(s) - 0 Average
Caller ID Plugin and C++
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#1
2004-10-22, 12:56 AM
Sub:

I came up with some old Caller ID code that I had that's in C that uses TAPI. I was thinking of 'converting' it to C++ and making a plugin now that we can post test to the TV screen [Image: smile.gif] Do you have a framework/sample I could use for a plugin in C++?

Thanks.
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#2
2004-10-22, 01:16 AM
No, I dont - sorry.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#3
2004-10-23, 03:00 AM
Don't know if it will help but what about http://sunflowerhead.com/software/yac/. The plugin could just be a listener that will receive the caller id messages and display them to the screen. This solution would require the yac process. But probably a fast solution as well. Might be able to use the code though.

I have found a bunch of code in VB. I guess maybe if the plugin or the logic was abstracting in VB net
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#4
2004-10-23, 03:23 PM
That looks pretty cool Jorm. I was thinking of the server style solution yac already has. They telll you how to write a network listener easy enough, and we can do that in C#. I am going to start playing with this code and hopefully have the gbpvr plugin ready in a week or 2.

Thanks for the link.
-CodeMonkey
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#5
2004-10-24, 01:05 AM
Sub:

This callerid plugin is a little unique in that it really has nothing to display on a screen of it's own.  Outside of a config screen, the only output of this plugin will be via ShowMessage().  Is there a way to have gbpvr not put a entry on the menu for this plugin (and thus not have it selectable), yet have it active so it can do its job?

Also, whats the max string length I can display via ShowMessage?

And since I'm already asking for stuff, it would be nice to be able to enable/disable calerid display via the remote.  Any way to achieve this?


Jorm:

I built that app and tried it.  It works well.  I haven't tried the server/listener aspect yet but I suspect that will work also.
-CodeMonkey
bryan
Offline

Member

Posts: 120
Threads: 3
Joined: Aug 2004
#6
2004-10-24, 02:00 PM
I too came up with a small VB.NET callerID plugin, but I agree it wouldn't be practical to run it as a standard plugin.

Since we are in the asking mode, I had a couple of requests also. One is to make sure the CallerID information is visible on the MVPs and not just the PC. I plan on having the PC in a wiring closet and use MVPs for all the interaction with GB-PVR.

The second thing is to try to make whatever approach is used, to be general purpose. I think it would be great to have the ability to write a invisible plugin that is executing along with other GB-PVR functions(mainly video playback). When a specific key sequence is received by the client, control is passed to the plugin but, as an example, video playback would continue. Then the invisible plugin would respond to keys and decide what to overlay on the screen(like the green or blue button functions do currently). I would use this with my home automation plugin, so that I could do things like turn lights on or off without stopping the video.

Sub, thanks as always for considering our requests.

Bryan
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#7
2004-10-24, 04:54 PM
The plugin sounds great.

Perhaps when you select the plugin from the menu it would show the last X number of callers.


The plugin sounds cool. Does the app allow you to run the server piece on a different machine. (My new machines does not have a modem, I can always add one). That could be cool. You can run it at home and have it show you at work whom is calling.

Looking forward to the plugin.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#8
2004-10-24, 05:01 PM
The ShowMessage API is compatible with all GB-PVR clients including MVP, but its up to the developer to make sure the message is routed to all the relevent clients. e.g If you call ShowMessage in a plugin, it'll only show up on that specific instance of GB-PVR. If you need to it appear on all MVPs currently running, you'd need to come up with your own mechanism for managing this.

I cant commit to the keystoke thing at this point, but will try and add something like this in a later release.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#9
2004-10-24, 09:53 PM
[b Wrote:Quote[/b] (jorm @ Oct. 24 2004,07:54)]The plugin sounds great.

Perhaps when you select the plugin from the menu it would show the last X number of callers.

The plugin sounds cool.  Does the app allow you to run the server piece on a different machine.  (My new machines does not have a modem, I can always add one). That could be cool.  You can run it at home and have it show you at work whom is calling.

Looking forward to the plugin.
I thought of displaying the call log.  But when running the server on a different box, there will be no call log on the gbpvr box.    We could create our own log on the gbpvr box I suppose.  But I will wait for version 2 for that [Image: smile.gif]


Yes, you can run the server on one box and as many listeners as you like on others on your network.  I envision the gbpvr box being a listener so you don't have to run a phone line to it.  But, you could also run all on one box if you like.

Sub, whats the max string length for ShowMessage() ? And is there a way to run as a plugin but not show up on the menu, or at least not put up a display?
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#10
2004-10-24, 10:14 PM
You can make a plugin that just implements the IEventNotification interface. This wont have a menu button.

I dont think there is maximum length at the moment, but it'll probably get clipped at a line or two. Its a bit ugly, but I got the feeling this was going to be one of those features some asks for and spend heaps of time implementing... but it never gets used. If you guys actually end up using this, then make it a bit nicer in the next release, and maybe allow additional graphics or more control over the general look of it (number of lines of text etc).



« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,935 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,424 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,507 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,932 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,800 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,172 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,978 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,053 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,272 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,455 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode