Page 1 of 1

Guide updates consistently FAIL

Posted: Wed Feb 17, 2021 1:49 am
by jerswing1
Guide updates repeatedly Fail with Error
"...(date/time) [ERROR] The MXF file imported is 318.46 hours old" - having selected the only MXF file available
- Installed current epg123 version
- Rebuilt WMC Database
- [previously] tried windows Cmd to reset WMC
- Found 7 Backups in "GaRyan2" Folder: 4 from Aug, 2020 epg install & 3 from Feb. 2021 dates, all after MXF file created/modified)
Could use some help with this ...

Re: Guide updates consistently FAIL

Posted: Wed Feb 17, 2021 2:05 am
by garyan2
Are the only errors you are getting for the age of the MXF file? If so, then your scheduled task is probably not set up correctly. If the WMC you are trying to import the mxf file on is the same machine that the mxf file is created on, then your scheduled task needs to include the option to 'Automatically import...' in the configuration GUI, or 'Full Mode' in the client GUI.

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 4:05 pm
by jbwolfe
As of this morning I am also experiencing this as well. My error was with MXF file too old so I deleted that MXF and tried to rebuild and epg123 halts at stage 2 with no output file.
Log of last update:
[2/18/2021 9:49:45 AM] [ INFO] Beginning EPG123 update execution. 2021-02-18 15:49:45Z
[2/18/2021 9:49:45 AM] [ INFO] DaysToDownload: 14 , TheTVDBNumbers : True , PrefixEpisodeTitle: False , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[2/18/2021 9:49:45 AM] [ INFO] Status request successful. account expires: 2021-12-24T19:04:05Z , lineups: 2/4 , lastDataUpdate: 2021-02-18T03:15:45Z
[2/18/2021 9:49:45 AM] [ INFO] system status: Online , message: No known issues.
[2/18/2021 9:49:45 AM] [ INFO] Successfully retrieved TMDb configurations.
[2/18/2021 9:49:45 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[2/18/2021 9:49:45 AM] Entering buildLineupServices() for 2 lineups.
[2/18/2021 9:49:45 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-IL68494-X.
[2/18/2021 9:49:48 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-60302.
[2/18/2021 9:49:48 AM] Exiting buildLineupServices(). SUCCESS.
[2/18/2021 9:49:48 AM] Entering getAllScheduleEntryMd5s() for 14 days on 618 stations.
[2/18/2021 9:49:52 AM] [ INFO] Successfully retrieved Md5s for 357 station's daily schedules. (0:00:00:04.0710057 / 532.295 KB)
[2/18/2021 9:49:52 AM] [ INFO] epg123 update execution time was 00:00:07.1110099.

Has been working great and while I have attempted troubleshooting today, error occurred after having done nothing- just set it and forget it. Then out of the blue...no output.
Log of scheduled task that produced error:
===============================================================================
[2/17/2021 2:04:56 AM] Beginning epg123 client execution. version 1.6.2.3
[2/17/2021 2:04:56 AM] ===============================================================================
[2/17/2021 2:04:56 AM] [ INFO] Beginning epg123 client execution. 2021-02-17 08:04:56Z
[2/17/2021 2:04:56 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False , NoGC: False , NoVerify: False , Verbose: False
[2/17/2021 2:04:58 AM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[2/17/2021 2:08:44 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[2/17/2021 2:08:44 AM] Exiting ImportMxfFile(). SUCCESS.
[2/17/2021 2:08:44 AM] Entering VerifyLoad()
[2/17/2021 2:08:51 AM] [ INFO] Service CSPAN has a time discontinuity. Skipping verification of this station's schedule entries.
[2/17/2021 2:09:25 AM] [ INFO] Checked 194371 entries and corrected 67 of them.
[2/17/2021 2:09:25 AM] Exiting VerifyLoad()
[2/17/2021 2:09:31 AM] [ INFO] Completed the automatch of lineup stations to tuner channels.
[2/17/2021 2:09:34 AM] [ INFO] Completed lineup refresh.
[2/17/2021 2:09:34 AM] Entering RunWmcIndexTask(PvrScheduleTask)
[2/17/2021 2:09:34 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[2/17/2021 2:09:34 AM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[2/17/2021 2:09:34 AM] Exiting RunWmcIndexTask(PvrScheduleTask). SUCCESS.
[2/17/2021 2:09:34 AM] Entering RunWmcIndexTask(ReindexSearchRoot)
[2/17/2021 2:09:34 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[2/17/2021 2:09:34 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[2/17/2021 2:09:34 AM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[2/17/2021 2:09:36 AM] [ INFO] MXF file was created on 2/17/2021 2:00:00 AM
[2/17/2021 2:09:36 AM] [WARNG] The imported MXF file contained a WARNING in its status field.
[2/17/2021 2:09:37 AM] [ INFO] Completed EPG123 client execution.
[2/17/2021 2:09:37 AM] [ INFO] EPG123 client execution time was 00:04:41.1930833.
[2/18/2021 2:00:00 AM] ===============================================================================
[2/18/2021 2:00:00 AM] Beginning epg123 update execution. version 1.6.2.3
[2/18/2021 2:00:00 AM] ===============================================================================
[2/18/2021 2:00:00 AM] [ INFO] Beginning EPG123 update execution. 2021-02-18 08:00:00Z
[2/18/2021 2:00:00 AM] [ INFO] DaysToDownload: 14 , TheTVDBNumbers : True , PrefixEpisodeTitle: False , PrefixEpisodeDescription : False , AppendEpisodeDesc: False , OADOverride : True , TMDbCoverArt: True , IncludeSDLogos : True , AutoAddNew: True , CreateXmltv: False , ModernMediaUiPlusSupport: False
[2/18/2021 2:00:01 AM] [ INFO] Token request successful. serverID: 20141201.web.1
[2/18/2021 2:00:01 AM] [ INFO] Status request successful. account expires: 2021-12-24T19:04:05Z , lineups: 2/4 , lastDataUpdate: 2021-02-18T03:15:45Z
[2/18/2021 2:00:01 AM] [ INFO] system status: Online , message: No known issues.
[2/18/2021 2:00:03 AM] [ INFO] Successfully retrieved TMDb configurations.
[2/18/2021 2:00:03 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[2/18/2021 2:00:03 AM] Entering buildLineupServices() for 2 lineups.
[2/18/2021 2:00:03 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-IL68494-X.
[2/18/2021 2:00:06 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-OTA-60302.
[2/18/2021 2:00:06 AM] Exiting buildLineupServices(). SUCCESS.
[2/18/2021 2:00:06 AM] Entering getAllScheduleEntryMd5s() for 14 days on 605 stations.
[2/18/2021 2:01:31 AM] [ INFO] Successfully retrieved Md5s for 357 station's daily schedules. (0:00:01:24.1514455 / 532.287 KB)
[2/18/2021 2:01:31 AM] [ERROR] Unhandled exception caught from epg123.exe. message: An item with the same key has already been added.
[2/18/2021 2:01:40 AM] ===============================================================================
[2/18/2021 2:01:40 AM] Beginning epg123 client execution. version 1.6.2.3
[2/18/2021 2:01:40 AM] ===============================================================================
[2/18/2021 2:01:40 AM] [ INFO] Beginning epg123 client execution. 2021-02-18 08:01:40Z
[2/18/2021 2:01:40 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: False , NoGC: False , NoVerify: False , Verbose: False
[2/18/2021 2:01:41 AM] Entering ImportMxfFile() for file "c:\programdata\garyan2\epg123\output\epg123.mxf".
[2/18/2021 2:04:47 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[2/18/2021 2:04:47 AM] Exiting ImportMxfFile(). SUCCESS.
[2/18/2021 2:04:47 AM] Entering VerifyLoad()
[2/18/2021 2:04:57 AM] [ INFO] Service CSPAN has a time discontinuity. Skipping verification of this station's schedule entries.
[2/18/2021 2:05:24 AM] [ INFO] Checked 194371 entries and corrected 0 of them.
[2/18/2021 2:05:24 AM] Exiting VerifyLoad()
[2/18/2021 2:05:30 AM] [ INFO] Completed the automatch of lineup stations to tuner channels.
[2/18/2021 2:05:31 AM] [ INFO] Completed lineup refresh.
[2/18/2021 2:05:31 AM] Entering RunWmcIndexTask(PvrScheduleTask)
[2/18/2021 2:05:33 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\PvrScheduleTask".
[2/18/2021 2:05:33 AM] [ INFO] Successfully started the PvrScheduleTask task. Exit code: 0
[2/18/2021 2:05:33 AM] Exiting RunWmcIndexTask(PvrScheduleTask). SUCCESS.
[2/18/2021 2:05:33 AM] Entering RunWmcIndexTask(ReindexSearchRoot)
[2/18/2021 2:05:33 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[2/18/2021 2:05:33 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[2/18/2021 2:05:33 AM] Exiting RunWmcIndexTask(ReindexSearchRoot). SUCCESS.
[2/18/2021 2:05:35 AM] [ INFO] MXF file was created on 2/17/2021 2:00:00 AM
[2/18/2021 2:05:35 AM] [ERROR] The MXF file imported is 24.09 hours old.
[2/18/2021 2:05:36 AM] [ INFO] Completed EPG123 client execution.
[2/18/2021 2:05:36 AM] [ INFO] EPG123 client execution time was 00:03:56.0776017.

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 4:13 pm
by garyan2
For today, the problem is with the Tennis Channel having duplicate Md5 hash values for 2/23 and 2/24. This is causing epg123 to fail to complete a guide update. I will put protections for this in the code for the next release, but if you remove TENNIS from your download, it should complete. Or you can wait for SD to update their servers (twice a day) and the problem will clear by itself.

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 4:24 pm
by jbwolfe
I should add that I have 2 WMC PCs that use epg123 and both are exhibiting the same error but were previously working fine. Could problem be with Schedules Direct?

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 4:58 pm
by garyan2
New version release to handle duplicate Md5 schedule entries downloaded from Schedules Direct plus a couple other things.

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 9:17 pm
by Space
How do you handle duplicate Md5 hashes? Keep the first and discard all subsequent duplicates, or discard ALL that have the same hash?

I would think discarding them all is the way to go, since you have no idea which one is correct (if any).

Re: Guide updates consistently FAIL

Posted: Thu Feb 18, 2021 10:04 pm
by garyan2
Space wrote: Thu Feb 18, 2021 9:17 pm How do you handle duplicate Md5 hashes? Keep the first and discard all subsequent duplicates, or discard ALL that have the same hash?

I would think discarding them all is the way to go, since you have no idea which one is correct (if any).
I discard all of them. One may be right, or all may be wrong.

Re: Guide updates consistently FAIL

Posted: Fri Feb 19, 2021 12:39 am
by Gripweed
garyan2 wrote: Thu Feb 18, 2021 4:13 pm For today, the problem is with the Tennis Channel having duplicate Md5 hash values for 2/23 and 2/24. This is causing epg123 to fail to complete a guide update. I will put protections for this in the code for the next release, but if you remove TENNIS from your download, it should complete. Or you can wait for SD to update their servers (twice a day) and the problem will clear by itself.
Just for the record, I'm still using version 1.6.1.3. In epg123 Configuration all three of my Tennis channels (2 HD, 1 SD) are turned off. I double checked the Guide and they are not there. Yet, I still got the Md5 hash error which makes me believe that I'm still getting the scheduling information for Tennis. I went over to the Schedules Direct website and only the SD Tennis channel (id: 33395) is disabled. The HD Tennis channels (id: 60316) are enabled. I thought epg123 Configuration controlled what is selected on Schedules Direct. Now that I look at it a lot of channel's enablement don't match between Configuration and SD website.

Re: Guide updates consistently FAIL

Posted: Fri Feb 19, 2021 1:02 am
by garyan2
Gripweed wrote: Fri Feb 19, 2021 12:39 am
garyan2 wrote: Thu Feb 18, 2021 4:13 pm For today, the problem is with the Tennis Channel having duplicate Md5 hash values for 2/23 and 2/24. This is causing epg123 to fail to complete a guide update. I will put protections for this in the code for the next release, but if you remove TENNIS from your download, it should complete. Or you can wait for SD to update their servers (twice a day) and the problem will clear by itself.
Just for the record, I'm still using version 1.6.1.3. In epg123 Configuration all three of my Tennis channels (2 HD, 1 SD) are turned off. I double checked the Guide and they are not there. Yet, I still got the Md5 hash error which makes me believe that I'm still getting the scheduling information for Tennis. I went over to the Schedules Direct website and only the SD Tennis channel (id: 33395) is disabled. The HD Tennis channels (id: 60316) are enabled. I thought epg123 Configuration controlled what is selected on Schedules Direct. Now that I look at it a lot of channel's enablement don't match between Configuration and SD website.
No, the website is only for their DD (xml) server. EPG123 uses the JSON server. Any changes you make on the website are useless for epg123. Apparently there are some other channels having the same problem (PAC12 channels that I've seen on another thread).

Re: Guide updates consistently FAIL

Posted: Fri Feb 19, 2021 6:33 am
by Space
You need to uncheck the channel in the EPG123 GUI (not the EPG123 client GUI) in order for the guide data to not be downloaded.

If you uncheck it in the client GUI it just disables the channel in WMC, but the guide data is still downloaded and loaded in to WMC.

Re: Guide updates consistently FAIL

Posted: Fri Feb 19, 2021 8:18 am
by Gripweed
I wrote EPG123 Configuration. That's the name on the Title Bar. I never mentioned the word Client. I know what it does.
My confusion was that I thought what was enabled/disabled in the EPG123 Configuration also was changed on the channel list on the Schedules Direct website.