PDA

View Full Version : SageTV plugin for ATI Remote Wonder


nielm
10-17-2003, 02:58 PM
I have written a quick plugin for the ATI remote wonder (because I don't have the time to learn all the details of Girder...). It's pretty simple but is still customisable though the ini file... It uses the same interface as Girder (SendMessage) to control Sage.

You can customise the actions assigned to the A-F buttons using the ATI software in the normal way... If you want to customise the actions assigned to the other buttons, edit the contents of the sagetv.ini file in the ATI plugins directory. The contents should be self-explanitory...

Any support / feature requests, post them here, and I will try and do something.. The source is included, but if you could mail/PM any mods back to me, I will integrate them into an official version...

For a way to get the TV button to run Sage, see this post below (http://forums.freytechnologies.com/forums/showthread.php?postid=29113#post29113)

For more complex things, Girder is probably better, but the learning curve is pretty steep to start with...

Current versions:
1.0.0.1 for SageTV/SageClient v1.4, (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=235836)
2.0.0.2 for SageTv/SageClient v2.0.18+ (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=235840)
2.1.0.1 for SageTV/SageClient v2.1.10+ (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=280084)

Changes:

Ver 2.1.0.1 : 28 Oct 2004
Updated to use the Window class name of SageTV 2.1

Ver 2.0.0.2 : 3 May 2004
Included Close File/Stop Playback command (mapped to Stop key)
Project now hosted on Sourceforge

Ver 2.0.0.1 : 26 Apr 2004
Updated release to include new SageCommands (added to custom commands)
Updated plugin to handle SageClient and SageTV simultaneously
Added auto-repeat to PAUSE key (frame advance)
Changed Menu key to Info (was Options) command

Ver 1.0.0.1 : 14 Oct 2003.
My First Release

Ver 1.0: Ati official plugin

nielm
10-17-2003, 03:01 PM
Version 1.0.0.1 for SageTV 1.4 (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=235836). See Readme (http://sourceforge.net/project/shownotes.php?release_id=235836) for installation instructions

Narflex
10-17-2003, 05:18 PM
Cool. Thanks for building this. :)

Anybody else try it yet?

Muchacho
12-05-2003, 11:25 AM
Do you know if it will work with SageClient?

JasonJoel
12-05-2003, 12:39 PM
It worked on my client!

Jason

nielm
12-05-2003, 02:41 PM
Thanks JasonJoel -- that saves me testing it!

Muchacho
12-06-2003, 09:29 AM
It also works great on my client! Thanks for putting this together!

Defiler
01-12-2004, 12:26 PM
I haven't tried this plugin yet (thanks, though..), but can it be used to map the "TV" button on the Remote Wonder to SageTV? I haven't found anything yet that will allow me to bind that button to a "launch SageTV" action.
Currently, I am using Girder with my Remote Wonder.

nielm
01-12-2004, 04:11 PM
No, the TV button is not mappable via ATI's interface... I also had a look to see if I could hack it via the registry, but nothing obvious there either.. Media library button is also hard-coded..

I use one of the A-F buttons, and leave it unmapped in all other plugins, but mapped to 'Run Program/SageTV.exe' when Windows is active... That works for me...

Defiler
01-12-2004, 05:12 PM
I managed to get it working by not running the ATI application, and using the X10 plugin for Girder instead. Works very well.

nielm
01-13-2004, 01:21 AM
I wanted to keep the functionality of my existing ATI plugins, with differrent keys meaning different things to different apps, mouse movement feature, etc.
Girder, I am sure can do all that - if you have the time to learn how to use it and then set it up which I didn't, and still don't!

Hocky
03-16-2004, 05:35 PM
To compliment this plugin, here is a little program I put together some time ago for the Remote Wonder. It allows the user to launch any program from the Remote Wonder TV button. Very small program and requires very little setup. It has been tested with the Remote Wonder 1.4 drivers.
Enjoy.....
Hocky

nielm
03-17-2004, 05:47 AM
Nice one Hocky... You might want to send it to the guys at http://remotew.free.fr -- if you haven't already -- they have a collection of RW plugins...

I eventually went to a 100% Girder setup to get access to all keys on my RW (and also so that I could use the 'video' keys on my TV remote with a serial port IR receiver!), but it took me months to get the same level of functionality as I had with the original ATI RW software and plugins...

AJ Bertelson
03-24-2004, 02:48 PM
Hocky,

can your program interface withgirder? What I would love to do is be able to push the TV button and have it turn the TV on and off through girder and my USB-UIRT.

gplasky
03-24-2004, 03:32 PM
If you're using Girder why would you need this plugin? Use the X-10/ATI plugin for Girder (not the ATI Remote Wonder plugin) and you have access to every button on your remote. From that point it should be very easy to turn your TV on from Girder.

Gerry

Hocky
03-24-2004, 03:59 PM
What gplasky said. My program is for use with the ati drivers only.
Hocky

AJ Bertelson
03-24-2004, 06:39 PM
The TV, DVD, WEB etc buttons are not configurable. Only A,B,C,D,E,F are configurable. That and the number buttons and the vcr functions at the bottom.

Hocky
03-24-2004, 08:41 PM
AJ;
I believe there a couple different Girder plugins for the Remote Wonder. One works in conjunction with the ATI software and the other one does not. The later, I believe gives the user complete control over the RW, but you do not retain the mouse movement. There have been work-arounds for this of various types. The work arounds (IMHO) do not provide the same smooth response as the ATI software. You win some and you loose some.
I like the original ATI software myself and that is why I did some reverse engineering. My fix took about 5 minutes to discover what the TV button was doing and about 15 or 20 minutes in VB to write the program.
Here is what I did, if anyone cares. I installed the RW software and fired up one of my favorite utilities. FILEMON from sysinternals.com. I started the ATI driver and fired up filemon. Then I punched the TV button and let filemon do it's magic! In no time at all I could see what the TV button was doing. Once I knew that, the rest was easy! You can use my program for other things too. You just need to be a little creative is all. Take a look at some of the other utilities out there at sysinternals. Some very interesting FREE stuff!;)
If anyone else has anything that is stumping you RE the RW, give me a yell and I will try and help.
Hocky

nielm
03-25-2004, 12:03 AM
There is one GML for Girder for the ATI RW X10 plugin that gives far better mouse movement than with the ATI software (IMHO) it uses accelleration and decelleration when you hold the buttons down and change direction so you can 'drive the mouse round corners' -- it is in the forums, not on the downlaod pages...
See here (http://www.girder.nl/phpBB2/viewtopic.php?p=21097#21097) for the mouse GML andhere (http://www.girder.nl/phpBB2/viewtopic.php?t=5679&highlight=) for other tools from the same author, and here (http://www.girder.nl/phpBB2/viewtopic.php?p=21231#21231) for a SMS-style alphanumeric keypad input...

gplasky
03-25-2004, 04:09 AM
AJ:

Use this plugin

X10/ATI pugin for Girder (http://www.girder.nl/downloadn.php?Link=450)

This is NOT the same as the ATI Remote Wonder plugin on the Girder page that you are probably using. This plugin will let you use every single button on your ATI Remote.

Gerry

Muchacho
04-14-2004, 09:38 AM
I too switched over to girder to have ultimate control. One thing that I am having a dificult time recreating from when I was using the RW software has to do with FF/RW. Before if I held down FF it would continue to FF until I let go (I actually believe that it was repeatedly skipping forward). Now it will only skip forward once and I need to keep pressing to skip though. Anyone know a way to recreate this? Thanks

nielm
04-14-2004, 03:26 PM
You need 2 events assigned to the FF/REW (and if you want, PAUSE so you can do frame advamce).
The first event is the DN_ button-down event, the second is the RT_ button-repeat evemt, which is sent when you keep the button pressed. There is also an UP_ event for button release, but this is less useful.

You can learn a RT_ repeat event by:
pressing the button.
Pressing 'Learn'
waiting for an RT_ event to be captured
releasing the buttom.

Muchacho
04-14-2004, 06:56 PM
Thank you! Lets hope that works for me!

Muchacho
04-15-2004, 04:48 AM
That did it, thanks again.

nielm
04-29-2004, 03:38 AM
ATI Remote wonder plugin V2.0.0.1 (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=235838) for SageTV and SageClient version 2.0.17.

Changes: Includes new SageCommands (added to custom commands)
Updated plugin to handle SageTV and multiple SageClients simultaneously based on the current foreground app.
Added auto-repeat to PAUSE key (frame advance)
Changed Menu key to Info (was Options) command

nielm
05-03-2004, 02:32 AM
ATI Remote wonder plugin V2.0.0.2 (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=235840) for SageTV and SageClient version 2.0.17RC3

Changes:
Included Close File/Stop Playback command (mapped to Stop key)

kny3twalker
05-08-2004, 07:55 PM
Hey I am looking for a little help with Girder and my ATI Remote Wonder

I have downloaded Girder, Stranger89's GML, the plugin listed in this topic for configuring the X10/ Remote Wonder remotes (any command for any button)

I got Girder loaded up added the GML

started making girder learn commands

and many already do not work???

should I post on girder forums?

I do still have my silver remote pluged in though, but have the right device chosen(ATI remote)

I want to make the power button sleep and wake SageTv like I do with the hauppauge remote and cannot do that

I mapped pause to pause and that does not work

I installed the lastest remote control driver for the remote wonders from ati's site

should I have used the x 10 driver if so can some give a link

just some help would be most appreciated

kny3twalker
05-10-2004, 02:09 AM
nevermind I got it mostly
and think I am going with SageTV plugin anyways

I got girder running but it could not tell the difference between volume up and down and channel up and down

PainGain
05-14-2004, 03:53 PM
Thanks for the plugin. Without it, I might not be giving Sage a chance (Im sure Im not alone).


Question: Is there a button while watching something on Live TV to take u back to the TV Guide ..or Main Menu?

nielm
05-15-2004, 03:45 AM
Originally posted by PainGain
Question: Is there a button while watching something on Live TV to take u back to the TV Guide ..or Main Menu?

You can assign commands such as these to the custom buttons (A-F) in the ATI RW application if you select 'Specific to the currently active Feature', and 'When: ATI RW plugin for SageTV is in focus'

The listboxes then have various sage commands for going to specifi screens, aspect ratios etc.
There is also 'do nothing -- which actually means 'do the command that is defined for When Windows is active'

There is a command 'Sage\Previous screen' which will always take you back to the last screen(s) that you entered. The ViewTV command actually toggles between the TV mode and whatever screen you were last on (such as TV guide).

riekl
05-15-2004, 06:27 AM
Does anyone know of a better RF remote ?

The AIW provides 100% of the functionality that I want its great .. but a complete and utter moron did the key layout. The buttons are horrible, the transport layout is horrible, the location of the VERY frequently used navigation keys is horrible, no back glow. UGH !

ptaylor
06-01-2004, 08:55 PM
Thanks so much for this Plugin, nielm!

I was a bit lost originally, then found the 1.4 version plugin and had all sorts of problems with it, but I'm pretty happy with the latest version! Everything seems to work fairly well... Too bad you can't set the TV, DVD, and Guide buttons up to work as their advertised functions...

I may just get a Firefly and be done with it! Now that looks like one awesome remote!

Paul

kny3twalker
06-01-2004, 10:02 PM
you can set the remote to do TV and do sageTV
if you install a DVD program like TheaterTek you can use the DVD button
etc.....

JUC
06-02-2004, 06:06 AM
Hi, I am using MlbDude's 1.4 skin that includes a mini browser. I mapped the Guide button to 'D' on the remote. Basically, when you are watching liveTV and hit the guide button the mini browser comes up. THat is great, BUT i would love to be able to set another button to bring me to the full guide.

MlbDude said "There are Custom1- Custom5 command available that you can bind to (remote, key, whatever). Set that up just like you would any other remote binding. They should be in the list of available commands to bind to".

How exactly do I do this?
Thanks
JUC

nielm
06-02-2004, 10:09 AM
To be able to send the custom commands to Sage, you will first have to add them to the plugin ini file... Add the following to the [SageTVFunctions] block:Custom1=Custom|Custom1,1258,1,78
Custom2=Custom|Custom2,1258,1,79
Custom3=Custom|Custom3,1258,1,80
Custom4=Custom|Custom4,1258,1,81
Custom5=Custom|Custom5,1258,1,82Restart the ATI application, and now you can assign these keys to the custom buttons...

If you want to replace the definition of the Menu remote key (bottom left of number pad) with either the Guide function or a custom function, then you need to change the code sent by the menu key, later in the ini file.

These custom commands will then be sent to Sage. What actions they will have depends on what mlbdude's skin does with them :)

JUC
06-02-2004, 02:05 PM
nielm, thanks for the reply
I am kind of following along. Before I can use any custom commands i need to add the codes to the ATI plugin file. Then I should be able to select them from the ATI application, BUT, if I want to completely remad an existing button (say Menu), I would need to go to the menu code and replace it with one of the custom commands? Let me know if I am missing something and I will try it out later tonight
thanks
JUC

Hocky
06-02-2004, 03:34 PM
PTaylor:
If you want to set up the TV button, read my earlier post. I have provided a program that will allow you to launch Sage (or any other app) with the TV button. If you want to do any of the other stuff, I have provided a tutorial on finding what the ATI app is looking for when you press one of the buttons.
Good luck
Hocky

JUC
06-04-2004, 01:58 PM
hello again, I am still having trouble using the Custom commands. I copied the code into the ATI plug in file and I am able to select the Custom commands in the remote wonder software, but since I don't have anything mapped to them nothing happens. I am not really sure what to do in the plugin file to get them to work. As it is now, the TVGuide function brings up MlbDude's mini guide and I want to either map another programmable button (a-f) to the Full guide, OR remap another button on the remote to go to the full guide. However, since MlbDude has it set up so the Guide function brings up the miniguide I am not really sure how to make the full guide independant. Am I confusing you...I am confusing myself. Can someone work up the correct codes to add to the plugin file. I wish I could do it myself but the remote mapping/binding?? has really gotten the better of me.
THanks
JUC

kny3twalker
06-04-2004, 10:06 PM
Hocky

why not just post a version that includes being able to map the DVD, WEB etc as well as the TV
someone could spend quite a while at this and you can do it in just a fewminutes rather than a tutorial

you would defintely have more people happy with their ATI remotes

just a though

hope it is not an inconvience

Thanks

nielm
06-05-2004, 12:28 AM
Originally posted by JUC
I copied the code into the ATI plug in file and I am able to select the Custom commands in the remote wonder software, but since I don't have anything mapped to them nothing happens. I am not really sure what to do in the plugin file to get them to work.

if you have them mapped to a custom key, then they are being sent... If Sage is not configured to do anything with these commands, then it will ignore them.

I have never used mlbdude's skin, so I don't know if it does anything with these custom buttons... I know that the Original STV does nothing with them!

To verify that they do nothing, you could also try mapping a key to the custom command in Sage (Setup/detailed setup/commands/link keystroke), then press that key to see what happens... Or just ask in Mlbdude's skin thread.

For the moment, the only alternative is two keys... one that goes to the home screen and another that sends 'guide'...

I am considering adding 'macros' to the plugin so that you can send multiple commands from one button (watch this space!)

JUC
06-05-2004, 07:38 AM
Thanks nielm, I am pretty sure I have them mapped to the custom key, but since it is not configured to do anything with them yet---it does nothing. So, I guess I just need to figure out how to map the custom key to get me to the full guide (but, since MlbDude already has the guide button mapped to go to the mini guide I am not sure if this is even possible). I'll keep plugging away and maybe work this out. Adding multiple commands from one button--are you referring to say-one key press does X, and then the second key press does Y--That would be GREAT!!.
THanks again
JUC

nielm
06-05-2004, 10:17 AM
Originally posted by JUC
Adding multiple commands from one button--are you referring to say-one key press does X, and then the second key press does Y More like one key press does X and Y (eg, STOP=STOP+HOME)

Hocky
06-06-2004, 08:25 AM
kny3twalker
I am going to get on a soap box and start preaching. Why is it that people think that it is easy to sit down and write a program? Why is it that people think that their time is so much more valuable than someone else's? That is exactly what you just said! Take some time and learn from what I have told you and you will be much further a head of the game.

End of soap box rant.

mattchapin
06-06-2004, 09:04 AM
Originally posted by nielm
I have written a quick plugin for the ATI remote wonder (because I don't have the time to learn all the details of Girder...). It's pretty simple but is still customisable though the ini file... It uses the same interface as Girder (SendMessage) to control Sage.


nielm,

This is great! I used to use Girder with SageTV 1.4 but I found it to be a little unreliable on my system (sometimes I'd have to restart Girder and the ATI RW software when the remote stopped working) -- but your ATI RW plugin works great, all the time!

One question though: Your plugin, version 2.002, seems to require that SageTV is "in focus" in order to work. (If another app is in focus, or the screensaver is active, then pressing remote buttons does not control SageTV.)

Is it possible for me to modify your "ini" file so that your plugin will send messages to SageTV even if it is not in focus?

This would allow me to control SageTV from the sofa while someone else is using my computer for something else.

Or would configuring it in this way be a bad idea?

Thanks,

Matt

JUC
06-24-2004, 08:40 AM
Is there any way to get the ATI remotes channel up/dn button to do just that---either go up one channel or down one channel without it entereing the actual digits. example- if I am on channel 160- and press channel up it manually enters 161 instead of just going up one channel. I am using the actisys200L. The only reason I am asking is because i am hoping it would alleviate some of the delay in changing channels. I am gettin like a 5-7 second delay (at best) right now.
thanks
JUC

mlbdude
06-24-2004, 08:57 AM
I would guess that that is Sage and not the ATI plug-in doing that. What happens when you do a channel up command from the keyboard?

nielm
06-24-2004, 09:34 AM
The Ati remote just sends a 'Channel Up' command to Sage...
It is Sage itself that is sending 1-6-1- to the actisys200L.

JUC
06-24-2004, 09:45 AM
makes sense, would you know a way to change this in sage, or should I repost in the software section?
thanks
JUC

nielm
06-24-2004, 11:46 AM
No, sorry.

pcguy2k
07-13-2004, 04:08 PM
Hey,

Not wanting to bug anyone here, since i didn't notice any posts with this problem, but I have a remote wonder II and everytime I press the channel or volume button it usully skips two channles instead of one, same with volume, except with volume. These are the only two keys giving me trouble. If you do it quickly enough they work fine, but on average they skip more channels then needed.

Thanks
PCG

nielm
07-13-2004, 04:36 PM
I don't have a RWII to test with... so the following is guesswork..

ch up/down, vol up/down, FF/REW and Pause are the only keys where I handle 'key - repeat' events... It may be that the RWII sends key-repeats much faster than the RW1

Do you also see that FF/REW skips for more than 10 seconds?

Is there anywhere in the RWII software whereby you can reduce the repeat time?

pcguy2k
07-14-2004, 07:41 AM
Sorry, but I won't be able to verify the FF/REW keys till later morrow, as the computer is not in my possesion (setting it up for someone).

I have looked everywhere in the RWII for something to slow down repeat rate, but couldn't find anything.

Sorry, but that's all the info I have right now.

pcguy2k
07-15-2004, 09:01 AM
Hey,

I just tried the buttons out and well, they do skip more then 20 seconds, unless I release the button really, really quickly. Same goes for the channel and volume button, they skip two steps, unless I just touch them for a millisecond or so.

If you could maybe let me know how to change the repeat rate, I would appriciate it. THanks

mls
07-15-2004, 09:53 AM
I had a similar problem with the older RW 1 (not the newer 2) and it was a bad driver/software install for the remote.

Give this a try... unplug the remoter receiver, un-install the remote software, then reboot.

Intall the remote software, reboot, then plug in the remote receiver (may need another reboot there).

Anyway, after going a couple rounds with it, I did manage to get it to work better on my machine. Maybe it will straighten yours out also.

Of course you'll have to add back in whatever extra stuff needed to control other apps like SageTV aftwards again.

pcguy2k
07-15-2004, 10:21 AM
Nope, that didn't help,

Thanks anyway.

pcguy2k
07-15-2004, 08:31 PM
Hey,

I you could let me know what you comiled the code in, I would appreciate it. (hopefully it was something free). I wish I was still in school, that way I could get a copy of visual studio installed(had to reformat and I don't have a copy).

Thanks
pcg

sundansx
07-16-2004, 12:31 AM
I want to go back to the old girder Remote Wonder plugin that Ksnoopy wrote to get good mouse movement. I can't find it on the girder site...could someone post the latest version here? thanks.
-ck

nielm
07-16-2004, 01:11 AM
Originally posted by pcguy2k
Hey,
I you could let me know what you comiled the code in, I would appreciate it.
Visual Studio (sorry) -- I didn't have anything else available... But it will probably compile in most C compilers, you just need to know the right libraries/options to link to create a dll

nielm
07-16-2004, 02:00 AM
Originally posted by pcguy2k
I just tried the buttons out and well, they do skip more then 20 seconds, unless I release the button really, really quickly. Same goes for the channel and volume button, they skip two steps, unless I just touch them for a millisecond or so. Other people have also seen this probem -- see two (http://www.rage3d.com/board/showthread.php?t=33754637) posts (http://www.rage3d.com/board/showthread.php?t=33754551) on Rage3d forms. One suggests downgrading to the 2.1 software version...

The other option is to report it to ATI 'support' -- show that the arrow keys repeat too fast in something like notepad so they cannot blame my plugin!

pcguy2k
07-19-2004, 11:35 PM
I kinda went for the cheap solution to the problem.

I made a increment variable (global), set it to 1 when a button is pressed, and then I waited two incrments, (inc%3!=0), after that I stoped incrementing and went straight into the repeat code. I know it's cheap, but it does get the job done and doesn't require much more processing power.

I also messed around with the code and sent sage it's native commands (defined here: http://www.sage.tv/2_papers/SageTVWindowsMessages.txt).

Anyway, if anyone has any better suggestions, please let me know (or if you see an obvious problem with this solution).

Jake

BTW
The older drivers aren't very friendly with the RW2

RageFury
10-17-2004, 04:29 PM
Can anyone tell me if there is any way in existence to get a Remote Wonder II to work with a digital cable box?

hakuna
10-19-2004, 02:31 PM
To compliment this plugin, here is a little program I put together some time ago for the Remote Wonder. It allows the user to launch any program from the Remote Wonder TV button. Very small program and requires very little setup. It has been tested with the Remote Wonder 1.4 drivers.
Enjoy.....
Hocky

Hi! I installed your excellent TV button reprogramming plugin but when I start MediaPortal with the TV button (I use RW2), MP crashes with this message:
Application has generated an exception that could not be handled.
Process ID: 0xb10 (2832), Thread ID: 0xa58 (2648)

Do you have an idea?
Unfortunately I'm not a programmer so I don't have a debugger...

/Niclas

Hocky
10-19-2004, 09:04 PM
I really don't have a clue. There have been no reported problems with it. I don't have a RW2 or mediportal, so I can't really can't test them. I think I would look else where though. The only thing I do is launch a program and then exit. Nothing major.....
Hocky

oajungen
10-21-2004, 03:54 PM
I am using the ATI pluging for SageTV. Just installed the lastest beta version of SageTV, but can't get the remote working except the standard buttons for left, right, up and down. Does anybody now how to get this plugin working with the latest (2.1) version of sagetv?

mls
10-21-2004, 04:06 PM
I am using the ATI pluging for SageTV. Just installed the lastest beta version of SageTV, but can't get the remote working except the standard buttons for left, right, up and down. Does anybody now how to get this plugin working with the latest (2.1) version of sagetv?

Hopefully, this is only a temporary bug with v2.1. In the mean time to get it to work correctly look at this post (http://forums.freytechnologies.com/forums/showthread.php?t=7749&highlight=ati+remote)

band80
10-21-2004, 08:30 PM
I kinda went for the cheap solution to the problem.

I made a increment variable (global), set it to 1 when a button is pressed, and then I waited two incrments, (inc%3!=0), after that I stoped incrementing and went straight into the repeat code. I know it's cheap, but it does get the job done and doesn't require much more processing power.

I also messed around with the code and sent sage it's native commands (defined here: http://www.sage.tv/2_papers/SageTVWindowsMessages.txt).

Anyway, if anyone has any better suggestions, please let me know (or if you see an obvious problem with this solution).

Jake

BTW
The older drivers aren't very friendly with the RW2

Does anyone know where I can get the binary for this code change? I'm not really a programmer, but I am also plauged by this RW2 problem.

nielm
11-03-2004, 03:23 PM
SageTV 2.1.10 has a different window class name again (sage.SpecialWindow), but this time the change will be permenant.

I have updated the default settings in the plugin, and built a new version -- version 2.1.0.1 (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=280084)...

For existing versions, you only really need to edit your SageTV.ini in the TI plugin directory and modify the line to read:
SageTvWinClass=sage.SpecialWindow

Beefcake550
11-12-2004, 08:13 AM
Any chance you can offer up the source code?

I would like to mod the code for RW2 users that experience the super-fast repeat key problem. Using any of the buttons that the code supports repeat functionality results in unusable keys for RW2 users.

Thanks for any help.

-Brian

mls
11-12-2004, 09:07 AM
SageTV 2.1.10 has a different window class name again (sage.SimpleWindow), but this time the change will be permenant.

I have updated the default settings in the plugin, and built a new version -- version 2.1.0.1 (http://sourceforge.net/project/showfiles.php?group_id=108108&package_id=117214&release_id=280084)...

For existing versions, you only really need to edit your SageTV.ini in the TI plugin directory and modify the line to read:
SageTvWinClass=sage.SpecialWindow

Hmm, ya got it speeled 2 different ways here...

Anyway, on my client I didn't change it and the remote seems to work just fine with it as sage.t

Wonder if anything really changed at all, or if it just wasn't changed for the client software?

kny3twalker
11-12-2004, 11:30 AM
Thanks for the new update for 2.1 nielm

nielm
11-13-2004, 01:09 PM
Hmm, ya got it speeled 2 different ways here...d'oh! its Special not Simple...

Anyway, on my client I didn't change it and the remote seems to work just fine with it as sage.t

Wonder if anything really changed at all, or if it just wasn't changed for the client software?perhaps the client is not correctly upgraded (my client and server are both using sage.SpecialWindow)

JasonJoel
11-13-2004, 04:12 PM
Oh yeah... I can confirm that the window class definitely changed for the client in 2.1 final.

If yours is working with Sage.t, thewn something is definitely wrong on your install.

Mine specifically would NOT work with Sage.t or Sage.s in 2.1 final (which is to be expected).

Jason Bottjen

mls
11-13-2004, 04:38 PM
I double checked my client and found that it was (for whatever unknown reason) showing that it was v2.1.19RC6. I have no idea why/how that happened. Will uninstall and do a clean install of the correct v2.1.10. Glad we found this because I hadn't even noticed it. Still, no idea how it got back to the RC6 version though. Oh well.

Beefcake550
11-15-2004, 08:55 AM
ANy news on gettiing source code? I'd like to fix the button problem with RW2...

-Beef

Beefcake550
11-16-2004, 07:58 AM
BUMP

-Beef

JasonJoel
11-16-2004, 11:19 AM
Might want to send NIELM a PM. I know he used to include the source code with the plugin. He obviously does not any more.

I'm sure he would send it to you though if you asked nicely.

Jason

nielm
11-16-2004, 12:13 PM
ANy news on gettiing source code? I'd like to fix the button problem with RW2...
Source code is in CVS in the sourceforge project (http://cvs.sourceforge.net/viewcvs.py/sageplugins/ati_rw_plugin/) (click on a download link in the first post, to get to the SF project (http://sourceforge.net/projects/sageplugins), then click CVS)

JasonJoel
11-16-2004, 04:31 PM
So it is... :)

Jason

Beefcake550
11-17-2004, 07:43 AM
Man, do I feel stupid.... I should have looked there. I'm used to it being packaged along in the .zip file. D`oh!

Anyhow, would anyone else be interested in a version for the RW2? I'll have to ask NeilM for permission to send anything around....

-Beef

PrincessNybor
11-18-2004, 01:19 AM
Yes! I would love an update for the RW2, as I have one laying around that I would use if it worked correctly. If you can get permission, that would be great. [=^)

ptaylor
11-18-2004, 06:31 PM
I just installed the new version of the plugin (for Sage 2.1) and I'm seeing some slightly different results than before...

Previously, I believe I could change the channel with the up and down arrows and the volume with the left and right arrows... The channel up/down and volume up/down also worked. Now, only the channel up/down and volume up/down keys are working. The up/down and left/right buttons seem to do nothing.

Is there a way to assign the Channel Up/Down functions to both the Channel Up/Down buttons and the up/down arrows, and the Volume Up/Down functions to both the Volume Up/Down buttons and the left/right arrows?

Paul

Beefcake550
11-27-2004, 07:01 AM
Ok, so, I've modified the source code to only "deal with" repeating keys everyone time they are seen. This appears to work well for me.

I did this by introducing an integer that gets incremented everytime the repeat_key function is executed. The code only sends the message to Sage if the counter mod 2 = 0. I wonder if there is some identifier string that I could use to make this code universal for RW and RW2. Any ideas?

Finally, I know others have expressed interest in this adjustment, so how should I handle it? I could just post the fix here, or I could send the source code back to neilm to buld and distribute.

-Beef

band80
11-27-2004, 11:31 AM
It'd be great if you could just compile and post the binary here.

Beefcake550
12-01-2004, 05:51 AM
Ok, I got permission from nielm to post the changes I made.

Here's the source code change and the compiled SageTV.dll. Enjoy!!!

JUC
04-14-2005, 07:48 AM
okay, resurrecting an old thread. For some reason, after a recent reinstall, my custom commands are no longer showing up in my RW software. I can not select them in the drop down menus to bind them to one of the A,B,C,D,E,F buttons. I had it working before. I tried editing and adding the plugin config file but still can't get them to show up. i did restart evertying too and make sure that the app was not running when i edited the file. Would anyone be willing to post their RW plugin config file that has the custom commands lited and working. This would help me out a bunch. Thanks
JUC

nielm
04-14-2005, 08:21 AM
The assignment of SageCommands to A-F buttons is done by the RW software and stored somewhere in the registry...

Check that the Sage plugin is listed and enabled in the Plugins tab of the ATI RW software properties page (and re-import it if not)
In the Program Tab, select 'Specific to the currently active feature', and that will show a dropdown:
Whenever [Windows [v]] is active
Change the item in the dropdown to the Sage plugin and you should then be able to select the SageCommands for A-F buttons...

JUC
04-14-2005, 10:57 AM
thanks nielm, i've definatly passed that part of the problem. It's all imported, i can select a bunch of different sage options for the A-F buttons, just not the custom commands. Like i mentioned, i had it working before, I used Custom 4 and 5 I think with the commercial advance. Now that sagemc supports it i need to get it working again. Basically, the custom commands just aren't showing up in the ATI software dropdown menus. all the other sagecommands are. I remember i had to manually put in the custom commands in the config file to get them to show up. I did that but they are still not their. Any more thoughts? basically, if someone has access to their config file that lists the custom commands that should do the trick. Or any other thought's would be great.
Thanks
JUC

nielm
04-14-2005, 12:50 PM
Sorry, completely misunderstood you :)

You need to add the definitions of the custom1-5 in the [SageTVFunctions] section of the ini file and then restart the ATI application...
eg using the following items:
Custom1=Custom|Custom1,1258,1,78
Custom2=Custom|Custom2,1258,1,79
Custom3=Custom|Custom3,1258,1,80
Custom4=Custom|Custom4,1258,1,81
Custom5=Custom|Custom5,1258,1,82

JUC
04-15-2005, 06:39 AM
Nielm, I have tried putting the lines in the ini file but the custom commands are still not showing up in the ATI application. I added the lines when the app was closed as too. If someone could post their ini file I think that would help me out. Thanks
Josh

nielm
04-15-2005, 07:08 AM
This one worked for me.

If they still do not show up, then your ini file probably is not in the correct directory: Mine is in:
c:\Program Files\ATI Multimedia\RemCtrl\Plug-Ins\SageTV.ini

JUC
04-15-2005, 07:42 AM
Thanks, I will try it when I get home. the ini file is in the right directory. Not really sure why the added lines aren't showing up though. Hopefully this will fix it.
Thanks again,
JUC

JUC
04-18-2005, 06:40 AM
Thanks, that did the trick! I'll save a copy in the rest of my backup sage folder.

mightyt
10-30-2005, 01:36 AM
I have used this ATI Remote Wonder plug-in with great success for SageTV v.2.0.10 Server. Does this same plug-in work with the Remote Wonder II and SageTV 2.2.8?

I see the latest version on the first post is ...

Ver 2.1.0.1 : 28 Oct 2004

I then saw that on 12-01-2004, Beefcake550 posted the following file ...

ATI_RW2_SageTV_Plugin_v2_1.zip

I assume you install 2.1.0.1 first, then replace the DLL from the zip and it will work with RW II ... If so, does it work with SageTV 2.2.8??

If not ... Any other options??

Thanks, T.

mightyt
11-26-2005, 08:24 PM
Nielm ... I have used this plug-in for Sage 2.x with my Remote Wonder. Is there a Remote Wonder II Plug-in for Sage 4?? Or will this plug-in work just as well??

Thanks, T.

lotusvball
11-26-2005, 09:35 PM
This plug in works great with my remote wonder II.

mightyt
11-26-2005, 11:51 PM
This plug in works great with my remote wonder II.

Excellent! Thanks lotusvball :)

Thanks again ... T.

mightyt
11-29-2005, 11:34 PM
So ... Now that I got my Remote Wonder II installed and added the SageTV Plug-in, I see that it works just fine!!

My only question is this ... The A-F options are limited to Internal Screens available in 2.x. Is there a chance that Nielm, Beefcake550 or anyone might add 4.0 Internal Screens to the plug-in options??

Anyone .... P-L-E-A-S-E .... :D :D :D

Thanks, T.

nielm
11-30-2005, 02:16 AM
My only question is this ... The A-F options are limited to Internal Screens available in 2.x. Is there a chance that Nielm, Beefcake550 or anyone might add 4.0 Internal Screens to the plug-in options??
The A-F options are limited to screens that have Commands mapped to them (Search/Library/Recordings). There is no way of adding new Commands (in the same way that you cannot map any keystroke to a specific screen through the Detailed Setup/Commands page)

mightyt
11-30-2005, 06:59 AM
The A-F options are limited to screens that have Commands mapped to them (Search/Library/Recordings). There is no way of adding new Commands (in the same way that you cannot map any keystroke to a specific screen through the Detailed Setup/Commands page)


So , for example ... additional Internal Screens can not be added to any of these lists?? (See Attachment) ... Say Weather, IMDB, RSS, Etc.?? Just like View Guide, Music Jukebox, Etc. were programmed in to the plug-in A-F options??

I am probably not asking the question right (sorry, too many late nights & early mornings :) I guess what I was not really asking for is there a way to do it in the plug-in's current state, but more asking if someone could update the plug-in to add more Internal Screen options to the list that are now available in Sage 4?? Of course I have no clue if this is a somewhat simple 10 minute task or days ... But, thought I would ask / beg since the RW Plug-in has been around a while and works very well ... :p

Thanks, T.

nielm
11-30-2005, 08:11 AM
So , for example ... additional Internal Screens can not be added to any of these lists?? (See Attachment) ... Say Weather, IMDB, RSS, Etc.?? Just like View Guide, Music Jukebox, Etc. were programmed in to the plug-in A-F options??
The answer is still no -- neither in the current state, nor in an upgraded version.

Because you cannot map a keypress (on the keyboard) to go to weather, IMDB, RSS, etc, you cannot do it either using a remote. The reason is that there are no Sage-internal commands to go to these screens (There are commands to go to the TV Guide/Music Jukebox/Library/Sage Recordings etc) and commands cannot be added to Sage

Opus4
11-30-2005, 10:33 AM
So , for example ... additional Internal Screens can not be added to any of these lists?? (See Attachment) ... Say Weather, IMDB, RSS, Etc.?? Just like View Guide, Music Jukebox, Etc. were programmed in to the plug-in A-F options??

I am probably not asking the question right (sorry, too many late nights & early mornings :) I guess what I was not really asking for is there a way to do it in the plug-in's current state, but more asking if someone could update the plug-in to add more Internal Screen options to the list that are now available in Sage 4??I think you are missing how the jumps to those screens are handled... in the files you downloaded, check out the SageTV.ini file -- you will be able to see that it is using event codes for the SageTV commands to go to certain screens and perform other functions. It is not jumping to some menu name in the STV.

- Andy

mightyt
11-30-2005, 03:26 PM
OK ... My bad ... I got it ...

I saw the SageTV menu names in the plugin and thought that the plugin itself was hard coded to make calls to Internal Screen Names as it appears Dynamic Menus were set up to do ...

I see what you are saying ... though the included menus in the plugin are options, the only ones that can be called in the list are those that have SageTV event code commands. :cool:

Too bad ... :( it would be great to be able to call and internal screen simply by programming a button. :)

Thanks for the clarification Opus and Nielm!! T.

drkenb
12-07-2005, 07:24 PM
Right about now I'm feeling dumber than ditchwater. I have an ATI RemoteWonder Plus and am trying to get it to work with my new Plextor TV100 + SageLite system and am having absolutely no luck. Can anyone help get me on the road to success? I'm mired down on the shoulder of that road, so any help would be greatly appreciated!:bang: :bang: :bang:

edbmdave
03-18-2006, 09:48 AM
All of my assignable keys are now ignored, and anything that is sage specific seems to be ignored.

Help.

Narflex
03-18-2006, 11:43 AM
Send in a bug report on this. More than likely the support we added for the MCE remote broke this. (not that we knew about it)

edbmdave
03-18-2006, 12:41 PM
Send in a bug report on this. More than likely the support we added for the MCE remote broke this. (not that we knew about it)


Thanks. Bug report submitted.

nielm
03-18-2006, 03:18 PM
The following workaround might work (for 4.1.10)
Edit the SageTV.ini file in the ATI RW plugins directory.
Change
SageTvWinClass=sage.SpecialWindow
to
SageTvWinClass=sage.ak
and then restart the ATI RW app...
.. and if you make this fix for 4.1.10, you might have to undo it for 4.1.11 :)

edbmdave
03-18-2006, 06:54 PM
SageTvWinClass=sage.ak
:)


That worked!:clap: :jump:

Thanks

nielm
03-31-2006, 01:21 AM
This problem is now fixed in SageTV 4.1.11 (Core updates, item 4)

LaP
07-08-2006, 11:13 AM
AJ;
I believe there a couple different Girder plugins for the Remote Wonder. One works in conjunction with the ATI software and the other one does not. The later, I believe gives the user complete control over the RW, but you do not retain the mouse movement. There have been work-arounds for this of various types. The work arounds (IMHO) do not provide the same smooth response as the ATI software. You win some and you loose some.
I like the original ATI software myself and that is why I did some reverse engineering. My fix took about 5 minutes to discover what the TV button was doing and about 15 or 20 minutes in VB to write the program.
Here is what I did, if anyone cares. I installed the RW software and fired up one of my favorite utilities. FILEMON from sysinternals.com. I started the ATI driver and fired up filemon. Then I punched the TV button and let filemon do it's magic! In no time at all I could see what the TV button was doing. Once I knew that, the rest was easy! You can use my program for other things too. You just need to be a little creative is all. Take a look at some of the other utilities out there at sysinternals. Some very interesting FREE stuff!;)
If anyone else has anything that is stumping you RE the RW, give me a yell and I will try and help.
Hocky

that's great

but how do you know what command line parameters or registry keys are used to lauch ATIMMC.exe ?

because FM, TV. TV2, DVD and ATI buttons all launch ATIMMC.exe. Making a visual basic app to lauch the apps i want would be easy. But how do i know how ATI drivers say to ATIMMC.exe which pannel must be launched ?

Hocky
08-17-2006, 07:04 AM
that's great

but how do you know what command line parameters or registry keys are used to lauch ATIMMC.exe ?

because FM, TV. TV2, DVD and ATI buttons all launch ATIMMC.exe. Making a visual basic app to lauch the apps i want would be easy. But how do i know how ATI drivers say to ATIMMC.exe which pannel must be launched ?

Sorry for the late reply on this, but I haven't been around much as of late and I just got to a point where I needed to start upgrading my sage system. It was working great, so why fix it? :D

I don't have any experience with the latest software for the Remote Wonder, so I really can't say. There are a variety of ways to go about hacking through ATI's ATIMMC.exe. I am in the process of updating software and stuff. If I get a chance I will take a look and see what I can see. If ATI is doing anything like the did before, they may be launching the same .exe, but using a different directory structure for each button. The best way to trace this is to use filemon as indicated in one of my earlier posts. In my opinion, filemon and regmon are two of the most usable utilies for figuring out what a program is doing to your system. I hope this helps.

nielm
09-21-2006, 02:59 AM
Just an FYI. This plugin will not work if you run sage with Java 1.6 Beta -- Java no longer sets the class name for a window, so it is impossible to tell if it is Sage that is in focus, or if it is any other Java application...

To work around this, change the Window class name in the ini file from:
SageTvWinClass=sage.SpecialWindow
to
SageTvWinClass=SunAwtFrame

GoldenTiger
03-11-2007, 11:04 AM
Is there a way to tell the plugin to work if SageTV isn't in focus? I'm trying to be able to browse the web while watching a show, but unless I click onto SageTV then hit buttons on the remote, it doesn't work at all. Thanks!

nielm
03-11-2007, 04:13 PM
The code is designed to send commands to Sage only when the Sage window is in focus.

To do something else, you would either have to alter the code, or use an alternative RC app, like Girder.

thomjw
03-15-2007, 01:07 AM
Hi, I downloaded the ati remote software from their site, but when I installed it, I got an error message that said "error 1904.Module C:\program files\ATI Multimedia\RemCtrl\x10net.dll failed to register. HRESULT -2147220473. I've attached the file with the error. I erased and tried again and get the same result. I am using sagetv with a pvr-150 hauppauge card. The wire broke on the hauppauge receiver, so I can't use the hauppage remote. I would love to get this ati wonder remote working. It is the original remote wonder and has the usb receiver.
Thanks
-Tom

Worf
03-15-2007, 04:51 AM
I had the same problem while trying to instal my remote. It turned out to be a registry permission problem. This link (http://www.remotecentral.com/cgi-bin/mboard/rc-pcremote/thread.cgi?153) gives details for a fix.

nlancaster
05-12-2007, 02:55 AM
Well this blows. I had everything working great thanks to this great plugin under windows Vista. Then windows blew up and I had to reload. Everything was fine, until i tried updating SageTV. Had problems with the new version of sageTV 6.1 and went back to sagetv 6.0.19. Now I am unable to get the plugin controling Sagetv properly at all. None of the sage specific commands work at all.

I have tried the above steps to fix the problem and I dont even have an "sagetv.ini" file all i have is a "sagetv.c" file.

Please help.

EDIT: DOH!!! NVM, as soon as i posted this realized I was using and OLD version of the plugin. Downloaded the last version of the plugin and everything is good again.

Thanks for the great plugin nielm!!!

Ansy_74
08-30-2007, 06:51 AM
Hi

This may be a stupid question, but anyway:

How do I skip to next song in a playlist using the Remote Wonder?

/Ansy

nielm
09-02-2007, 12:23 PM
channel up in full screen video/visualisation mode

waylo
02-14-2008, 05:30 PM
Was running 6.3.5 which worked fine with the last available plugin. When I tried the 6.3.8 beta, remote support broke.

But I figured out the fix to make the ATI RW program recognize SageTV.

Here in the plugin SageTV.ini,

[Config]
;; Class name of sagetv application: used to determine if the app is in focus,
;; and is the target of the sendmessage functions
SageTvAppClass=SageApp
SageClientAppClass=SageClientApp

Change SageClientAppClass=SageClientApp
to SageClientAppClass=sunawtframe

jlmdxtv
02-15-2008, 10:26 AM
Thanks for the heads-up and the workaround waylo!

I was just about to install that beta and would have been hosed.

best, john

jlmdxtv
09-13-2008, 06:14 PM
Hello Niel,

Any chance you'll get to looking at your AT-RW plugin for SageTVClient to function properly with Java 1.6 and above?

I've tried both Girder and EventGhost, but due to problems each of those have with other ATI Plugins I run, I'm stuck keeping my system at 1.5. and running ATI's ATRW.EXE.

I've read that you used to keep this source on SourceForce, but it looks like it's been pulled.

thank you, john

plasm
04-11-2009, 02:20 AM
Hi guys,

Is anyone using a RWII with this plug-in? I just got mine up and running (thanks for writing this plug-in Nielm), but some of the buttons don't seem to be working even though commands are associated with them in the SageTV.ini file.

Specifically, the tick, stopwatch, and menu buttons (the buttons are on the sides of the remote between the num pad and the directional arrows) have the following entries in the SageTV.ini file:

;; Menu key (bottom left of number pad) == info
Menu=1258,1,24

;; 'tick' key (bottom right of number pad) == Options
Setup=1258,1,29

;; Stopwatch (left of cursor block) -> Time Scroll
Stopwatch=1258,1,10

but pressing the buttons does not cause the associated effect. Any ideas on how to fix this?

Thanks!