SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-23-2003, 06:43 PM
rcleav's Avatar
rcleav rcleav is offline
Sage User
 
Join Date: Aug 2003
Location: Omaha, NE
Posts: 26
SageTv, Girder, USBUirt and remote problem

I'm sure the answer to this is out there but I've been unable to find it.
I have SageTv, Girder and USBUirt all talking to each other thanks to salsbst girder gml.
There is a problem though. When using my remote to change channels from the guide, channelup/down or entering channel numbers directly the digital cable box gets confused and only gets partial or no data.
All other remote functions controlling SageTv work great.
My infrared keyboard using its own receiver as well as programmed channel changes work flawlessly in all respects, changing channels every time. I figure that the remote is interfering with the USBUirt signal confusing the cable box.
The answer probably lies in Girder but being a week old novice at it I have been unable to find it.

Thanks all
Reply With Quote
  #2  
Old 08-25-2003, 08:30 AM
dkardatzke's Avatar
dkardatzke dkardatzke is offline
SageTV Co-Founder
 
Join Date: Feb 2003
Location: Chicago, IL
Posts: 1,220
What happens if you change the delay options for channel changing under Setup > Detailed Setup > IR Hardware? It may help with your interference problems.
__________________
Dan Kardatzke, Co-Founder
SageTV, LLC
Reply With Quote
  #3  
Old 08-27-2003, 12:59 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Ron, if you are using Girder and the ExeTunerPluginDll rather then the inbuilt IR stuff...you can control the delay by editing this script (located in "Application Control / SageTV / SageSetExternalChannel / SetChannel:

l = strlen(pld1);
for i = 1,l-1 do
s = strsub(pld1,i,i)
TriggerEvent("cable-motorola-"..s,18);
TriggerEvent("Global-Scripts-Pause",18,500);
end
s = strsub(pld1,l,l)
TriggerEvent("cable-motorola-"..s,18);
TriggerEvent("Global-Scripts-Pause",18,200);
TriggerEvent("cable-motorola-enter",18);
TriggerEvent("Global-Scripts-Pause",18,300);
TriggerEvent("cable-motorola-exit",18);

The 500s, 200s and 300s are pauses in milliseconds. Try increasing those values until it works.

I use an external emitter (which came with my Phillips MCE Remote) plugged into the USB-UIRT. The emitter has a sticky side and is stuck right on to the Motorola box' receiver area. Over that, I have afixed a large swatch of black electrician's tape. Without taking measures like these, you will probably have to increase the inter-button delay significantly in order to avoid issues.

HTH,
Stuart
Reply With Quote
  #4  
Old 04-15-2004, 01:10 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Salbst,
I appreciate your posts on this.

I have had difficulty getting SageTV to play nice with my DirecTV receiver and did one of my frequent searches looking for advice. I found your post here. This was illuminating. I started experimenting with the setchannel script and added the "pause" line. I think maybe it was helping (I'll know better when I get home tonight if a scheduled recording actually was recorded). I am curious what your settings are? I also am curious what your setting for the SageTV IR transmission delay are? And what if any delay you have in Girder (with the "wait milliseconds" before transmission option).

Thanks!
Reply With Quote
  #5  
Old 04-16-2004, 09:39 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Since I'm using the EXETunerPlugin, I don't think that the SageTV IR Transmission Delay setting applies to me. I didn't mess with the "wait milliseconds" settings in Girder, so I have the defaults (and from memory I don't know what those are). I think the only delays imposed are those in my script.

Since I'm at work right now I can't be 100% certain of much of anything (except that I can't wait for 5pm). I'll check tonight, and if I don't reply, just remind me here or on PM.
Reply With Quote
  #6  
Old 04-16-2004, 11:00 AM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Thanks.
That all I can ask.
Reply With Quote
  #7  
Old 04-19-2004, 04:35 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
I have 0 for wait ms in Girder's USBUIRT settings.

I have no settings in SageTV for IR, since SageTV has no idea what kind of IR I use... it just knows that it should use the EXETunerPlugin.
Reply With Quote
  #8  
Old 04-19-2004, 06:50 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Thanks. And what the delay times in your script?

Thanks!
Reply With Quote
  #9  
Old 04-19-2004, 07:12 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
I double-checked and the script posted above is what I currently use.

500 milliseconds between channel number buttons
200 milliseconds before the Enter key
300 milliseconds before hitting Exit to dismiss the stupid Info OSD that Comcast shows

Keep in mind

a) I have an emitter taped to the cable box and that it is covered with black tape...
b) I don't browse live TV and thus waiting half of a second between "button presses" doesn't concern me in the slightest, so I err on the side of accuracy over speed.

