|
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 |
#221
|
|||
|
|||
Yactextsend
This looks like a weekend project to get yactextsend working, work is not leaving me any time at the moment...
The problem I'm facing is the YAC (server) runs on my security computer, the only one that has a phone line near it. Running a batch file containing yactextsend on my Sage server doesn't work (a 'duh' moment for me). So... It shouldn't be too difficult finding a program (triggered by Sagealert) that will execute a batch file on a remote computer on my home network. What may be tougher is sending a variable to the remote computer. Larry |
#222
|
|||
|
|||
Just pass the env var from SageAlert onto the command line you call on the remote host. Call a batch file on the remote host that accepts the text and the batch file on the remote host calls the yac program with the args received from the batch file. Sounds bad, but it's not. Just break it down step by step and you shouldn't have any problems.
__________________
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... |
#223
|
|||
|
|||
Any chance of getting support for video play/pause/stop events other than Blu-Ray/DVD? The events work awesome for those media but I've converted a lot of my collection to MKV and events don't seem to fire for those videos.
|
#224
|
|||
|
|||
Quote:
SageTV/plugins/sagealert/sagealert.log SageTV/sagetv_0.txt Please include the approximate time when you tried the event handlers so I know where in the sage debug logs I'm suppose to be looking. Please include all of this info a new issue ticket on my project site. Thanks.
__________________
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... |
#225
|
|||
|
|||
Quote:
|
#226
|
||||
|
||||
Hi slugger, I am not able to send emails via GMAIL. I had it working in the old (Sage6) version of the plugin, but now for some reason I never get the email.
Here are the last few lines of my log file taken right after trying to send the test email. Code:
2011-04-12 15:26:41,823 INFO [i]: Defined resource path does not exist, ignoring plugin! [C:\Program Files\SageTV\SageTV\plugins\sre-common] 2011-04-12 15:26:41,823 INFO [i]: No sagealert.properties file found in resource path, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Defined resource path does not exist, ignoring plugin! [C:\Program Files\SageTV\SageTV\sageutls] 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: No sagealert.properties file found in resource path, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:41,823 INFO [i]: Invalid resource path defined for plugin, ignoring plugin! 2011-04-12 15:26:42,010 INFO [e]: Event received: SageAlert_AppStarted :: {} 2011-04-12 15:26:42,042 INFO [af]: No SageAlert handlers registered for fired event: SageAlert_AppStarted 2011-04-12 15:28:56,448 INFO [e]: Event received: EPGUpdateCompleted :: {} 2011-04-12 15:28:56,448 INFO [af]: No SageAlert handlers registered for fired event: EPGUpdateCompleted 2011-04-12 15:29:42,635 INFO [e]: Event received: RecordingScheduleChanged :: {} 2011-04-12 15:29:43,870 INFO [af]: No SageAlert handlers registered for fired event: RecordingScheduleChanged 2011-04-12 15:29:43,870 INFO [e]: Event received: ImportingStarted :: {} 2011-04-12 15:29:43,885 INFO [af]: No SageAlert handlers registered for fired event: ImportingStarted 2011-04-12 15:30:02,120 INFO [e]: Event received: ImportingCompleted :: {FullReindex=false} 2011-04-12 15:30:02,120 INFO [af]: No SageAlert handlers registered for fired event: ImportingCompleted Hostname:smtp.gmail.com Port:465 Username:hidden@gmail.com Password:hidden Connect over SSL: Y Sender address:hidden@gmail.com Last edited by rsagetv99; 04-12-2011 at 01:37 PM. |
#227
|
|||
|
|||
It doesn't look like you have any listeners registered for events.
Visit this URL: http://192.168.0.5:8080/sagealert/view_mgr Replace IP/port with your Jetty details. What's the output on that screen look like? If it's just a list of event names with no emails under any of them then you just need to reattach your email listeners to the various events.
__________________
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... |
#228
|
||||
|
||||
Quote:
Also, the point I was trying to make earlier was that I did not show any log entries when I was trying to send my test emails. Shouldn't I have seen an attempt and a failure in the log I provided? Code:
Event Handler Manager state as of Tue Apr 12 19:42:51 EDT 2011 |
#229
|
|||
|
|||
Yes, but it didn't attempt because there's no email address listening for any events. That blank manager viewer screen means that your events aren't configured. Was this an upgrade from Sage v6 to Sage v7? If so, check your SageTV directory (C:\Program Files\SageTV\SageTV\). Is there a file called sagealert.sqlite in there? If so, that's the one v6 used. In v7, the database is stored under SageTV\plugins\sagealert\ so if the old db is still there then completely stop SageTV and copy the old one to the new location. Restart Sage and then you should be good to go. If that fails with errors then stop Sage, delete that db file, restart Sage and start with a fresh db, which means you'll have to reconfigure all your listeners.
It may fail when you copy the old database over because I don't remember if I handle db upgrades from the old Sage v6 version of the app. (I've long since forgotten how the app code worked for Sage v6.) It all honesty, unless you had dozens and dozens (and dozens) of listeners to configure, I'd just reconfigure with the fresh database and leave it at 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... |
#230
|
||||
|
||||
I'm feeling pretty stupid right now, but I can't see any option to configure an event to go anywhere. When I click an event, I see the listener configuration window to the right, but I don't see a place to select send to email or anything like that. Just Alert Subject, Long Message, Medium, and Short Message. Also if I right-click create and edit are greyed out.
I do show licensed at the top, so I don't think it's that. Any suggestions? |
#231
|
|||
|
|||
Since your db is empty, you need to first create the email address(es) again. On the left, select Servers, right click Email, select Create. Fill in form. Once you add an email then you can reselect the events and then attach that email to it.
__________________
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... |
#232
|
||||
|
||||
Quote:
Thanks for clearing that up. I set one event up, should I be able to send a test email now and have it log if it failed or succeeded? |
#233
|
|||
|
|||
Yes, but the only way to test email sending is from the SMTP settings form. Go back to where you configured your mail settings and click the Test Settings button. If you receive the test email then go back to the view_mgr page. It should now show events and the email address it'll send those notifications to. If you see the email listed then it's all good. If you want to be sure, then you need to force Sage to generate the event in question in order for it to send the email for those event(s).
__________________
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... |
#234
|
|||
|
|||
It appears the test mail settings button on the Mail Settings form is broken. Just configure an event and then force Sage to fire that event to test your email settings. I won't have time to investigate the test button for some time (especially since no one else has reported it broken to date so the priority is that much lower).
__________________
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... |
#235
|
||||
|
||||
Quote:
|
#236
|
|||
|
|||
Quote:
Code:
2011-05-01 22:37:28,445 INFO [aa]: Event received: PlaybackStarted :: {MediaTime=1302543671987, UIContext=/192.168.10.64:60791, ChapterNum=0, Duration=7133270, MediaFile=MediaFile[id=4534265 A[4534268,4534266,"The Green Hornet",0@0411.12:41,118] mask=V host=SageTV encodedBy= format=MATROSKA 1:58:53 1536 kbps [#0 Video[H.264 23.98 fps 1920x800 12:5 progressive]#1 Audio[DCA 48000 Hz 6 channels 1536 kbps idx=1 eng]#2 Audio[AAC 48000 Hz 2 channels idx=2 eng]#3 Subpic[0X0000 eng]#4 Subpic[0X0000 cze]#5 Subpic[0X0000 chi]#6 Subpic[0X0000 chi]#7 Subpic[0X0000 srp]#8 Subpic[0X0000 pol]#9 Subpic[0X0000 slv]#10 Subpic[0X0000 rum]#11 Subpic[0X0000 spa]#12 Subpic[0X0000 fin]#13 Subpic[0X0000 nor]#14 Subpic[0X0000 fre]{IMDBID=tt0990407, TrailerUrl=http://www.imdb.com/video/imdb/vi21600537/, MediaType=Movie, UserRating=63, MediaProviderDataID=tt0990407, MediaTitle=The Green Hornet, MediaProviderID=imdb}] \\NAS\Parity\New Movies\The Green Hornet (2011)\The.Green.Hornet.2011.1080p.BluRay.DTS.x264-DON.mkv, Seg0[Mon 4/11 12:41:11.987-Mon 4/11 14:40:05.257]], TitleNum=0} 2011-05-01 22:37:28,461 INFO [ab]: Returning eventId: STARTS_IMPORT_192.168.10.64 2011-05-01 22:37:28,461 INFO [af]: No SageAlert handlers registered for fired event: STARTS_IMPORT_192.168.10.64 2011-05-01 22:37:34,320 INFO [aa]: Event received: PlaybackPaused :: {MediaTime=1302543677511, UIContext=/192.168.10.64:60791, ChapterNum=0, Duration=7133270, MediaFile=MediaFile[id=4534265 A[4534268,4534266,"The Green Hornet",0@0411.12:41,118] mask=V host=SageTV encodedBy= format=MATROSKA 1:58:53 1536 kbps [#0 Video[H.264 23.98 fps 1920x800 12:5 progressive]#1 Audio[DCA 48000 Hz 6 channels 1536 kbps idx=1 eng]#2 Audio[AAC 48000 Hz 2 channels idx=2 eng]#3 Subpic[0X0000 eng]#4 Subpic[0X0000 cze]#5 Subpic[0X0000 chi]#6 Subpic[0X0000 chi]#7 Subpic[0X0000 srp]#8 Subpic[0X0000 pol]#9 Subpic[0X0000 slv]#10 Subpic[0X0000 rum]#11 Subpic[0X0000 spa]#12 Subpic[0X0000 fin]#13 Subpic[0X0000 nor]#14 Subpic[0X0000 fre]{IMDBID=tt0990407, TrailerUrl=http://www.imdb.com/video/imdb/vi21600537/, MediaType=Movie, UserRating=63, MediaProviderDataID=tt0990407, MediaTitle=The Green Hornet, MediaProviderID=imdb}] \\NAS\Parity\New Movies\The Green Hornet (2011)\The.Green.Hornet.2011.1080p.BluRay.DTS.x264-DON.mkv, Seg0[Mon 4/11 12:41:11.987-Mon 4/11 14:40:05.257]], TitleNum=0} 2011-05-01 22:37:34,320 INFO [ab]: Returning eventId: PAUSES_IMPORT_192.168.10.64 2011-05-01 22:37:34,320 INFO [af]: No SageAlert handlers registered for fired event: PAUSES_IMPORT_192.168.10.64 2011-05-01 22:37:37,164 INFO [aa]: Event received: PlaybackResumed :: {MediaTime=1302543677538, UIContext=/192.168.10.64:60791, ChapterNum=0, Duration=7133270, MediaFile=MediaFile[id=4534265 A[4534268,4534266,"The Green Hornet",0@0411.12:41,118] mask=V host=SageTV encodedBy= format=MATROSKA 1:58:53 1536 kbps [#0 Video[H.264 23.98 fps 1920x800 12:5 progressive]#1 Audio[DCA 48000 Hz 6 channels 1536 kbps idx=1 eng]#2 Audio[AAC 48000 Hz 2 channels idx=2 eng]#3 Subpic[0X0000 eng]#4 Subpic[0X0000 cze]#5 Subpic[0X0000 chi]#6 Subpic[0X0000 chi]#7 Subpic[0X0000 srp]#8 Subpic[0X0000 pol]#9 Subpic[0X0000 slv]#10 Subpic[0X0000 rum]#11 Subpic[0X0000 spa]#12 Subpic[0X0000 fin]#13 Subpic[0X0000 nor]#14 Subpic[0X0000 fre]{IMDBID=tt0990407, TrailerUrl=http://www.imdb.com/video/imdb/vi21600537/, MediaType=Movie, UserRating=63, MediaProviderDataID=tt0990407, MediaTitle=The Green Hornet, MediaProviderID=imdb}] \\NAS\Parity\New Movies\The Green Hornet (2011)\The.Green.Hornet.2011.1080p.BluRay.DTS.x264-DON.mkv, Seg0[Mon 4/11 12:41:11.987-Mon 4/11 14:40:05.257]], TitleNum=0} 2011-05-01 22:37:37,164 INFO [ab]: Returning eventId: RESUMES_IMPORT_192.168.10.64 2011-05-01 22:37:37,164 INFO [af]: No SageAlert handlers registered for fired event: RESUMES_IMPORT_192.168.10.64 2011-05-01 22:37:39,851 INFO [aa]: Event received: PlaybackPaused :: {MediaTime=1302543680203, UIContext=/192.168.10.64:60791, ChapterNum=0, Duration=7133270, MediaFile=MediaFile[id=4534265 A[4534268,4534266,"The Green Hornet",0@0411.12:41,118] mask=V host=SageTV encodedBy= format=MATROSKA 1:58:53 1536 kbps [#0 Video[H.264 23.98 fps 1920x800 12:5 progressive]#1 Audio[DCA 48000 Hz 6 channels 1536 kbps idx=1 eng]#2 Audio[AAC 48000 Hz 2 channels idx=2 eng]#3 Subpic[0X0000 eng]#4 Subpic[0X0000 cze]#5 Subpic[0X0000 chi]#6 Subpic[0X0000 chi]#7 Subpic[0X0000 srp]#8 Subpic[0X0000 pol]#9 Subpic[0X0000 slv]#10 Subpic[0X0000 rum]#11 Subpic[0X0000 spa]#12 Subpic[0X0000 fin]#13 Subpic[0X0000 nor]#14 Subpic[0X0000 fre]{IMDBID=tt0990407, TrailerUrl=http://www.imdb.com/video/imdb/vi21600537/, MediaType=Movie, UserRating=63, MediaProviderDataID=tt0990407, MediaTitle=The Green Hornet, MediaProviderID=imdb}] \\NAS\Parity\New Movies\The Green Hornet (2011)\The.Green.Hornet.2011.1080p.BluRay.DTS.x264-DON.mkv, Seg0[Mon 4/11 12:41:11.987-Mon 4/11 14:40:05.257]], TitleNum=0} 2011-05-01 22:37:39,851 INFO [ab]: Returning eventId: PAUSES_IMPORT_192.168.10.64 2011-05-01 22:37:39,867 INFO [af]: No SageAlert handlers registered for fired event: PAUSES_IMPORT_192.168.10.64 2011-05-01 22:37:44,555 INFO [aa]: Event received: PlaybackStopped :: {MediaTime=1302543680299, UIContext=/192.168.10.64:60791, ChapterNum=0, Duration=7133270, MediaFile=MediaFile[id=4534265 A[4534268,4534266,"The Green Hornet",0@0411.12:41,118] mask=V host=SageTV encodedBy= format=MATROSKA 1:58:53 1536 kbps [#0 Video[H.264 23.98 fps 1920x800 12:5 progressive]#1 Audio[DCA 48000 Hz 6 channels 1536 kbps idx=1 eng]#2 Audio[AAC 48000 Hz 2 channels idx=2 eng]#3 Subpic[0X0000 eng]#4 Subpic[0X0000 cze]#5 Subpic[0X0000 chi]#6 Subpic[0X0000 chi]#7 Subpic[0X0000 srp]#8 Subpic[0X0000 pol]#9 Subpic[0X0000 slv]#10 Subpic[0X0000 rum]#11 Subpic[0X0000 spa]#12 Subpic[0X0000 fin]#13 Subpic[0X0000 nor]#14 Subpic[0X0000 fre]{IMDBID=tt0990407, TrailerUrl=http://www.imdb.com/video/imdb/vi21600537/, MediaType=Movie, UserRating=63, MediaProviderDataID=tt0990407, MediaTitle=The Green Hornet, MediaProviderID=imdb}] \\NAS\Parity\New Movies\The Green Hornet (2011)\The.Green.Hornet.2011.1080p.BluRay.DTS.x264-DON.mkv, Seg0[Mon 4/11 12:41:11.987-Mon 4/11 14:40:05.257]], TitleNum=0} 2011-05-01 22:37:44,555 INFO [ab]: Returning eventId: STOPS_IMPORT_192.168.10.64 2011-05-01 22:37:44,555 INFO [af]: No SageAlert handlers registered for fired event: STOPS_IMPORT_192.168.10.64 |
#237
|
|||
|
|||
It's all working as expected. An mkv is not a BR nor DVD. A ripped BR or DVD is considered an import by SageTV and therefore also by SageAlert, unless, I believe, you rip the entire BR/DVD structure to disk and play it that way. A BR/DVD rip transcoded to mkv will definitely be considered an import video by SageTV.
__________________
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... |
#238
|
|||
|
|||
Quote:
|
#239
|
|||
|
|||
Summer shutdown...
Well, it's that time of the year again where I tend to step away from the keyboard and spend more time doing other things.
There are a couple open issues with SageAlert at the moment and I plan on fixing those up this week. Once those issues are addressed and released, I have no plans on updating SageAlert until the fall. With that said, I will be monitoring the user forums and will address major bugs in a (relatively) timely manner throughout the summer. I'll also continue to monitor and answer any questions, etc. in this thread. If there are any pressing issues you feel should be addressed sooner than later (i.e. the fall) then now is the time to speak up. The next week (or two) is bug fix week. After that window, I have no plans to touch any of the SageAlert code until the fall.
__________________
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... |
#240
|
||||
|
||||
I just installed jetty, the webUI, the mobile webUI, and Sagealert last night on a fresh Sage install. I just spent several hours trying to figure out why I couldn't send any test emails from the SMTP Settings view. I finally got to this very last page in the topic and read that the SMTP test button is broken <sigh>
Anyway, I used to use the previous SageAlerts on V6 and am looking forward to having my alerts back. S |
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 |