|
SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Is there a log where we can monitor EPG updates and errors?
I'm looking for a way to find missing EPG data instead of finding it when a show doesn't record like I do now. Just seeing the note about code changes made today to the EPG service I started thinking about this issue again. How do I monitor it. If there is a log I can send it to Splunk and configure a dashboard to keep track of it. Or write a script looking for keywords and send a text etc.
Ideas? It would be nice if it just showed like other system messages on the top of the screen. Thanks, Bill
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
#2
|
||||
|
||||
EPG events are logged in the sagetv debug log sagetv_0.txt, along with a ton of other things.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#3
|
||||
|
||||
Lots of possibilities. See my post
http://forums.sagetv.com/forums/show...0&postcount=41 as a starting place to build from. I'm using UNIX utils inside Windows 7. Once you have the live tail results working you can pipe them into a grep search for the specific things you're looking for. You can pipe and append all of that into another file which you can monitor the same way creating a dashboard of sorts. With these tools, only your imagination is the limit.
__________________
Mark ____________________ Server: Scratch built server, 16GB RAM, Nvida GeForce 8600 GTS, 6 HD Homeruns, 32 TB Storage, Windoz 10 64 bit, Sage 64 bit 9.2.1, Sage HD-100 & 200 Extenders |
#4
|
||||
|
||||
If you have the Web Interface, you can do EPG Search for no data
That will show. If you have SJQ, I have the following which runs to check: Code:
def CHECK_FAVS = false def CHECK_CHANS = true def POST_SYS_MSG = true // If false, just dump the output to stdout def POST_INFO_MSG = true // If true, post Info msg so you know the script ran. POST_SYS_MSG must be true for this to have any effect def DaysToCheck = 7 def now = System.currentTimeMillis() def output = new StringBuilder() if(CHECK_FAVS) FavoriteAPI.GetFavorites().each { if(Database.FilterByRange(FavoriteAPI.GetFavoriteAirings(it), 'GetAiringStartTime', now, Long.MAX_VALUE, true).size() == 0) { if(!output.length()) output.append('The following favourites have no upcoming airings:\n\n') output.append("${FavoriteAPI.GetFavoriteDescription(it)}\n") } } if(CHECK_CHANS) { def preambleWritten = false def chans = new HashSet<String>() Database.SearchSelectedExactFields('No Data', true, true, false, false, false, false, false, false, false, false, 'T').each { def start = AiringAPI.GetAiringStartTime(it) if(start > now && start <= now + (86400000L * DaysToCheck) ) { def name = AiringAPI.GetAiringChannelName(it) def ChannelNumber = AiringAPI.GetAiringChannelNumber(it) if(chans.add(name)) { if(!preambleWritten) { output.append("\nThe following channels are missing data within the next $DaysToCheck Days:\n") preambleWritten = true } output.append("$ChannelNumber - $name\n") } } } } if(output.length() && !POST_SYS_MSG) { println output } else { if(output.length()) { SystemMessageAPI.PostSystemMessage(1204, 3, output.toString(), null) } else { if ( POST_INFO_MSG ) { output.append("\nNo channels are missing data within the next $DaysToCheck Days:\n") SystemMessageAPI.PostSystemMessage(1204, 1, output.toString(), null) } } } |
#5
|
||||
|
||||
Quote:
__________________
Home DVR: SageTV v9.2.6(64) i7-6700 3.4ghz, 8GB RAM, Win10 Pro, 1@ SSD +1@6TB WD Blue, 1 Quad HDHR, ( OTA Winegard HD8200U, CM4221HD), 1@ STP-HD200, 1@ Nvidia Shield , 1 @ Nvidia Shield new round version, 70" & 55" Sony's RV DVR: 2@SageTV v9.2.6, NUC8i5BEK 16GB, SS980Pro NVMe, 5TB Passport, 1@olderNUC, 2 Dual HDHR, , Winegard BatWing, 40", 32", 28" Sony's, Max Transit |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
P2 Updates | sflamm | Phoenix | 33 | 10-07-2013 02:33 PM |
How Do I Correct Genre Errors and Fanart Location Errors | ThePaladinTech | Batch Metadata Tools | 3 | 05-25-2010 12:26 PM |
12. Added support for using the Placeshifter on any monitor in a multiple monitor sys | chrysek | SageTV Placeshifter | 5 | 06-12-2006 09:38 AM |
So what updates do I need? | ry12a | General Discussion | 7 | 01-22-2004 08:51 AM |