NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 24 25 26 27 28 … 93 Next »
GetClientIdentifier() return values

 
  • 0 Vote(s) - 0 Average
GetClientIdentifier() return values
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#1
2009-03-05, 04:53 AM
Is there a list of possible return values for
[SIZE=2]PluginHelperFactory
[/SIZE].getPluginHelper().GetClientIdentifier()?

WizTools searches the result for MVP to see if it is running on Hauppage MVP. Can I use similar logic to detect a Popcorn Hour or HDHomeRun?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,937
Threads: 956
Joined: May 2006
#2
2009-03-05, 05:17 AM
I use this to get the PCH value. The HDHR is a capture device not a client.

Code:
public string getDescription()
        {
            String checkPCH = "/settings/MVPSpecificSettings/MAC-" + PluginHelperFactory.getPluginHelper().GetClientIdentifier().Substring(4) + "/MVPClientType";
            XmlDocument settingsDocument = PluginHelperFactory.getPluginHelper().GetConfiguration();
            XmlNode node = settingsDocument.SelectSingleNode(checkPCH);
            
            if (node != null)
            {
                clientType = node.InnerText;
            }
            else
            {
                clientType = "unknown";
            }
            return clientType;
        }

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#3
2009-03-05, 06:40 AM
What values are returned from the function besides "unknown"?
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#4
2009-03-05, 02:11 PM
There is some info in this thread, which resulted in a bit of code in MLPanel which returns client type. I could post it later today when I get to my machine if it would help.

Alex
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Status field values in Table SCHEDULED_RECORDING scJohn 2 2,343 2019-07-03, 07:01 PM
Last Post: sub
  GetClientIdentifier + GB-PVR client bgowland 13 4,421 2008-10-10, 08:43 PM
Last Post: ACTCMS
  Validating XML InnerText values ACTCMS 14 4,526 2008-08-27, 03:20 AM
Last Post: whurlston
  SQL Error - Failed to enable constraints. One or more rows contain values violating n ralphy 6 3,780 2008-02-06, 10:03 AM
Last Post: ralphy
  I need weather values in Celcius rather than F 0 503 Less than 1 minute ago
Last Post:

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

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

Linear Mode
Threaded Mode