NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 28 29 30 31 32 … 93 Next »
GetClientIdentifier + GB-PVR client

 
  • 0 Vote(s) - 0 Average
GetClientIdentifier + GB-PVR client
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2008-07-01, 09:58 PM
What does the GetClientIdentifier() method return for a GB-PVR client setup?

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2008-07-01, 10:02 PM
From memory it'll return the renderer name, just the same as it would on a server. Its only really when you're running on MVP that you get more (MVP + MAC address).
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#3
2008-07-01, 10:07 PM
OK so it's not really useful for telling if it's a client then. It occurs to me that I've written code for this anyway so I just need to extend it a bit.

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#4
2008-07-01, 10:20 PM
No, probably not much use. It's logic long pre-dates any client/server support in GB-PVR. It was more about "client" in the sense that GBPVR.exe/PVRX2.exe was a client to GBPVRRecordingService.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#5
2008-07-01, 10:27 PM
Brian

On my client laptop 'GetClientIdentifier()' returns 'UNKNOWN'

Alex
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#6
2008-07-01, 10:31 PM
Is that logged in the constructor of your plugin? If so, it might not have been set yet.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#7
2008-07-01, 10:39 PM
It is indeed... not much point in looking at it there then...
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2008-07-01, 10:53 PM
I've worked out what I need to do - basically I just want to be able to know if pvrx2 is running on the main gbpvr machine or if it's a client / mvp. I can check for mvp with GetClientIdentifier and I already check config.xml for client mode anyway. If neither of those are true I'll assume main machine.

Cheers,
Brian
PS I hope clients can't act as MVP servers. :eek:
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#9
2008-10-08, 11:21 PM
ACTCMS Wrote:On my client laptop 'GetClientIdentifier()' returns 'UNKNOWN'

sub Wrote:Is that logged in the constructor of your plugin? If so, it might not have been set yet.

ACTCMS Wrote:It is indeed... not much point in looking at it there then...
It looks like it becomes available after the first IEventNotification 'PluginActivated' Notify Event.

And I'm sure we'll all sleep easier in our beds now that I shared that one...Big Grin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#10
2008-10-08, 11:41 PM
What about using GBPVRInfo.RunningOnMVP or GBPVRInfo.RunningOnClient ?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Developing Android TV client fred250 2 1,792 2020-11-16, 06:33 PM
Last Post: fred250
  Web Client: Slow with separate thread and date not obscured cncb 32 15,781 2016-10-10, 02:01 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,224 2015-09-29, 08:07 PM
Last Post: cncb
  How to get edl information for videos in a web client? fred250 27 10,503 2014-12-10, 12:39 AM
Last Post: fred250
  Remote client logout timeout. mvallevand 2 2,513 2014-10-28, 12:55 AM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,056 2013-07-03, 01:39 AM
Last Post: mvallevand
  Client - Tuner plugins mvallevand 53 13,465 2011-09-17, 07:19 PM
Last Post: mvallevand
  Client/server detection imilne 1 1,675 2010-08-08, 04:23 PM
Last Post: sub
  GetClientIdentifier() return values JavaWiz 3 1,825 2009-03-05, 02:11 PM
Last Post: ACTCMS
  MVP Software Client SFX Group 86 30,087 2008-11-16, 02:01 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode