|
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 |
#161
|
|||
|
|||
Quote:
The wait 300 goes after the bat renamed from regular name to "recentreset" or however I called it. (Still not in front of my machine). And before the second rename which renames it back to the regular name. As soon as I can I'll PM you the current files I have on my machine. Eric |
#162
|
|||
|
|||
Quote:
Thanks for helping understand these batch files. I have two additional questions; 1) What is the logic of this script; "@echo off :: app echo %1 %2 shift shift ::id echo %1 %2 shift shift :: type echo %1 %2 shift shift :: title echo %1 %2 shift shift :: desc echo %1 %2 echo %1 %2 | find "#2" echo %1 %2>> growler.log if errorlevel 1 goto :not-found" and 2) What is the logic of this script; "@ping 127.0.0.1 -n 2 -w 1000 > nul @ping 127.0.0.1 -n %1% -w 1000> nul" |
#163
|
|||
|
|||
The first part simply reads each output of the controllable power strip in turn before moving on to the next one:
:: app echo %1 %2 shift shift ::id echo %1 %2 shift shift Read the app value and output it to screen, move on to the id value, output it to screen, etc... until you reach the description field (commented as ::desc) which is then tested to see if it contains the string "#2". ---- The second part is a classic wait function done by pinging your own machine. Take care; Eric |
#164
|
||||
|
||||
I installed the current Jetty, SageAlert, and Common Logging Upgrade. I have all the e-mail categories checked for both e-mail addresses. I am getting some e-mail alerts, but only for one of the two e-mail accounts configured. Only two 'recordings started' e-mail alerts were received at one e-mail address and zero alerts at the other re-mail address. About six recordings actually started at various times. The e-mail test buttons do not work.
The e-mail configuration area greys out when I click on "save", which is an indicator to me the e-mail addresses actually saved. However, the SMTP configuration did not grey out when it's save button was pressed. I'm not sure what might be causing the e-mail to be unreliable. I use Acronis on the same system, which has a SMTP configuration area for it's e-mail alerting. The Acronis e-mail alerting is consistently reliable. I'm not sure why the e-mails are not reliable using SageAlert. Dave |
#165
|
|||
|
|||
In the sagetv root install dir should be a file called sagealert.log. What does it have to say? It should record each time it tried to send an email along with any errors it encountered.
__________________
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... |
#166
|
||||
|
||||
After using SageAlert for a couple days, I've found the e-mail is just not dependable. I get some messages and miss other messages.
I checked the sagealert.log file. I was able to match up some of the e-mails received with the logged events. I sometimes don't receive messages the recording is starting, and sometimes don't receive messages that the program is stopping recording. I did see some errors like this one in the sagealert.log file: 2010-03-19 22:00:51,843 ERROR [EmailServer]: Error sending email javax.mail.MessagingException: Could not connect to SMTP host: smtp.comcast.net, port: 25, response: 421 Maybe this is a problem with the Comcast e-mail system. The Comcast e-mail seems to be reliable for the Acronis backup software notifications. However, there are very few e-mails sent with Acronis compared to SageAlert. Dave |
#167
|
||||
|
||||
421 means "service not available". It could mean the mail server is down for maintenance and refusing connections, but my guess is that there's probably a spam filter in place using this error code to reject messages it doesn't like. Make sure you're using a well-formed sender name in the From address, and try adding that address to your spam filter's whitelist (if there is one).
__________________
-- Greg |
#168
|
|||
|
|||
Most ISPs require that the from address is at least from the domain of the ISP (@comcast.net in this case), and in some cases it might even have to be a valid, registered email address in that domain. And in more extreme cases, it might have to be the email address registered to the MAC address associated with the cable modem from which the email is coming from. As GKusnick said, ensure the from address is set appropriately in the SageAlert SMTP settings. If you still have problems, I'd suggest using Google's SMTP server with a Gmail account to send your emails. I use Gmail, as a way to keep my SMTP server ISP agnostic, and I've never had a missed email (knock on wood).
In either case, the SageAlert logs you've provided are showing that your ISP SMTP server is rejecting emails and that's why you're not getting all email alerts from SageAlert. Based on what you've provided, there is no bug with SageAlert.
__________________
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... |
#169
|
||||
|
||||
Quote:
Dave |
#170
|
|||
|
|||
just an fyi - i use the comcast smtp server to send my sagealert emails (using my @gmail address as the from address) and i've never noticed missing any alerts... I do the same thing with my raid controller and also receive all the alerts i should be...
and here is Google's smtp settings
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#171
|
||||
|
||||
Razrsharpe,
Thanks for the link. I setup my Google e-mail, and it is reliable so far. I did notice a little inconsistency of the messages when I tested it with starting and stopping a timed recording, which has nothing to do with the unreliable e-mail problem I was having with Comcast e-mail. When I start a timed recording the message is: 'Timed Record' started recording at 14:10 CDT When the timed recording ends, the message is a bit different. 'Channel 2-1' finished recording at 14:15 CDT It might be nicer if the first message, when starting a manual timed recording also included the channel number. It would be easier to relate the separate e-mails to each other if they both had the channel number included in the messages in this example. Dave |
#172
|
|||
|
|||
That's a result of Sage changing the title of the timed recording after it's done. Since there's no way to know it's a timed recording (via an API call) then there's no way I can do this (other than to add the channel for all recordings, which, in general, I don't think we'd want).
__________________
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... |
#173
|
||||
|
||||
Quote:
|
#174
|
|||
|
|||
Quote:
It would look like this, :Compare1 fc currenterror.txt SavedHDPVR1error.txt if errorlevel 1 goto Compare2 if errorlevel 0 goto task1 :Compare2 fc currenterror.txt SavedHDPVR2error.txt if errorlevel 1 goto Compare3 if errorlevel 0 goto task2 :Compare3 fc currenterror.txt SavedHDPVR3error.txt if errorlevel 1 goto Compare4 if errorlevel 0 goto task3 :Compare4 fc currenterror.txt SavedHDPVR4error.txt if errorlevel 1 goto Trouble if errorlevel 0 goto task4 :task1 recycle HDPVR1 goto end :task2 recycle HDPVR2 goto end :task3 recycle HDPVR3 goto end :task4 recycle HDPVR4 goto end :Trouble @ehco UNKNOWN ERROR :end pause Last edited by jerryt; 04-30-2010 at 07:48 PM. |
#175
|
||||
|
||||
That looks great, but don't you need to reset the errorlevel before each check?
|
#176
|
|||
|
|||
Quote:
I have my server set to sleep (S3) and I have my HDPVR's recycling the power everytime the computer wakes from sleep. So HDPVR errors are non existent for me at the moment. Reset errorlevel C:\>verify >nul http://consultingblogs.emc.com/merri...ogramming.aspx Last edited by jerryt; 05-01-2010 at 03:34 PM. |
#177
|
||||
|
||||
I finally got a chance to try to run this with some real errors (it actually took a long time to force errors) and it's running into a problem. It appears that the issue is the fact that the title of the show is appearing inside of quotation marks and it thinks that's the end of the error. Any suggestions?
|
#178
|
|||
|
|||
Who thinks that's the end of the error message? SageAlert? An external processor? Which alert type is it that's putting titles inside single quotes (though I think all of them might do that)?
__________________
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... |
#179
|
||||
|
||||
It's an outside batch file triggered by growler. It probably is done by all the messages (this is a system message error), but I never noticed it before because I generally don't use the actual text for anything external. This is just my first attempt to help automate recovery from HD-PVR errors.
|
#180
|
|||
|
|||
"It thinks", "It" is the cmd window or growl?
|
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 |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |
Netflix Plugin | DwarF | SageTV Customizations | 8 | 01-23-2006 08:40 PM |
REMOTE WONDER II Plugin? | casperse | Hardware Support | 13 | 11-08-2004 05:17 PM |