That said, it never misses for me.

Last edited by salsbst; 04-19-2004 at 07:16 PM.
Reply With Quote
  #10  
Old 04-19-2004, 07:35 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Thanks for that. I will give our settings a try and go from there
I must admit it has proved frustrating but hopefully this is the key.

Have you ever had issues with the program coming out of Sleep? This seems to be the present most serious hangup.
Thanks!
Reply With Quote
  #11  
Old 04-19-2004, 07:46 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Sage coming out of Sleep? No, not really. I don't use any hibernation though.

Regarding the pause thing....Make triple sure that the Girder function that I named, "Global-Scripts-Pause" is actually being called. If that function doesn't get called properly, then the channel change script won't pause (and you won't get any error messages either).
Reply With Quote
  #12  
Old 04-20-2004, 11:56 AM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Quote:
Regarding the pause thing....Make triple sure that the Girder function that I named, "Global-Scripts-Pause" is actually being called. If that function doesn't get called properly, then the channel change script won't pause (and you won't get any error messages either).
Hmm. You're testing the limits of my ignorance - which are broad. How would a I test to this.
Reply With Quote
  #13  
Old 04-20-2004, 12:03 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
It's probably sufficient to set all of the pause values to 999 (which is almost 1 second) and make sure that there is a pause of about 1 second between each signal (by watching the red display on your cable box).
Reply With Quote
  #14  
Old 04-23-2004, 04:29 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Quote:
Originally posted by salsbst
It's probably sufficient to set all of the pause values to 999 (which is almost 1 second) and make sure that there is a pause of about 1 second between each signal (by watching the red display on your cable box).
Ok. Well I have had a chance to play around with this. It does not appear that the pause in the script is working. What do I do to get it to work?
Thanks
Reply With Quote
  #15  
Old 04-23-2004, 05:20 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Post your GML and I'll take a look at it.
Reply With Quote
  #16  
Old 04-23-2004, 05:28 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Quote:
Originally posted by salsbst
Post your GML and I'll take a look at it.
Sure thing. Thanks
Attached Files
File Type: txt copy of home theater.txt (104.9 KB, 325 views)
Reply With Quote
  #17  
Old 04-23-2004, 05:29 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
I posted as txt, because the browser did not accept as GML. Maybe Ill try zipping too.
Reply With Quote
  #18  
Old 04-23-2004, 05:31 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Here is that file zipped
Attached Files
File Type: zip home theater.zip (7.5 KB, 310 views)
Reply With Quote
  #19  
Old 04-23-2004, 05:46 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
I couldn't find the "Global-Scripts-Pause" command/event in your GML. Your GML is "way" different than mine, so I'm a bit disoriented in it, but as far as I can tell the pause command wasn't in there. I've imported my pause command into your GML and attached it. Make sure you have downloaded and activated the WinLUAEx plugin from the Girder site...it won't work without it IIRC.
Attached Files
File Type: txt copy of home theater.gml.txt (105.8 KB, 326 views)
Reply With Quote
  #20  
Old 04-23-2004, 07:39 PM
Ralphjb Ralphjb is offline
Sage Aficionado
 
Join Date: Jun 2003
Posts: 268
Thanks for that
Ok, you've created a "pause" under a global-scripts tree. That is something I did not have. Again, I freely admit my ignorance in these matters. What I had done was add the

"TriggerEvent("Global-Scripts-Pause",18,500);

to "setChannel script" but perhaps I also needed this additional gobal-scripts tree. Is that correct?

Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.