|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#121
|
||||
|
||||
Quote:
__________________
-- Greg |
#122
|
|||
|
|||
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#123
|
|||
|
|||
I am trying to update SageAlert and I keep getting the error: FAILED - Dependency: SageAlert Version 2.0.0.951. FYI my current version is 2.0.0.951 and it is telling me that an update is available. I have purchased a license.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#124
|
|||
|
|||
Quote:
In fact I believe SageAlert grew out of SageTweet when some users asked if they could get notifications in ways other than Twitter.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#125
|
|||
|
|||
I use SageAlert to resolve issues with my troublemaker HD-PVRs. It is a great plug in and it is totally worth a donation. I don't understand why this topic keeps coming back.
It would be nice if there was another server to run exe and/or bat file with the message as a parameter. In my case it would eliminate the need for Growl. |
#126
|
|||
|
|||
Yeah, you have to uninstall the current SageAlert, don't restart, then install the new one, then do the restart and all will be well. Once you upgrade to build 1000 then that error will go away. Uninstalling will not delete your SageAlert db file so you won't lose any of your config. There were some bugs with my dependencies list in and around builds 950-970, which caused this error. It has since been fixed.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#127
|
|||
|
|||
Quote:
Assuming you want immediate triggering of the bat file, then I'd suggest opening a feature request ticket. I can probably add a very rudimentary task runner server type to SageAlert - it won't be fancy, but it'll work. Basically you'll setup an exe/bat as a "server" type in SageAlert and then SageAlert will call that bat with a series of command line args and/or environment variables with all the various elements of the alert object (subject, msg, source, etc.) available to the program being called.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#128
|
||||
|
||||
It keeps coming back because people keep getting surprised by it. It's very easy to upgrade from the free version to the paid version without even realizing there is a paid version. At that point the simplest way to get things working again is to bite the bullet and pay up. Even if you decide it's worth the price, this is not the most user-friendly way to find out about it.
In hindsight I think it might have smarter to spin off the paid version as a separate plugin that users would have to explicitly opt into by uninstalling the free version and installing the paid version. That way nobody would be surprised by accidentally upgrading themselves out of the free zone and a lot of these complaints could have been avoided.
__________________
-- Greg |
#129
|
|||
|
|||
Quote:
By the way I appear to have 1002 installed.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#130
|
|||
|
|||
Can you get to /sagealert/ in jetty? Does it load? If not, I'm probably going to need jetty debug logs to see the error.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#131
|
|||
|
|||
No - I get a 404 error from Jetty when I go to the Sagealert page.
Something weird must have happened as I don't see Sagealert files in the contexts or webapps folders. I do see such files in my Sage backup folders. Should I uninstall and then reinstall? If so can I just copy over a backup of my db file? How does the Sage app think that Sagealert is installed if there is no context or webapp file? What log files do you need? The /jetty/logs/2010_09_09.reguest.log file?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#132
|
|||
|
|||
Quote:
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#133
|
|||
|
|||
Quote:
I will say that anything requiring a branch of the code and dual maintenance simply won't happen (from me). If I could package up 2.0.0.916 separate, call it, say, "sagealert-unreg" and make it an antidependency of "sagealert" and make "sagealert" an antidependency of "sagealert-unreg" then I'd be willing to do that, but without that ability it's way too much of a burden, especially once someone manages to get extra jars on their classpath that shouldn't be there.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#134
|
|||
|
|||
D'oh - I didn't reinstall Sagealert, I had reinstalled Sagealert(common). As David St. Hubbins said, It is a very fine line between stupid and clever.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#135
|
|||
|
|||
And so I assume all is good then?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#136
|
|||
|
|||
All is good and everyone else should just man up and pay the $7.50.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#137
|
|||
|
|||
Quote:
I don't want anyone to pay if they don't want to. I hope I explained sufficiently in the donations FAQ why I started asking for donations. I'm not trying to make a living here, I simply want to recoup my expenses related to my development work. Ultimately, it comes down to this simple reasoning: I'll donate my time and I have cheerfully since 2007. I think I'd scare myself if I tried to count the hours of development I've spent on SageTV so I won't even bother. But I don't care, glad to do it. 2 months ago I had to buy a Sage for Linux license and a new hard drive after wiping my lone (production) Sage server working on plugin code. 3 long evenings of restore and listening to "when can we watch tv again?" was enough that I knew I wasn't going to chance that happening again. So I spent $135 on a license and a hard drive for the test server - and let me be clear, if I didn't do this dev work I would have never bought the Linux license nor the hard drive. I'll donate my time, but I feel it appropriate to disperse out of pocket expenses amongst all who enjoy the fruits of my labour. And, quite simply, if you disagree with that reasoning then that's fine, simply don't donate. Not a problem. But to be fair, I'm not hiding anything and the source code is right there in plain view for all to see. Literally 3-4 hours, tops, of effort and one can have a fully functioning version of the latest SageAlert up and installed on their server with no need for a license file. One could even take the fruits of their effort and release the "sagealert-stick-it-to-slugger" version of the plugin to the repository for all to enjoy. Really wouldn't care - just means I can stop work on SageAlert and move on to something else. Any donations above the initial $135 I've spent (and I'm about 90% there as of this writing) will be reinvested into my dev environment. For example, I'm really wanting to add a tuner to my test server so I can test something in a multi-tuner env - things like that. That's all. If you don't want to donate money then that's fine, hopefully everyone understands where I'm coming from on this. And that's all I'm going to say about this topic...
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#138
|
|||
|
|||
Build 1007: Process Executor server type
Snapshot 1007 provides a new server type: the process executor server
This server type allows you to execute a process in response to alerts. The initial version is rather straightforward and will be tweaked based on user response. Here are the details: First, create one or more process executor servers in SageAlert. The file name is the name of the executable to run. Relative paths are relative to the base install dir of SageTV. Absolute paths are allowed. The executable path is for the server on which SageAlert is running. Next, assign the server(s) you created to which ever alerts you want to execute the process for. That's it! When SageAlert executes the process it will inject various environment variables into the process' execution environment. These env variables contain the various details about the alert being fired. The env variables are:
Below are a couple of example scripts that make use of the env vars provided. Obviously, you'll want to do way more interesting things than simply echo back the contents of the alert! Linux bash script Code:
#!/bin/bash echo $SA_SUBJ echo $SA_SOURCE echo $SA_SHORT echo $SA_MED echo $SA_LONG echo All done Code:
2010-09-10 14:55:12,806 WARN [k]: Running '/opt/sagetv/server/sa_echo.sh' (output below) New client connected to SageTV server ClientConnected Client 'Laptop PS' has connected to the SageTV server. Client 'Laptop PS' has connected to the SageTV server. Client 'Laptop PS' has connected to the SageTV server. All done Code:
@echo %SA_SUBJ% @echo %SA_SOURCE% @echo %SA_SHORT% @echo %SA_MED% @echo %SA_LONG% @echo All done Code:
2010-09-10 14:55:12,806 WARN [k]: Running 'C:\Program Files\SageTV\SageTV\sa_echo.bat' (output below) New client connected to SageTV server ClientConnected Client 'Laptop PS' has connected to the SageTV server. Client 'Laptop PS' has connected to the SageTV server. Client 'Laptop PS' has connected to the SageTV server. All done Feedback, suggestions, etc. about this new feature are welcomed. NOTE: This feature is currently unlocked and fully functional, but will eventually be locked and require a license file after a sufficient amount of testing has been performed.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... Last edited by Slugger; 09-10-2010 at 01:24 PM. Reason: Licensing note |
#139
|
|||
|
|||
2 issues so far:
1. The Shell command will not execute from my exe file compiled via vb6. Example: a=Shell("C:\Program Files\SageTV\SageTV\UU.W32.exe 192.168.0.200:80 Admin:1234 3off") The same command executes OK if exe starts manually or via Growl. 2. The exe file runs hidden(all graphical interface is blocked). This is not that important , but the first issue is. Thanks.
__________________
Vostro 200, Intel Core 2 Duo 2.53Ghz, Windows XP Pro as a Server and Client Quad Core 2.66 PC on 1000 MHz network for Comskip and AirVideo 4 x Comcast RNG110 tuners, 3 x Firewire + 1 USB-Uirt Channel control 4 x HD-PVR, 1 WinTV 1850 Composite and TS SageTV V7.0.23 Last edited by lenkost; 09-12-2010 at 02:53 AM. |
#140
|
|||
|
|||
Quote:
Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Plugin: SageAlert | Slugger | SageTV Customizations | 201 | 06-28-2010 07:47 PM |
SageAlert new release notifications | Slugger | Customization Announcements | 2 | 03-06-2010 09:53 AM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |