![]() |
|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
Ok heres the code for trixbox/Asterisk/FreePBX users who want your SageTV to display incoming calls on screen using this plugin
sagetv.pl Code:
#!/usr/bin/perl -w use Net::Telnet; my $callerid = $ARGV[0]; my $calleridfull = $ARGV[1]; $telnet = new Net::Telnet ( Timeout=>10, Errmode=>'die', Port=> 10629); $telnet->open('IP.OF.YOUR.SAGETV'); $telnet->print('@call'.$calleridfull.'~'.$callerid); Now in your extensions_custom.conf add the following: Code:
[custom-51] exten => s,1,Answer exten => s,n,System(/usr/bin/sagetv.pl ${CALLERID(num)} ${CALLERID(name)} ) exten => s,1,Goto(from-did-direct,10,1) And finally, on your freepbx, on your inbound routes, change to rather use a ring group/extension, select custom app destination, and put Code:
custom-51,s,1 ![]()
__________________
SageTV 7.1.9 / Phoenix Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD Extender: 2x HD200 / 1x HD300 |
#42
|
|||
|
|||
I checked the sagetv log file and saw that the plugin was working. Here is the strange part - yac was configured with listeners from the last time I was using Neilm's original plugin. I deleted all the listeners and then tried a test call and still got nothing. I then retyped the listeners and all of a sudden it worked - I made no other changes. Strange isn't it?
Great plugin - thanks for all your work! Dan |
#43
|
|||
|
|||
A random question - something I did not think about earlier - is there a simple code line that could be put into sage.properties (or even in Studio) that would make the pop-up window the same size, no matter what photo was used?
I put in a whole bunch of people's phone numbers and custom photos to appear with them, but I wasn't going to call them all and have them call me back just to test... so, so far, it was only tested with mine and my wife's cellphone numbers. Well, yesterday, my mom-in-law called, and my wife said it was "comically huge"... I guess the picture I used of her was really large, and the pop-up window stretches to accommodate the actual photo size. My wife was watching TV and suddenly the whole 40" TV was filled with her mom's picture! I have no problem going through and manually resizing all the photos... but I was wondering if there was a simple one- or two-line fix that could be put in to "force" a default picture size in the pop-up alert.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#44
|
||||
|
||||
Damn, Your saying your mom in-law is HUGE? lol
I know in nielms wiki states you must resize your picture no larger than 100x100px I don't think shadeblue did anything with that portion of code. |
#45
|
|||
|
|||
Heh - uh, don't tell my wife.
![]() ![]() ![]() ![]() I never had nielm's plug-in - I'm extender-only - so I missed that. As I said, I can manually resize them, I was just hoping it might be a simple line or two that could force them to a certain default size on the screen, regardless of the size of the original. Just checkin'.
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#46
|
||||
|
||||
No, it's a manual thing. But if someone with Studio savyness could do it. I think there is commands in studio that lets you minipulate pictures but i'm not sure.
|
#47
|
|||
|
|||
Irfanview ais great for resizing images. It will do batch resizing to a single size. So load it up, add all or some of the images in a given folder, give it a target size and target folder and go. So your originals remain without having to copy and such.
Works great. |
#48
|
|||
|
|||
Little help please...
I think I have everything set up right (well, I don't have a modem yet... $40 at BB so I will be buying on ebay) but as far as testing goes, I still seem to be having a problem.
Telnet works I have tried a bunch of different things in the listeners config and according to the sage log file (see below), it seems to be working but nothing on the extender. I've tried in both the default STV and SageMC... Quote:
|
#49
|
|||
|
|||
Does anyone have a sample script to send generic messages to the plug-in?
I don't have a modem in my computer but my home automation system captures caller id info via a NetCallerID box. The home automation system and SageTV run on the same server. I would like to create a DOS or VB script to send caller id and other generic messages from my server to a Sage client PC. I installed the plug-in on the server and client PC. I can telnet from the server to the client PC on port 10629. I'm not sure how to connect to the client PC from a script to send a generic message to the plug-in. The instructions state: "Your program or script will need to connect to the configured TCP/IP socket, send the ASCII message based on the supported protocol messages below and then disconnect the socket." Does anyone have an example? |
#50
|
||||
|
||||
mbowling: someone just created a quick script for Astrisk with may work for you. I can't find the link now.
|
#51
|
||||
|
||||
Quote:
The exception in the log file suggests that the plugin could not locate the proper widget ID to invoke and display the CallerID popup window. This type of error suggests that the shadeBlue Infopoup STVi was not imported (or not properly loaded) into the STV on the extender. Did you from the extender's STV GUI select and import the shadeBlue Infopoup STVi file? Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#52
|
||||
|
||||
Quote:
Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#53
|
||||
|
||||
Quote:
At the very bottom of the official YAC webpage is a "YACTextSend for Windows" utility that can allow you to send a YAC message from a command line. If you can shell out to another executable or command script, this may be the easiest method to accomplish your goal. The source code for this utility is also included. http://sunflowerhead.com/software/yac/ Nielm has also put together a testing utility that could be used. Look for the section on the page link below titled "Testing / Other Programs" http://tools.assembla.com/sageplugin...oduleInfoPopup Hopefully this should get you started, if you have any other questions, feel free to post them here. Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#54
|
||||
|
||||
Quote:
Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#55
|
|||
|
|||
Quote:
I also tried in the default STV with no luck. Oh well, won a modem on ebay.... I'll give it a shot after I get the modem next week. |
#56
|
|||
|
|||
Just throwing this out because it is something easily missed if you don't read the instructions carefully (not that I would, um, know, or anything)....
If you are installing this on your server and do the "standard" installation (without nielm's customized YAC stuff), the pop-up will ONLY work on your extenders and not on your server GUI itself. You have to do the nielm custom thing if you want your server Sage GUI to have the pop-up as well. So if you think you have it all installed properly as you sit at your server, and you call yourself with your cellphone, and the YAC pop-up appears down by your system tray but no pop-up appears on your Sage GUI... that's because it won't. Go check your Extenders, they might be working. This has been a public service announcement. We now return you to your regularly-scheduled thread..... ![]() ![]()
__________________
Server: AMD Athlon II x4 635 2.9GHz, 8 Gb RAM, Win 10 x64, Java 8, Gigabit network Drives: Several TB of internal SATA and external USB drives, no NAS or RAID or such... Software: SageTV v9x64, stock STV with ADM. Tuners: 4 tuners via (2) HDHomeruns (100% OTA, DIY antennas in the attic). Clients: Several HD300s, HD200s, even an old HD100, all on wired LAN. Latest firmware for each. |
#57
|
||||
|
||||
Quote:
Thanks, SB
__________________
Server Hardware: Intel Core 2 Quad Q6700 2.66GHz CPU, 4GB DDR2 RAM, NVIDIA nForce 780i SLI Motherboard, GeForce 8600 GT, Seagate Barracuda 7200.11 2.5TB Operating System: Windows XP Professional HTPC/DVR Software: SageTV 7 Capture Devices: 2 @ Hauppauge HD-PVR (1212), Hauppauge WinTV-HVR-1600 ATSC/QAM, HD Homerun Media Extenders: 2 @ Sage HD100 & 1 @ Sage HD200 Signals/Providers: AT&T UVerse, OTA ATSC Set-Top-Box: 2 @ Motorola Box VIP 1200 |
#58
|
|||
|
|||
Quote:
When certain events occur around the house I send a message to the TV using your plug-in. For example, when the garage door is opening the home automation software detects that the door is opening and sends a message to the TV. Our garage door can't be heard from inside the house so this gives us a heads-up when someone is arriving at home. ![]() |
#59
|
|||
|
|||
It is >8MB... any suggestion about how to upload?
|
#60
|
||||
|
||||
I've done several searches of the forum and the linked sites and haven't seen any indication either way ... can YAC run on a WHS (Windows Home Server) box?
I'm building my first SageTV server. It'll be a headless box in the basement and I've been waffling between WHS & XP Pro for the OS. I'll have HD200's at each TV. This is one of the SageTV add-on's I'm really interested in initially. Thank you, pat---- |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|