Verifying EPG123 Guide Update runs

An evolving, supported alternative to Rovi
Forum rules
★ Download the latest EPG123 here: https://garyan2.github.io/ <> Setup guide here: https://garyan2.github.io/install.html
Post Reply
Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

Verifying EPG123 Guide Update runs

#1

Post by Sammy2 » Mon Mar 21, 2016 6:03 pm

Simple question..

How to verify that the guide update has run to update the guide data?

Somewhere in the events log?

Thanks.

glorp

Posts: 369
Joined: Sun Sep 23, 2012 2:54 pm
Location:

HTPC Specs: Show details

#2

Post by glorp » Mon Mar 21, 2016 6:04 pm

there will be a trace.log file in EPG123's default directory.

Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

#3

Post by Sammy2 » Mon Mar 21, 2016 6:22 pm

glorp wrote:there will be a trace.log file in EPG123's default directory.
Thanks.

3rob3

Posts: 548
Joined: Sun Aug 28, 2011 8:48 pm
Location:

HTPC Specs: Show details

#4

Post by 3rob3 » Mon Mar 21, 2016 7:28 pm

You could also check the time/data of the MXF file in the EPG123 directory.

Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

#5

Post by Sammy2 » Mon Mar 21, 2016 7:34 pm

Seeing a few errors in the logs but it appears that data was pulled anyhow.
3/21/2016 12:00:00 AM] ===============================================================================
[3/21/2016 12:00:00 AM] Beginning epg123 update execution.
[3/21/2016 12:00:00 AM] ===============================================================================
[3/21/2016 12:00:01 AM] [ INFO] epg123 version 0.7.6 , DaysToDownload: 30 , PrefixEpisodeTitle: True , AutoImport: True , TMDbCoverArt: True , LogoOverride: True
[3/21/2016 12:00:03 AM] [ INFO] Successfully retrieved TMDb configurations.
[3/21/2016 12:00:04 AM] [ INFO] Token request successful. serverID: 20141201.web.2
[3/21/2016 12:00:04 AM] [ERROR] epg123 is not recognized as an approved app from Schedules Direct. code: 1005 , message: Did not recognize the submitted client. , datetime: 2016-03-21T07:00:03Z
[3/21/2016 12:00:04 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[3/21/2016 12:00:04 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-CA04768-X.
[3/21/2016 12:00:05 AM] Entering getAllScheduleEntryMd5s() for 30 days on 648 stations.
[3/21/2016 12:02:05 AM] [ERROR] SD API WebException Thrown. Message: The operation has timed out , Status: Timeout
[3/21/2016 12:02:05 AM] [ INFO] Changing timeout to 240 seconds and trying again.
[3/21/2016 12:06:05 AM] [ERROR] SD API WebException Thrown. Message: The operation has timed out , Status: Timeout
[3/21/2016 12:06:05 AM] [ INFO] Changing timeout to 360 seconds and trying again.
[3/21/2016 12:10:08 AM] [ INFO] Successfully retrieved Md5s for 648 station's daily schedules.
[3/21/2016 12:10:56 AM] [ INFO] Successfully retrieved 648 station's daily schedules.
[3/21/2016 12:12:11 AM] Entering buildAllProgramEntries() for 50583 programs.
[3/21/2016 12:14:02 AM] [ INFO] Successfully retrieved 1485 programs metadata.
[3/21/2016 12:14:07 AM] Exiting buildAllProgramEntries(). SUCCESS.
[3/21/2016 12:14:07 AM] Entering getAllMoviePosters() for 6096 movies.
[3/21/2016 12:14:08 AM] [ INFO] Successfully retrieved artwork info for 128 programs.
[3/21/2016 12:14:09 AM] [ INFO] TMDb catalog search for "A Student's Obsession" from 2015 found 1 results.
[3/21/2016 12:14:09 AM] [ INFO] TMDb catalog search for "Stalked by My Neighbor" from 2015 found 1 results.
[3/21/2016 12:14:09 AM] [ INFO] TMDb catalog search for "Surprised by Love" from 2015 found 1 results.
[3/21/2016 12:14:09 AM] [ INFO] TMDb catalog search for "Love on the Sidelines" from 2016 found 1 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Second Honeymoon" from 2001 found 0 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Second Honeymoon" from 2002 found 0 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Second Honeymoon" from 2000 found 0 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "This Magic Moment" from 2013 found 1 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Lucky Losers" from 1950 found 1 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2016 found 0 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2017 found 0 results.
[3/21/2016 12:14:10 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2015 found 0 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "The Leisure Class" from 2015 found 1 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "Halloween III" from 1982 found 1 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "Sherlock Holmes and the Pearl of Death" from 1944 found 1 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "We Are the Indians" from 2005 found 0 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "We Are the Indians" from 2006 found 0 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "We Are the Indians" from 2004 found 0 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "Dos Hijos Desobedientes" from 1960 found 1 results.
[3/21/2016 12:14:11 AM] [ INFO] TMDb catalog search for "Las Recién Casadas" from 1960 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "Las Recién Casadas" from 1961 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "Las Recién Casadas" from 1959 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "De Cocula Es el Mariachi" from 1977 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "De Cocula Es el Mariachi" from 1978 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "De Cocula Es el Mariachi" from 1976 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "La Miel se fue de la Luna" from 1952 found 1 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "Variedades de Medianoche" from 1960 found 0 results.
[3/21/2016 12:14:12 AM] [ INFO] TMDb catalog search for "Variedades de Medianoche" from 1961 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Variedades de Medianoche" from 1959 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Housefull" from 2010 found 1 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2016 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2017 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Nothing Left Unsaid: Gloria Vanderbilt & Anderson Cooper" from 2015 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "The Leisure Class" from 2015 found 1 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "I Spit on Your Grave III" from 2015 found 1 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Duelo de Pistoleros" from 2002 found 0 results.
[3/21/2016 12:14:13 AM] [ INFO] TMDb catalog search for "Duelo de Pistoleros" from 2003 found 0 results.
[3/21/2016 12:14:14 AM] [ INFO] TMDb catalog search for "Duelo de Pistoleros" from 2001 found 0 results.
[3/21/2016 12:14:14 AM] [ INFO] TMDb catalog search for "Infierno En La Cumbre" from 2012 found 0 results.
[3/21/2016 12:14:14 AM] [ INFO] TMDb catalog search for "Infierno En La Cumbre" from 2013 found 0 results.
[3/21/2016 12:14:14 AM] [ INFO] TMDb API server requested a delay of 6 seconds before next request.
[3/21/2016 12:14:20 AM] [ INFO] TMDb catalog search for "Infierno En La Cumbre" from 2011 found 0 results.
[3/21/2016 12:14:20 AM] [ INFO] TMDb catalog search for "A los Cuatro Vientos" from 1955 found 1 results.
[3/21/2016 12:14:20 AM] [ INFO] TMDb catalog search for "La Magia de los Parchís" from 1982 found 1 results.
[3/21/2016 12:14:20 AM] [ INFO] TMDb catalog search for "Las Luchadoras Contra El Médico Asesino" from 1963 found 1 results.
[3/21/2016 12:14:20 AM] [ INFO] TMDb catalog search for "Los Canallas" from 2009 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Los Canallas" from 2010 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Los Canallas" from 2008 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Secreto Mortal" from 2008 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Secreto Mortal" from 2009 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Secreto Mortal" from 2007 found 1 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Borsellino" from 2012 found 1 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Lucho y Ramos" from 2010 found 1 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Dios te Bendiga Hijo Mío" from 2015 found 0 results.
[3/21/2016 12:14:21 AM] [ INFO] TMDb catalog search for "Dios te Bendiga Hijo Mío" from 2016 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "Dios te Bendiga Hijo Mío" from 2014 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "La Suegra de Todos" from 2014 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "La Suegra de Todos" from 2015 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "La Suegra de Todos" from 2013 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "El Dragón de Hielo" from 2012 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "El Dragón de Hielo" from 2013 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "El Dragón de Hielo" from 2011 found 0 results.
[3/21/2016 12:14:22 AM] [ INFO] TMDb catalog search for "Mandie y el Tesoro Cherokee" from 2010 found 0 results.
[3/21/2016 12:14:23 AM] [ INFO] TMDb catalog search for "Mandie y el Tesoro Cherokee" from 2011 found 0 results.
[3/21/2016 12:14:23 AM] [ INFO] TMDb catalog search for "Mandie y el Tesoro Cherokee" from 2009 found 0 results.
[3/21/2016 12:14:23 AM] [ INFO] TMDb catalog search for "SOS: Summer of Suspense" from 2008 found 1 results.
[3/21/2016 12:14:23 AM] [ INFO] TMDb catalog search for "Blind Date" from 2013 found 1 results.
[3/21/2016 12:14:23 AM] Exiting getAllMoviePosters(). SUCCESS.
[3/21/2016 12:14:23 AM] Entering getAllSportsImages() for 987 sports showings.
[3/21/2016 12:14:23 AM] [ INFO] Successfully retrieved artwork info for 60 programs.
[3/21/2016 12:14:24 AM] Exiting getAllSportsImages(). SUCCESS.
[3/21/2016 12:14:24 AM] Entering getAllSeriesImages() for 9996 series.
[3/21/2016 12:14:26 AM] [ INFO] Successfully retrieved artwork info for 497 programs.
[3/21/2016 12:14:28 AM] Exiting getAllSeriesImages(). SUCCESS.
[3/21/2016 12:14:28 AM] Entering writeImageArchive().
[3/21/2016 12:14:28 AM] Exiting writeImageArchive(). SUCCESS.
[3/21/2016 12:14:28 AM] Entering writeMxf().
[3/21/2016 12:14:29 AM] [STATS] Generated .mxf file contains 648 services, 9996 series, 50583 programs, and 65455 people with 14663 image links.
[3/21/2016 12:17:02 AM] [ INFO] Successfully imported .mxf file into Media Center. Exit code: 0
[3/21/2016 12:17:02 AM] [ERROR] Error using schtasks.exe to start ReindexSearchRoot task. Exit code: 1
[3/21/2016 12:17:08 AM] [ INFO] 4031 files deleted from the cache directory during cleanup.
[3/21/2016 12:17:08 AM] [STATS] epg123 execution time was 00:17:07.1287484.

Space

Posts: 2838
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#6

Post by Space » Mon Mar 21, 2016 8:30 pm

What is the reason for starting with a low timeout for getAllScheduleEntryMd5s and then increasing it with each retry?

Why not just use the same long timeout for each try? Seems to me that if it needs more time to do what it needs to do, then having the longer timeout from the start will result in it succeeding the first time instead of sending two worthless calls to the server first (that you are just going to cancel due to timeout).

The only disadvantage I can think of is that if it times out even with the longest timeout, it will have taken more server resources (than if it failed after using lower timeouts), and it will overall take more time to abort with an error. But I think having most queries succeed on the first try far exceeds those minor disadvantages.

Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

#7

Post by Sammy2 » Tue Mar 22, 2016 12:15 am

Space wrote:What is the reason for starting with a low timeout for getAllScheduleEntryMd5s and then increasing it with each retry?

Why not just use the same long timeout for each try? Seems to me that if it needs more time to do what it needs to do, then having the longer timeout from the start will result in it succeeding the first time instead of sending two worthless calls to the server first (that you are just going to cancel due to timeout).

The only disadvantage I can think of is that if it times out even with the longest timeout, it will have taken more server resources (than if it failed after using lower timeouts), and it will overall take more time to abort with an error. But I think having most queries succeed on the first try far exceeds those minor disadvantages.
I don't know..

rkulagow

Posts: 246
Joined: Sun Jul 19, 2015 1:04 am
Location: Schedules Direct

HTPC Specs: Show details

#8

Post by rkulagow » Tue Mar 22, 2016 12:23 am

Space wrote:What is the reason for starting with a low timeout for getAllScheduleEntryMd5s and then increasing it with each retry?
Depending on server load it may succeed in the first try, or the second.

Space

Posts: 2838
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#9

Post by Space » Tue Mar 22, 2016 1:39 am

rkulagow wrote:
Space wrote:What is the reason for starting with a low timeout for getAllScheduleEntryMd5s and then increasing it with each retry?
Depending on server load it may succeed in the first try, or the second.
What is the advantage of using a smaller timeout value for the first call and a longer value for the next, etc.?

If you use the longest timeout value with the first call, then you will only have to make a single call and it should succeed the first time, every time (unless there are some other errors, in which case the call will fail before the timeout expires).

The only reason I can see for using small timeouts at first is if you have a chronic issue of the server hanging (and never returning) on calls due to some random bug. If you normally expect the results to be returned within a short time, but it doesn't, then you assume the bug is in effect and you cancel the call and try again, hoping not to trigger the big this time.

Post Reply