Updating daily, but not seen in guide

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
User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#21

Post by garyan2 » Sat Sep 23, 2017 2:32 pm

cobraman44 wrote:Thought I would add my experience. It was not updating. Showed success in task scheduler. Found that it was because I had an instance of EPCclient left open. Once I closed the program which was minimized on the desktop it ran successfully. The task was running as the logged on user.
What version are you running? I use mutex's in the code such that the GUI can be open and you can still import. You just can't have 2 GUIs open or do 2 imports at the same time. I'll have to try and recreate this on a VM. This is definitely not intended behavior.

Thanks for letting us know! :thumbup:
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

cobraman44

Posts: 6
Joined: Sat Sep 16, 2017 11:29 am
Location:

HTPC Specs: Show details

#22

Post by cobraman44 » Mon Sep 25, 2017 11:30 am

garyan2 wrote:
cobraman44 wrote:Thought I would add my experience. It was not updating. Showed success in task scheduler. Found that it was because I had an instance of EPCclient left open. Once I closed the program which was minimized on the desktop it ran successfully. The task was running as the logged on user.
What version are you running? I use mutex's in the code such that the GUI can be open and you can still import. You just can't have 2 GUIs open or do 2 imports at the same time. I'll have to try and recreate this on a VM. This is definitely not intended behavior.

Thanks for letting us know! :thumbup:
Ver 1.1.15
I was able to reproduce by creating a batch file that includes the update commands from the scheduled task. Open the GUI. Open a DOS prompt and run the batch file.
I get something like 'there is already an instance running' error. The file is not updated and then it imports the old file.
By the way AWESOME job on this

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#23

Post by garyan2 » Mon Sep 25, 2017 9:11 pm

cobraman44 wrote:Ver 1.1.15
I was able to reproduce by creating a batch file that includes the update commands from the scheduled task. Open the GUI. Open a DOS prompt and run the batch file.
I get something like 'there is already an instance running' error. The file is not updated and then it imports the old file.
By the way AWESOME job on this
Ah, I thought we were talking about the client GUI. Due to there only being allowed a single token by the SD API, I think there is no easy way around completing an update while the configuration GUI is open. An open configuration GUI will cause any update task to abort. I'll take a deeper look, but I believe this was the best I could do.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

jhm

Posts: 3
Joined: Wed Dec 13, 2017 1:32 pm
Location:

HTPC Specs: Show details

#24

Post by jhm » Wed Dec 13, 2017 2:13 pm

I am running EPG123 v1.1.17. I am not seeing any errors in trace.log. EPG is configured to run daily and collect listings for 14 days. If I run WMC and enter the guide I can go forward 13 days to 15:30. A week later, I enter the guide and can only go forward an additional 3 hours. I exit WMC and then immediately run WMC again. At that point the guide is once again available going forward 13 days to 15:30. I infer EPG is running correctly but WMC is delayed processing the update. Any explanation or insight appreciated. Here is the log from the morning before this issue occurred:

