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++
bryan
Offline

Member

Posts: 120
Threads: 3
Joined: Aug 2004
#21
2004-12-07, 03:40 PM
Back around Oct. 24, in this thread, I brought up the possibility of a general purpose keyboard or remote handler. Sub, responded that he would consider it for a future release.

Sub, maybe you could look at the possibility of including this kind of capability in the next release. It looks like at least a couple of us are interested, maybe more. I'm thinking that this could be a relatively easy addition to the "Blue" button OSD. Press the "Blue" and then if the correct code is entered, the client calls a user written keyboard/remote plugin. Then it is up to the plugin to do something.

Thanks,

Bryan
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#22
2004-12-07, 03:40 PM
[b Wrote:Quote[/b] (KingArgyle @ Dec. 07 2004,04:43)]I believe all String.Empty does is map to null.  I could be wrong though.
That would make sense King.
-CodeMonkey
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#23
2004-12-07, 03:52 PM
For those interested in trying this, you can go and get the YAC Caller ID program and get that setup and running on your network.  You can run the main YAC program either on your GBPVR box, or on another box on your network (so you don't have to have a modem in, or run a phone line to, your gbpvr box if you don't want to).  Test it out on the install machine and get it working nice.  Then when you get the CallerID plugin you just need to configure a 'listener' in YAC.  If YAC is running on the gbpvr box, you will create a listener to 'localhost'.  If it's on another box on your LAN, you set the listener to the IP of the gbpvr box.

By default, YAC (and the CallerID plugin) uses port 10629.  if this doesn't work for you, change it in YAC and in the CallerID plugin config.

That should be all there is to it!

I will release a beta version within the next day or so.  But it really should be left disabled except for testing on the gbpvr main menu until the ShowMessage() bugs described ealier are resolved.

As a interesting side note, any program on the box running the main YAC program can send a message to YAC to send to its listeners.  In this way, a non gbpvr plugin can send messages to the screen if desired. Look at the YACTextSend program source to see how to do this in your program.  Or you can use their pre-made commandline executable to send messages manually.
-CodeMonkey
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#24
2004-12-07, 04:02 PM
This plugin is language aware.  The entries to put into the language.xml files are:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><!-- CallerID -->
<translate originalText="The phone is ringing:" translatedText="The phone is ringing:"/>
<translate originalText="Name:" translatedText="Name:"/>
<translate originalText="Number:" translatedText="Number:"/>
[/QUOTE]
-CodeMonkey
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#25
2004-12-07, 05:39 PM
[b Wrote:Quote[/b] (CodeMonkey @ Dec. 08 2004,04:40)]
[b Wrote:Quote[/b] (KingArgyle @ Dec. 07 2004,04:43)]I believe all String.Empty does is map to null.  I could be wrong though.
That would make sense King.
i thought that .empty() would just be string = &quot;&quot;; not null. i think because its an initiatedinstance just with an empty string which is &quot;&quot;.
i could be wrong, but i think my reasoning is sound. could always preform a test on it
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">string str = "test"
str = str.Empty();
if(str == null)
messagebox("its null")
else
messagebox("its just empty["+str+"]")
[/QUOTE]
but who really cares? now im curious, eh ill try it later.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,880 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,379 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,488 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,919 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,786 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,135 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,963 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 5,012 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,256 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,442 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