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 »
Can't get CallerID to show up as a plugin

 
  • 0 Vote(s) - 0 Average
Can't get CallerID to show up as a plugin
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#1
2004-12-08, 02:12 AM
Sub, I can't get gbpvr config to show the CallerID plugin so I can invoke its config form. What is the config app looking for? The dll is in the plugins directory, and it does get started when gbpvr starts. What am I missing?

I'm thinking it is looking for getName() in IMenuTask? If so, what do I do? I don't implement IMenuTask.
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,699
Threads: 767
Joined: Nov 2003
#2
2004-12-08, 02:18 AM
Good point. Its not possible to have a config form at this stage unless you implement IMenuTask. You'll just have to edit the config.xml manually for now. Yes, I know - yuck.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#3
2004-12-08, 02:33 AM
I only have one thing that's changeable and fortunately I can live with the default so I'm OK for the moment [Image: smile.gif]

Thanks.
-CodeMonkey
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#4
2004-12-08, 02:52 AM
Sub, another strange thing implementing the Caller ID Plugin.  In order to use the string translator method I have to setup a skinhelper like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> // setup skin helper
XmlDocument document = new XmlDocument();
document.Load(PluginHelperFactory.getPluginHelper().GetSkinRootDirectory() + getSkinSubdirectory() + "\\Skin.xml");
skinHelper = new SkinHelper(document, PluginHelperFactory.getPluginHelper().GetSkinRootDirectory() + getSkinSubdirectory());
szLabel = skinHelper.getTranslation("The phone is ringing:");

...

public string getSkinSubdirectory()
{
    // this is weird because we are not on the menu, but have to
    // supply something that exists
return "main menu";
}
[/QUOTE]

CallerID has no GUI except for the text it displays.  So I need to feed it false info to get the skinhelper created.  I suspect the getTranslation() method should not be a member of SkinHelper, but rather part of some other class dealing only with translation.  But that might be too much of a pain to change now.
-CodeMonkey
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,837 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,360 2020-11-14, 08:01 PM
Last Post: sub
  Artwork by show name psycik 4 4,549 2017-07-12, 03:47 AM
Last Post: psycik
  VIdeo playback from plugin mvallevand 5 3,466 2015-08-06, 10:43 PM
Last Post: sub
  Show artwork method psycik 31 11,745 2015-07-14, 07:06 AM
Last Post: aloxinh
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,909 2014-11-14, 02:05 AM
Last Post: Benoire
  Media\Show Directory mvallevand 12 6,037 2014-07-02, 10:58 AM
Last Post: sub
  API docs to help with plugin development? McBainUK 3 2,774 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,107 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,953 2013-03-12, 06:48 AM
Last Post: psycik

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

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

Linear Mode
Threaded Mode