NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 65 66 67 68 69 … 93 Next »
Detecting a connected MVP

 
  • 0 Vote(s) - 0 Average
Detecting a connected MVP
Major Hostility
Offline

Member

Posts: 102
Threads: 10
Joined: Oct 2005
#1
2005-10-26, 06:04 PM
I spent some time playing around with a System Tray icon for the MVP and got it basically working using the IEventNotification interface.

I was wondering if there's a way I could hook into some of the MVP traffic so that I could display a "connected" versus "not connected" state.

I tried experimenting with the ICommandListener interface to see if that might generate lower level events messages but no luck. I couldn't find anything in the API that related specifically to the MVP, so please let me know if I'm overlooking something obvious.

I was considering using the Application.AddMessageFilter() approach that KingArgyle used for BleepBloop, but wasn't sure if MVP requests would be detectable that way.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,735
Threads: 767
Joined: Nov 2003
#2
2005-10-26, 06:09 PM
I've added two additional event types you can receive via IEventNotification in the next release, MVPConnected and MVPDisconnected.
Major Hostility
Offline

Member

Posts: 102
Threads: 10
Joined: Oct 2005
#3
2005-10-26, 06:14 PM
LOL! Perfect Smile
Major Hostility
Offline

Member

Posts: 102
Threads: 10
Joined: Oct 2005
#4
2005-10-27, 02:08 PM
sub Wrote:I've added two additional event types you can receive via IEventNotification in the next release, MVPConnected and MVPDisconnected.
Is there any chance you could include the MVP's MAC and IP addresses in the eventText for those events?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,735
Threads: 767
Joined: Nov 2003
#5
2005-10-27, 04:32 PM
You can already get their MAC address using PluginHelperFactory.getPluginHelper().GetClientIdentifier()
Major Hostility
Offline

Member

Posts: 102
Threads: 10
Joined: Oct 2005
#6
2005-10-27, 04:44 PM
Thanks for the tip! I didn't realize that the client identifier would update once an MVP was connected.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Detecting clients imilne 2 1,461 2012-01-26, 10:45 PM
Last Post: mvallevand
  Detecting when Music Playlist is stopped (Ctrl-S) ACTCMS 6 2,903 2011-06-19, 07:52 PM
Last Post: sub
  Detecting selection in UiList imilne 0 1,306 2010-11-04, 10:20 PM
Last Post: imilne
  Can a plugin identify which MVP is connected? markm 2 1,451 2005-05-17, 12:09 PM
Last Post: markm

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

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

Linear Mode
Threaded Mode