NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 56 57 58 59 60 … 93 Next »
Snapstream Firefly Plugin

 
  • 0 Vote(s) - 0 Average
Snapstream Firefly Plugin
JohnL
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Jul 2005
#1
2005-07-13, 06:55 PM
Alright, Ive posted and heard nothing back. I have read that it is possible to develop plugins for GB-PVR in VB.net, and I have some experience with that particular language. So... The birth of an idea comes forth.

Would it be possible/not too difficult to make a plugin that would replace, or run with the snapstream software that would intercept the commands coming over the usb subsystem and interpret them for GB-PVR? I was thinking of getting a USB sniffer to see what the commands look like coming over the bus and then writing a little something that would look for those commands and then send GB-PVR the appropriate command (A sendkeys, or some sort of API command to have gb do what it needs to do)

I'm playing with the idea in my head and I think its doable, but I dont know if its worth it (ie, is there someway to get the damn thing to work that I havent tried yet? :confused: )

Any ideas on how to tackle this? (how to even get a plugin started?)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2005-07-13, 07:02 PM
Its probably best to keep this as some external program, and just send keystrokes to GB-PVR. Thats how the Hauppauge remote works.

Unfortunately I dont know anything about the Firefly remote, so I cant give you pointer on where to start.
JohnL
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Jul 2005
#3
2005-07-13, 07:18 PM
I would like to use the hauppauge remote that came with my 150, but it stops working intermittently
Plus I think it would be a good idea to add support for another remote, for those who dont like the hauppauge one. I know I like the feel of the firefly much better, personally anyways. But your verdict is that it would be a bad idea to make a plugin to recieve these commands and pipe them to gbpvr with sendkeys?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2005-07-13, 07:56 PM
I just think its a better to build an external app that receives notifications from remote, and sends the keystrokes to GB-PVR, rather than a plugin. This is how pretty much every other remote control seems to work

I would have thought the firefly would already have this type of arrangement. Are you sure you cant configure it for GB-PVR, and just set up the mappings of buttons to keystrokes? Sounds a bit odd if you cant do this already.
JohnL
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Jul 2005
#5
2005-07-13, 08:03 PM
I have used this walkthrough:
http://gbpvr.com/pmwiki/pmwiki.php/Manual/Firefly

but it seems that the controlkey doesnt work. ie, the direction, OK, and exit keys work (number keys too) because its a simple one key command, but if I try and send ctrl-q, it doesnt work... none of the rr, ff, play or stop buttons work (as a matter of fact, I tried to make the music button on the remote hit f4 to go to the music library, and that doesnt work either)

I was thinking of trying to use girder, but i dont want to spend another $20 if I can avoid it. I need a second tuner Smile Big Grin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2005-07-13, 08:09 PM
The profile thing looks pretty flexible. It must just be something very simple stopping it working fully. Did you read the tutorial it refers to? http://forums.snapstream.com/vb/showthread.php?t=15113
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2005-07-13, 08:11 PM
That page refers to http://msdn.microsoft.com/library/defaul...stopic.asp, which sounds like he has done "controlkey" thing incorrectly.
JohnL
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Jul 2005
#8
2005-07-13, 08:16 PM
Yeah on the microsoft page it says to put a ^ in front of the key that you want to append a control keystroke to... so I do this:

Code:
<Actions Button="Play" Description="Play">
    <SpecialKeyAction Type="Down" Key="ControlKey" />
    <SpecialKeyAction Type="Down" Key="p" />
    <SpecialKeyAction Type="Up" Key="p" />
    <SpecialKeyAction Type="Up" Key="ControlKey" />
  </Actions>

Or

Code:
<Actions Button="Play" Description="Play">
    <SpecialKeyAction Type="Down" Key="^p" />
    <SpecialKeyAction Type="Up" Key="^p" />
  </Actions>

neither of those work Sad

I have posted in the support forum about this and no one has replied at all. I figured someone might have gotten it working and would tell me how they did it, but no one answered. So I thought about this plugin idea...
JohnL
Offline

Junior Member

Posts: 16
Threads: 3
Joined: Jul 2005
#9
2005-07-13, 08:17 PM (This post was last modified: 2005-07-13, 08:25 PM by JohnL.)
oh duh, I havent tried doing {^}p yet... I'll try that when I get home and bring an update (and maybe try and update the wiki? ive never used one, lol)

edit
well actually it looks like it will need to be formatted like so i think ^(p)
then again, it looks like that is supposed to be used to do something like ctrl+e+c ^(ec)

why cant things just work?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#10
2005-07-13, 08:25 PM
It looks like you could also do
Code:
<Actions Button="Play" Description="Play">
  <KeyAction Keys="^P" />
</Actions>

If it doesnt work, its really more a snapstream support question. I'm sure they'll be able to easily tell you what is wrong with it.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


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