SnapStream Forums

Go Back   SnapStream Forums > SnapStream Developer Network > Beyond TV Downloads
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread Display Modes
  #31  
Old 01-20-2009, 07:02 PM
ZetaVu's Avatar
ZetaVu ZetaVu is offline
l33t Member
 
Join Date: Dec 2005
Posts: 4,218
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
Reply With Quote
  #32  
Old 01-20-2009, 09:14 PM
mpp_mpp mpp_mpp is offline
Senior Member
 
Join Date: Aug 2004
Location: Fort Worth, TX
Posts: 128
Re: [addon] BTVSmartie 5.0 (July 24 Update)

Quote:
Originally Posted by ZetaVu View Post
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

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
Reply With Quote
  #33  
Old 01-21-2009, 01:04 AM
79DieselRabbit 79DieselRabbit is offline
Senior Member
 
Join Date: Jun 2004
Location: Southern CA
Posts: 150
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.
Reply With Quote
  #34  
Old 01-21-2009, 07:30 AM
ZetaVu's Avatar
ZetaVu ZetaVu is offline
l33t Member
 
Join Date: Dec 2005
Posts: 4,218
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
Reply With Quote
  #35  
Old 01-21-2009, 09:48 AM
79DieselRabbit 79DieselRabbit is offline
Senior Member
 
Join Date: Jun 2004
Location: Southern CA
Posts: 150
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.
Reply With Quote
  #36  
Old 01-21-2009, 10:31 AM
ZetaVu's Avatar
ZetaVu ZetaVu is offline
l33t Member
 
Join Date: Dec 2005
Posts: 4,218
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
Reply With Quote
  #37  
Old 01-21-2009, 08:11 PM
79DieselRabbit 79DieselRabbit is offline
Senior Member
 
Join Date: Jun 2004
Location: Southern CA
Posts: 150
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".
Reply With Quote
  #38  
Old 01-22-2009, 10:30 AM
ZetaVu's Avatar
ZetaVu ZetaVu is offline
l33t Member
 
Join Date: Dec 2005
Posts: 4,218
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
Reply With Quote
  #39  
Old 12-03-2010, 09:09 PM
john1221 john1221 is offline
Registered User
 
Join Date: Apr 2007
Posts: 16
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!
Reply With Quote
  #40  
Old 12-04-2010, 07:38 AM
ZetaVu's Avatar
ZetaVu ZetaVu is offline
l33t Member
 
Join Date: Dec 2005
Posts: 4,218
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
Reply With Quote
  #41  
Old 01-26-2011, 06:42 AM
HomeyFour's Avatar
HomeyFour HomeyFour is offline
l33t Member
 
Join Date: Jan 2005
Location: Sterling Heights, MI
Posts: 1,606
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
Reply With Quote
  #42  
Old 01-26-2011, 08:18 AM
SnakeDoctor's Avatar
SnakeDoctor SnakeDoctor is offline
l33t Member
 
Join Date: Feb 2007
Location: Earth
Posts: 332
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
Reply With Quote
  #43  
Old 01-27-2011, 04:29 AM
SmokeWatcher's Avatar
SmokeWatcher SmokeWatcher is offline
Senior Member
 
Join Date: Feb 2007
Location: Az, USA
Posts: 285
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
©2004-2009 Snapstream Media
You Rated this Thread: