![]() |
|
#31
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
79DieselRabbit, I was going to make a second monitor for my recording tuners, I wanted to use something like ledsdriver, but I need to figure out how to setup the tuner events. In BTVsmartie, I have it set to put up a string when a particular tuner is recording (tuner1 recording, lcd displays #1, etc) Could you tell me what event you monitor to make this happen? (or whatever phrasing is appropriate)
Thanks
__________________
Foxconn NF4UK8AA-8EKRS, AMD 4200-x2 2gb Corsair memory, Asus Earthmate 430, Gigabyte 9500 GT, Hauppauge HVR1600 with remote, HVR950, HVR2250, and HD PVR, ATI Remote Wonder, serial cable tuners, Directv (HD) and Antenna with Electroline cable amp. Windows XP SP2 TV Samsung LNT-466F with Yamaha RX-V663 SS receiver |
|
#32
|
|||
|
|||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Quote:
I don't want to hijack this thread There are no events in the sdk you have to monitor different areas to see if you are recording use BTVDispatcher.GetActiveRecordings part of the sdk to see if you are recording right now and for how long you can also use the BTVScheduler.GetUpcomingRecordings to get when the next record is to occur (so you don't have to constantly peg the Dispatcher method to see if you are recording) Of course this does not do live tv (have to look at BTVLiveTVManager.GetSessions) if you want to talk more about this lets move the conversation to the Development Discussion
__________________
Running BTV 4.X, core 2 duo 2.6GHz, 4GB ram, Asus p5b-e, Vista, NVIDIA GeForce 7950GT, Hauppauge PVR250, Hauppauge PVR150, DVICO FusionHDTV5 RT Gold, FusionHDTV 5 USB Gold,HD 1x 500 SATA, 1 x 400 SATA, 1x 750 SATA, 1x 320 External, 1 x 250 External Current BTV Podcatcher Version |
|
#33
|
|||
|
|||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
What mpp said.
It basically just loops every x number of seconds polling these functions to get the status of the tuners...basically. |
|
#34
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Ok, started a thread here. http://forums.snapstream.com/vb/show...841#post306841
Specifically I am looking for what btvsmartie uses to say tuner1 or tuner2 is currently recording.
__________________
Foxconn NF4UK8AA-8EKRS, AMD 4200-x2 2gb Corsair memory, Asus Earthmate 430, Gigabyte 9500 GT, Hauppauge HVR1600 with remote, HVR950, HVR2250, and HD PVR, ATI Remote Wonder, serial cable tuners, Directv (HD) and Antenna with Electroline cable amp. Windows XP SP2 TV Samsung LNT-466F with Yamaha RX-V663 SS receiver |
|
#35
|
|||
|
|||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Ahh, I think I understand your question now.
That's actually a pain in the a**. To get the tuners, I use BTVSettings.GetDevices. The order of the devices in the returned propbag array happens to be the order of the tuners in the web admin. That's how I determine what tuner is what number. For if a tuner is recording, The propbags returned by BTVDispatcher.GetActiveRecordings contain a "SourceGuid" property. If a tuner's "Guid" property matches an active recordings "SourceGuid", that tuner is recording. LiveTV is a similar process, but with more steps. |
|
#36
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Ok, so say I know my tuner numbers, do I still need to do anything with BTVSettings.GetDevices? It sounds like if you call BTVDispatcher.GetActiveRecordings it will give you replies, one of which is the SourceGuid, or the id of the tuner in use. What I would want to do is have ledsdriver or whatever plugin poll this function and if the sourceguid matches one of the tuners I'm interested in, I can have it turn that led on, is this correct? (clearly I'm a novice but any help is appreciated)
__________________
Foxconn NF4UK8AA-8EKRS, AMD 4200-x2 2gb Corsair memory, Asus Earthmate 430, Gigabyte 9500 GT, Hauppauge HVR1600 with remote, HVR950, HVR2250, and HD PVR, ATI Remote Wonder, serial cable tuners, Directv (HD) and Antenna with Electroline cable amp. Windows XP SP2 TV Samsung LNT-466F with Yamaha RX-V663 SS receiver |
|
#37
|
|||
|
|||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Well BTVSettings.GetDevices gets you your list of tuners which in turn gets you each tuners "Guid". If you already have that then all you need to do is match an active recording's "SourceGuid" to a tuner's "Guid".
|
|
#38
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Cool, gives me a place to start. I'm playing with the outdated btv tutorial now, (told you I'm a n00b) and sadly it is not up to date with the current api (but I think I can figure out most of the issues). First goal is to get it to make the correct logical arguments, after that I'll worry about how it executes, if I just start a batch command to enter a user input in ledsdriver (which would make it universal for any plugin) or if it replaces ledsdriver (like the media portal plugin, which shoudl give me a starting point).
Long term, I'd like to see if I can use it to send a disable-remote and enable-remote commands to my STB via the serial controller, thus keeping family from changing channels during recordings.
__________________
Foxconn NF4UK8AA-8EKRS, AMD 4200-x2 2gb Corsair memory, Asus Earthmate 430, Gigabyte 9500 GT, Hauppauge HVR1600 with remote, HVR950, HVR2250, and HD PVR, ATI Remote Wonder, serial cable tuners, Directv (HD) and Antenna with Electroline cable amp. Windows XP SP2 TV Samsung LNT-466F with Yamaha RX-V663 SS receiver |
|
#39
|
|||
|
|||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Does this plugin display recording errors if they occur? I primarily would like to add a display to indicate if my HD-PVR is not working again so I know to reset it!
|
|
#40
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Good question. As far as I can tell, no. There is a status parameter that you can assign to a tuner, but the only responses are "Live TV", "Recording", "Live TV/Recording", or "Idle". However, if when the HD PVR fails it locks in the recording position, you might be able to see this with a combination of tuner status and recording schedule. If nothing is scheduled to record and the status says tuner is recording you know you have an error.
Ideally since BTV will list the errors, would be nice if those would display directly. Unfortunately it looks like the author 79DieselRabbit hasn't been to the forums in a year and his website is down, but you could still try to email him. Another option is to build a custom post process step that checks for errors at the end of a recording. There's been talk of this on other threads, and ideal solution would be to have it send a signal to an x10 module to powercycle the HD PVR, which in most cases corrects the error. If this is done early enough, and you set enough padding on your recordings, you could theoretically detect a bad start, reboot your HD PVR, and restart the existing recording without missing anything. Someone with a better feel of the API would probably need to write this.
__________________
Foxconn NF4UK8AA-8EKRS, AMD 4200-x2 2gb Corsair memory, Asus Earthmate 430, Gigabyte 9500 GT, Hauppauge HVR1600 with remote, HVR950, HVR2250, and HD PVR, ATI Remote Wonder, serial cable tuners, Directv (HD) and Antenna with Electroline cable amp. Windows XP SP2 TV Samsung LNT-466F with Yamaha RX-V663 SS receiver |
|
#41
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
For anyone using this plugin, it looks like the .NET 4 recent update from Microsoft causes btvsmartie.dll to fail in LCD Smartie with an error of "external exception E0434F4D". Uninstalling the .NET 4 did the trick for me.
__________________
HomeyFour Server: C2D E7400 2.8 | 2048MB | Drive Pool: 120GB SATA 500GB SATA | 4x HD HomeRun | Intel G41 DVI->HDMI | Antec Fusion | Samsung 46" DLP | BM | BTV | Windows XP Link 1: Veriton N2620G Celeron 1.5 | 2048MB| Windows 7-32 Link 2: Atom 330 | 2048MB | Nvidia ION | PureVideo | BM | Windows XP Link 3: C2Q | 8192MB | Nvidia 8600 | PureVideo | BM | Windows 7-64 |
|
#42
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Yes, I use it. Thanks for the heads-up.
__________________
Intel DP965LT mobo with Core 2 Duo E6400 2.13GHz 2GB RAM, 320GB Disk (OS & music) & 500GB Disk (BTV recordings) Foxconn GeForce 7600GS Video Windows XP SP3, PureVideo decoder Soundblaster audio for S/PDIF optical output to HT receiver Two HDHRs and a Hauppague 2250 connected to a Channel Master 4228HD antenna through a Channel Master CM3418 Distribution Amplifier |
|
#43
|
||||
|
||||
|
Re: [addon] BTVSmartie 5.0 (July 24 Update)
Thank you!
__________________
CM690 Case Thermaltake A2331 VFD Display Foxconn A7DA-S Motherboard (2) Hauppauge 2250's; (1) PVR-150 ATI HD3300 (onboard) Video AMD Phenom 9550 Agena 2.2GHz CPU XIGMATEK HDT-S1283 Cooler 2GB PC2-8500 DDR2 SDRAM XP Pro / MediaPortal / BeyondTV Drobo V2 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [addon] BTV Negociator (July 14 Update) | SSDNAdmin | Beyond TV Downloads | 261 | 12-02-2008 03:46 PM |
| [plugin] System Status (w/MBM or SpeedFan) (July 27 Update) | SSDNAdmin | Beyond Media Downloads | 36 | 03-26-2008 12:48 PM |
| [addon] BeyondPPC (Mar 31 Update) | SSDNAdmin | Beyond TV Downloads | 5 | 03-05-2007 06:42 AM |
| [plugin] Pandora (July 10 Update) | SSDNAdmin | Beyond Media Downloads | 23 | 08-11-2006 11:09 AM |