NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 944 945 946 947 948 … 1231 Next »
How do GB-PVR start the external channel changer?

 
  • 0 Vote(s) - 0 Average
How do GB-PVR start the external channel changer?
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#1
2005-11-02, 04:31 PM
Using the USB-UIRT command line tool to change channels fails for me (see thread USB-UIRT InterCodeDelay - does it work?)when a recording starts. Everytime else it works (from the TV guide etc). Switching to channel 12 results in two changes, first to channel 1 and then to channel 2, i.e. there is a too big delay between the invokations to uutx inside the bat file.

What are the GB-PVR doing differently while starting a scheduled recording vs plain channel changing reagrding cpu/disk usage?

So could I make the call for channel changing be made with a higher priority, in blocking mode or something, just to get it the cpu it needs to switch to the correct channel?

I know I'm pretty alone with this really stupid reciever so I understand if you don't want to do anything about it, but I really would like to know what's going on. (I've also asked Jon if he could make a special version of uutx that can send more than one code in a single invocation.)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2005-11-02, 05:13 PM
Quote:What are the GB-PVR doing differently while starting a scheduled recording vs plain channel changing reagrding cpu/disk usage?
One is run from the users account, the other is run in the user account the recording service runs as (usually localsystem).

What does the utility do? I know some people have had problems with .exe channel changer utilities that try to talk to some other app to get it to communicate to the device (a server or tray app or similar). The reason this was a problems is they were transferring data using WM_COPYDATA, which is essentially via the clipboard. The clipboard is not shared between the user's desktop account and the recording service, so this communication was failing.

I hope that makes sense?
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#3
2005-11-02, 08:39 PM
sub Wrote:What does the utility do?
It just sends a single stream of bits (the one in the IR definition file) to the USB-UIRT. More explicitly, I don't know. But I think you do the same thing when sending strings to the USB-UIRT for channel changing. You call something (usb-uirt-dll?) with a button at a time, right?

The problem for me is that I need to keep track of the toggling bit manually, so I call the utility twice from my bat file, but too much time passes between the calls...
Actually the code you use to send the button code to the usb-uirt blaster, is that open? Could that be turned into a RC5-toggle-aware .exe channel-changer?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2005-11-02, 08:44 PM
Quote:Actually the code you use to send the button code to the usb-uirt blaster, is that open?
No, sorry. That specific is a bit of an ugly mess spread across a few files, and not easily separated. My code uses calls to unmanaged c++ code, which was the only option at the time. If I was writing this again, I'd have probably used the C# library thats now available.

Quote:Could that be turned into a RC5-toggle-aware .exe channel-changer?
I dont think that could be done easily.

You might be better trying to write a standalone executable replacement for uutx utility, but handles multiple digits, and ideally also does your RC5 toggle.
blader_se
Offline

Senior Member

Posts: 484
Threads: 64
Joined: Aug 2004
#5
2005-11-02, 08:55 PM (This post was last modified: 2005-11-02, 09:19 PM by blader_se.)
OK, thanks for answering. I'll probably try and find any USB-UIRT sdk laying around and hack away...

Update: I had not seen the thread below when I posted this!
sub Wrote:I'm going to release an sdk of sorts, which will allow people to implement their own channel changer plugins (and other things), so it might get supported that way.
(http://forums.nextpvr.com/showthread.php?t=601)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  USA Cable Discovery Channel problems with Schedules Direct ram4x4nut 0 3,960 2013-02-21, 05:08 AM
Last Post: ram4x4nut
  Channel 4 HD new tuning string Pob 0 2,612 2012-03-29, 08:59 PM
Last Post: Pob
  Composite Channel not being tuned properly seymoria 14 6,856 2012-01-24, 01:56 PM
Last Post: seymoria
  Need help remapping Channel guide and actual channels divinehammer 3 3,770 2012-01-20, 10:43 AM
Last Post: kayleigh
  Composite channel configuration problem. seymoria 6 4,576 2012-01-15, 10:15 PM
Last Post: seymoria
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,958 2011-12-17, 02:52 PM
Last Post: Sykor
  Live TV Locks Onto Different Channel persim 1 2,310 2011-10-24, 06:33 PM
Last Post: sub
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,507 2011-09-19, 01:15 AM
Last Post: sub
  Channel 4 HD and sat ini DanielP 40 12,491 2011-04-12, 10:42 PM
Last Post: mvallevand
  How to get Sky Digital channel guide into GBPVR? bobster 34 11,090 2011-04-01, 08:10 PM
Last Post: bobster

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

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

Linear Mode
Threaded Mode