2005-07-13, 08:33 PM
alright, I will bother them now I think I have tried the ^p by itself, but its not working either.
Thanks for the help!
Thanks for the help!
2005-07-13, 08:33 PM
alright, I will bother them now I think I have tried the ^p by itself, but its not working either.
Thanks for the help!
2005-07-14, 05:36 PM
Well... How do I update Wikis?
I started up Girder and noticed that GB-PVR has a .app3 suffix on my machine, not .app4 or .app5. So I changed that in the first line of gbpvr.xml and it works now! I think the wiki should be updated to say that it might not be app.5 or app.4, and also say how you can find out (with girder i suppose)
2005-07-14, 05:47 PM
Is it this you're talking about?
Quote:<Identifier ClassName="WindowsForms10.Window.8.app4" WindowText="GB-PVR" FileName="GBPVR.exe" />I wonder if there is a way to do without that whole classname setting. It's an autogenerated named that is likely to change on just about every release...
2005-07-14, 05:53 PM
Thats exactly what I am talking about. when I fired up girder it showed the window as
Code: WindowsForms10.Window.8.app3 so I changed that and it worked. Is there no way to fix this value in Visual Studio/C#? (i am guessing at what language/package you use) I suppose it would be possible to write a small program that would pull that off of GBpvr when you run it and parse it into the xml file... you could just run that when you upgrade or something. That might be a pain though. Perhaps thats something that could just be thrown into the readme on new releases?
2005-07-14, 05:56 PM
Quote:Is there no way to fix this value in Visual Studio/C#? (i am guessing at what language/package you use)No, C# doesnt provide a way for you to set the classname.
2005-07-14, 05:57 PM
Surely the firefly app provides a way to send keystrokes to a window without knowing the classname. The Hauppauge IR app manages to do this.
2005-07-14, 06:31 PM
There might be. If not, we should talk with snapstream. I'm just going on the information that I have been able to find (which really hasnt been much.)
Is the class name something that is just created automatically at compile time? I am almost positive that there is some kind of freeware thing out there to read class names of applications, I could just manually update that whenever I update gb i guess. Do you have any ideas on how to remedy this? or should it even be a worry?
2005-07-14, 07:28 PM
Quote:Is the class name something that is just created automatically at compile time?The classname just isnt something you see or use in C#. Behind the scenes Microsoft uses it for it's own purposes. It's value has changed from time to time, but I'm not sure under which circumstances. Quote:Do you have any ideas on how to remedy this? or should it even be a worry?As I said, the best way is to avoid using the classname if you can.
2005-07-21, 01:53 AM
I'm the one who originally created that WIKI entry for the Firefly. Sorry I haven't responded sooner, but I've been slammed for quite a while on real-life work and have had zero opportunity to do anything with GBPVR over the past few months.
The Firefly architecture's strategy is to be able to map custom keystrokes (including multiple keystrokes, like macros, if needed) to a remote control button for any number of applications, with each app having a unique profile defined. In this way, if Windows Media Player is the top window, then you can control it with the remote using totally different keys than if another program is on top (i.e., GBPVR). The Class name is how the Firefly app determines which application is on top, and as a result, which keystroke profile to use. There is a default profile that is used when Firefly cannot determine the application (to answer Sub's question). Firefly users should be aware of the following directory, which contains a couple of useful utilities: C:\Program Files\SnapStream Media\Firefly One is AppIdentifier.exe. This program will tell you the class name, etc, that the profiles use to identify the topmost window (which receives the custom keystrokes for that application that are mapped to remote buttons via profiles). Start the AppIdentifier, switch to GBPVR and then switch back to the AppIdentifier, and the GBPVR info should be displayed. It's not perfect, and ALT-TAB doesn't seem to work (it picks up the ALT-TAB Switcher app), but you should be able to somehow get the job done using this tool. Another useful app is ProfileEditor.exe. This basically gives you a GUI to edit the profile instead of having to edit the XML directly.
JasonF
2005-09-16, 08:13 PM
(This post was last modified: 2005-09-16, 08:19 PM by rabbitinpumpkin.)
Hey. Was using GBPVR (.93?) just fine..the the performance monitor/libs went belly up and died on me. After fixing that, found out my wife also complained a lot about the sluggish response of the Firefly remote. Took a long time to figure that out.
Ended up having to completely reinstall Firefly. uninstall, reboot, reinstall, then to find out my gbpvr.xml did not work. I'm now using the .948 (afternoon) version (crossing fingers) Reason why I'm posting this is because I've had to play connect the dots between this forum and snapstream's forum. http://forums.snapstream.com/vb/showthread.php?t=25455 and this thread. When neither posted profiles worked...this is what did the trick. I have no idea why the one in the WIKI does not work for me. This is the one from snapstream's forum. First, XML requires to be WELL FORMED. The thread in the snapstream forgot to </Profile> end it. Second, gbpvr.exe should be GBPVR.exe under the FileName. After doing this, it all worked. Hope this saves the rest of you time. EDIT: I guess I did sound too snappish. sorry. ------------------------------------------------------------------- <Profile Type="SnapStream.Firefly.Core.Profile" Name="GB-PVR" ShowOSD="true"> <Identifier ClassName="WindowsForms10.Window.8.app4" WindowText="GB-PVR" FileName="GBPVR.exe" /> <Actions Button="Right" Description="Right"> <KeyAction Keys="{right}" /> </Actions> <Actions Button="Left" Description="Left"> <KeyAction Keys="{left}" /> </Actions> <Actions Button="Down" Description="Down"> <KeyAction Keys="{down}" /> </Actions> <Actions Button="Up" Description="Up"> <KeyAction Keys="{up}" /> </Actions> <Actions Button="OK" Description="Select"> <KeyAction Keys="{enter}" /> </Actions> <Actions Button="Exit" Description="Exit"> <KeyAction Keys="{esc}" /> </Actions> <Actions Button="Menu" Description="Menu"> <KeyAction Keys="{esc}" /> </Actions> <Actions Button="Options" Description="Tab Forward"> <KeyAction Keys="{tab}" /> </Actions> <Actions Button="Info" Description="Tab Backward"> <KeyAction Keys="+{tab}" /> </Actions> <Actions Button="ChannelDown" Description="Page Down"> <KeyAction Keys="{pgdn}" /> </Actions> <Actions Button="ChannelUp" Description="Page Up"> <KeyAction Keys="{pgup}" /> </Actions> <Actions Button="Number9" Description="9"> <KeyAction Keys="9" /> </Actions> <Actions Button="Number8" Description="8"> <KeyAction Keys="8" /> </Actions> <Actions Button="Number7" Description="7"> <KeyAction Keys="7" /> </Actions> <Actions Button="Number6" Description="6"> <KeyAction Keys="6" /> </Actions> <Actions Button="Number5" Description="5"> <KeyAction Keys="5" /> </Actions> <Actions Button="Number4" Description="4"> <KeyAction Keys="4" /> </Actions> <Actions Button="Number3" Description="3"> <KeyAction Keys="3" /> </Actions> <Actions Button="Number2" Description="2"> <KeyAction Keys="2" /> </Actions> <Actions Button="Number1" Description="1"> <KeyAction Keys="1" /> </Actions> <Actions Button="Number0" Description="0"> <KeyAction Keys="0" /> </Actions> <Actions Button="SkipBack" Description="Previous Track"> <KeyAction Keys="^{left}" /> </Actions> <Actions Button="SkipForward" Description="Next Track"> <KeyAction Keys="^{right}" /> </Actions> <Actions Button="Rewind" Description="Rewind"> <KeyAction Keys="^R" /> </Actions> <Actions Button="FastForward" Description="Fast Forward"> <KeyAction Keys="^F" /> </Actions> <Actions Button="Stop" Description="Stop"> <KeyAction Keys="^S" /> </Actions> <Actions Button="Pause" Description="Pause"> <KeyAction Keys="^Q" /> <KeyAction Keys="^B" /> </Actions> <Actions Button="Play" Description="Play"> <KeyAction Keys="^P" /> </Actions> <Actions Button="Record" Description="Show Progress Bar"> <KeyAction Keys="^B" /> </Actions> <Actions Button="Music" Description="Music"> <KeyAction Keys="{f4}" /> </Actions> <Actions Button="Photos" Description="Photos"> <KeyAction Keys="" /> </Actions> <Actions Button="DVD" Description="DVD"> <KeyAction Keys="" /> </Actions> <Actions Button="TV" Description="Live TV"> <KeyAction Keys="{f2}" /> </Actions> <Actions Button="Video" Description="Previously Recorded"> <KeyAction Keys="{f3}" /> </Actions> <Actions Button="A" Description="Live TV Show Information"> <KeyAction Keys="^g" /> </Actions> <Actions Button="B" Description="Popup Guide"> <KeyAction Keys="{f1}" /> </Actions> <Actions Button="C" Description="Change Resolution"> <KeyAction Keys="{esc}" /> <KeyAction Keys="{f9}" /> </Actions> <Actions Button="D" Description="Blue"> <KeyAction Keys="{esc}" /> <KeyAction Keys="%{enter}" /> </Actions> </Profile> |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
PIP plugin for Kodi | sgilani | 2 | 1,459 |
2022-10-17, 12:44 AM Last Post: sgilani |
|
New Systems Plugin | kirschey | 10 | 2,576 |
2020-11-14, 08:01 PM Last Post: sub |
|
VIdeo playback from plugin | mvallevand | 5 | 3,005 |
2015-08-06, 10:43 PM Last Post: sub |
|
Attention Sub: Open TV / Custom Data Grabber plugin | Benoire | 2 | 2,565 |
2014-11-14, 02:05 AM Last Post: Benoire |
|
API docs to help with plugin development? | McBainUK | 3 | 2,381 |
2013-06-08, 06:14 PM Last Post: sub |
|
Refreshing TV Guide Data (after System plugin EPG update) | imilne | 13 | 5,175 |
2013-03-24, 08:03 PM Last Post: imilne |
|
sabnzbd plugin to show processed files | Wakalaka | 1 | 1,685 |
2013-03-12, 06:48 AM Last Post: psycik |
|
Plugin problems with started from the command line | mvallevand | 11 | 4,136 |
2012-08-12, 07:56 PM Last Post: sub |
|
Get NextPVR data directory from outside a plugin | McBainUK | 3 | 1,878 |
2012-02-11, 05:42 PM Last Post: mvallevand |
|
Weather Plugin | imilne | 0 | 1,207 |
2012-01-15, 08:33 PM Last Post: imilne |