[12/13/2017 4:15:00 AM] ===============================================================================
[12/13/2017 4:15:00 AM] Beginning epg123 update execution.
[12/13/2017 4:15:00 AM] ===============================================================================
[12/13/2017 4:15:00 AM] [ INFO] Beginning EPG123 update execution. 2017-12-13 12:15:00Z
[12/13/2017 4:15:00 AM] [ INFO] DaysToDownload: 14 , PrefixEpisodeTitle: False , AppendEpisodeDesc: False , TMDbCoverArt: True , LogoOverride: True , AutoAddNew: True
[12/13/2017 4:15:01 AM] [ INFO] Token request successful. serverID: 20141201.web.3
[12/13/2017 4:15:01 AM] [ INFO] Status request successful. account expires: 2018-07-12T15:57:09Z , lineups: 1/4 , lastDataUpdate: 2017-12-13T03:54:49Z
[12/13/2017 4:15:01 AM] [ INFO] system status: Online , message: No known issues.
[12/13/2017 4:15:01 AM] [ INFO] epg123 is up to date. version: 1.1.17
[12/13/2017 4:15:01 AM] [ INFO] Successfully retrieved TMDb configurations.
[12/13/2017 4:15:02 AM] [ INFO] Successfully requested listing of client lineups from Schedules Direct.
[12/13/2017 4:15:02 AM] Entering buildLineupServices() for 1 lineups.
[12/13/2017 4:15:02 AM] [ INFO] Successfully retrieved the station mapping for lineup USA-CA04509-X.
[12/13/2017 4:15:02 AM] Exiting buildLineupServices(). SUCCESS.
[12/13/2017 4:15:02 AM] Entering getAllScheduleEntryMd5s() for 14 days on 12 stations.
[12/13/2017 4:15:03 AM] [ INFO] Successfully retrieved Md5s for 12 station's daily schedules.
[12/13/2017 4:15:03 AM] [ INFO] Found 71 cached daily schedules.
[12/13/2017 4:15:03 AM] [ INFO] Successfully retrieved 12 station's daily schedules.
[12/13/2017 4:15:03 AM] [ INFO] Downloaded 97 daily schedules.
[12/13/2017 4:15:04 AM] [ INFO] Processed 168 daily schedules for 12 stations.
[12/13/2017 4:15:04 AM] Exiting getAllScheduleEntryMd5s(). SUCCESS.
[12/13/2017 4:15:04 AM] Entering buildAllProgramEntries() for 2946 programs.
[12/13/2017 4:15:04 AM] [ INFO] Found 2668 cached program descriptions.
[12/13/2017 4:15:05 AM] [ INFO] Successfully retrieved 278 program descriptions.
[12/13/2017 4:15:05 AM] [ INFO] Processed 2946 program descriptions.
[12/13/2017 4:15:05 AM] Exiting buildAllProgramEntries(). SUCCESS.
[12/13/2017 4:15:05 AM] Entering buildAllGenericSeriesInfoDescriptions() for 655 series.
[12/13/2017 4:15:05 AM] [ INFO] Found 644 cached series descriptions.
[12/13/2017 4:15:05 AM] [ INFO] Successfully retrieved 11 generic program descriptions.
[12/13/2017 4:15:05 AM] [ INFO] Processed 655 series descriptions.
[12/13/2017 4:15:05 AM] Exiting buildAllGenericSeriesInfoDescriptions(). SUCCESS.
[12/13/2017 4:15:05 AM] Entering getAllMoviePosters() for 98 movies.
[12/13/2017 4:15:05 AM] [ INFO] Found 89 cached movie poster links.
[12/13/2017 4:15:05 AM] [ INFO] Successfully retrieved artwork info for 9 programs.
[12/13/2017 4:15:05 AM] [ INFO] Processed 98 movie poster links.
[12/13/2017 4:15:05 AM] Exiting getAllMoviePosters(). SUCCESS.
[12/13/2017 4:15:05 AM] Entering getAllSeriesImages() for 655 series.
[12/13/2017 4:15:05 AM] [ INFO] Found 634 cached series image links.
[12/13/2017 4:15:06 AM] [ INFO] Successfully retrieved artwork info for 21 programs.
[12/13/2017 4:15:06 AM] [ INFO] Processed 655 series image links.
[12/13/2017 4:15:06 AM] Exiting getAllSeriesImages(). SUCCESS.
[12/13/2017 4:15:06 AM] [ INFO] Completed compiling keywords and keyword groups.
[12/13/2017 4:15:06 AM] Entering writeMxf().
[12/13/2017 4:15:06 AM] [ INFO] Completed save of mxf file.
[12/13/2017 4:15:06 AM] Exiting writeMxf(). SUCCESS.
[12/13/2017 4:15:06 AM] Entering writeImageArchive().
[12/13/2017 4:15:06 AM] [ INFO] Completed save of image archive file.
[12/13/2017 4:15:06 AM] Exiting writeImageArchive(). SUCCESS.
[12/13/2017 4:15:06 AM] [ INFO] 427 files deleted from the cache directory during cleanup.
[12/13/2017 4:15:06 AM] [ INFO] Generated .mxf file contains 12 services, 655 series, 2946 programs, and 6598 people with 762 image links.
[12/13/2017 4:15:06 AM] [ INFO] Completed EPG123 update execution. SUCCESS.
[12/13/2017 4:15:06 AM] [ INFO] epg123 update execution time was 00:00:06.2088109.
[12/13/2017 4:15:06 AM] ===============================================================================
[12/13/2017 4:15:06 AM] Beginning epg123 client execution.
[12/13/2017 4:15:06 AM] ===============================================================================
[12/13/2017 4:15:06 AM] [ INFO] Beginning epg123 client execution. 2017-12-13 12:15:06Z
[12/13/2017 4:15:06 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False
[12/13/2017 4:15:06 AM] [ INFO] epg123 client version: 1.1.17 for Win7
[12/13/2017 4:15:06 AM] Entering importMxfFile() for file "E:\pkg\win32\epg123\epg123.mxf"
[12/13/2017 4:15:11 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[12/13/2017 4:15:11 AM] Exiting importMxfFile(). SUCCESS.
[12/13/2017 4:15:14 AM] [ INFO] Completed the automatch of lineup stations to tuner channels.
[12/13/2017 4:15:14 AM] Entering reindexDatabase()
[12/13/2017 4:15:14 AM] [ INFO] SUCCESS: Attempted to run the scheduled task "Microsoft\Windows\Media Center\ReindexSearchRoot".
[12/13/2017 4:15:14 AM] [ INFO] Successfully started the ReindexSearchRoot task. Exit code: 0
[12/13/2017 4:15:14 AM] Exiting reindexDatabase(). SUCCESS.
[12/13/2017 4:15:14 AM] [ INFO] Completed EPG123 client execution.
[12/13/2017 4:15:14 AM] [ INFO] EPG123 client execution time was 00:00:07.4880132.

User avatar
garyan2

Posts: 7438
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#25

Post by garyan2 » Wed Dec 13, 2017 2:25 pm

I haven't heard of this behavior, but we dealt with something similar quite a while back. We found that for those that keep WMC open always, the number of days available for search did not increment on each update. I added code to "refresh" the guide but found it was unnecessary for those that used automatch. That may be true for the search, but may not be true for the guide advance.

Could you turn off Automatch and see if there is any change?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

mafaldatv

Posts: 104
Joined: Tue Jun 14, 2016 11:44 pm
Location:

HTPC Specs: Show details

#26

Post by mafaldatv » Thu Dec 14, 2017 3:15 pm

Not sure if this is the same thing being reported, but what I have always noticed with WMC (even pre 123) is that the number of days displayed doesn't update immediately. Typically I'd go to the search routines and see something like 7 days (if I hadn't looked for awhile). Then I'd click back to something else and then click on search again. I'd get the spinning wheel and eventually it would display the updated numbers of days. It doesn't seem to matter whether WMC is 'running' in foreground or not. FWIW.

jhm

Posts: 3
Joined: Wed Dec 13, 2017 1:32 pm
Location:

HTPC Specs: Show details

#27

Post by jhm » Tue Dec 26, 2017 7:29 pm

garyan2 wrote:I haven't heard of this behavior, but we dealt with something similar quite a while back. We found that for those that keep WMC open always, the number of days available for search did not increment on each update. I added code to "refresh" the guide but found it was unnecessary for those that used automatch. That may be true for the search, but may not be true for the guide advance.

Could you turn off Automatch and see if there is any change?
I turned off automatch and saw the same behavior. WMC had 13 days of guide information. Five days later I ran WMC and the guide presented 8 days with an additional three hours. Exiting and rerunning WMC brought the guided back up to 13 days.

jhm

Posts: 3
Joined: Wed Dec 13, 2017 1:32 pm
Location:

HTPC Specs: Show details

#28

Post by jhm » Thu Jan 25, 2018 1:23 pm

jhm wrote:
garyan2 wrote:I haven't heard of this behavior, but we dealt with something similar quite a while back. We found that for those that keep WMC open always, the number of days available for search did not increment on each update. I added code to "refresh" the guide but found it was unnecessary for those that used automatch. That may be true for the search, but may not be true for the guide advance.

Could you turn off Automatch and see if there is any change?
I turned off automatch and saw the same behavior. WMC had 13 days of guide information. Five days later I ran WMC and the guide presented 8 days with an additional three hours. Exiting and rerunning WMC brought the guided back up to 13 days.
2018 Jan 25 update. WMC does seem to work in the background albeit mysteriously. EPG updates reliably and WMC seems to integrate or "refresh" those guide updates independently. I ran a test where I did not run WMC on a machine for two weeks and then confirmed the guide is still current going forward 13 days without exiting and rerunning WMC. WMC has always been a bit wonky so this seems like more of the same. What matters to me is guide updates are working reliably in the background for recording shows so I'm very pleased with the service provided by EPG123! :D

Post Reply