Remove All Logos - then put them back

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
wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

Remove All Logos - then put them back

#1

Post by wilme2 » Thu Aug 17, 2023 6:42 pm

My logos were all messed up - many channels did not show a logo nor the call letters. So under "Tweak WMC" I found the "Remove all channel logos" button - and that did change everything back to visible call letters. Now how can I put back the Logos that are available? End state ought to be logs where available, then call letters for the rest...

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#2

Post by wilme2 » Thu Aug 17, 2023 11:14 pm

Well, the came back on their own after a WMC restart! All good.

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#3

Post by wilme2 » Mon Aug 21, 2023 7:36 pm

And they are gone again. So I updated to the latest version again (1.8.1.5), and now at times WMC is barely functional.

For the first 5 minutes or so after I start WMC it takes 15 seconds or more to update the screen after a key press. I can immediately hear the WMC sound recognizing the key press, but the screen does not update. And I have weird ghost screens with a highlighted box with nothing in it.

Something is looking for a resource that is unavailable or perhaps taking forever to load - and almost nothing can happen in WMC until that process completes or times out . Maybe it is the Logos file? I have 500 channels between the 400 for cable and 100 for OTA.

User avatar
garyan2

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

HTPC Specs: Show details

#4

Post by garyan2 » Tue Aug 22, 2023 12:34 am

It will take WMC a few seconds to start downloading images once you enter the guide... needs to establish a network connection first.

Take a look at your server.log file. How long between 'Starting EPG123 Server service ...' and 'EPG123 Server service completed initializations'? Once the image server is initialized, it should be ready to service logos and program images.

Code: Select all

[8/18/2023 6:37:51 PM] [ INFO] Starting EPG123 Server service ...
[8/18/2023 6:37:52 PM] [ INFO] Refreshed Schedules Direct API token. Token=cbb35...
[8/18/2023 6:37:52 PM] [ INFO] UDP Server initialized.
[8/18/2023 6:37:52 PM] [ INFO] File server initialized with 4 worker threads.
[8/18/2023 6:37:52 PM] [ INFO] Image server initialized with 12 worker threads.
[8/18/2023 6:37:52 PM] [ INFO] EPG123 Server service completed initializations.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#5

Post by wilme2 » Tue Aug 22, 2023 2:47 am

Right now about 30 channels have logos. The other 400+ do not.

Code: Select all

[8/21/2023 12:46:19 PM] [ INFO] Starting EPG123 Server service ...
[8/21/2023 12:46:20 PM] [ INFO] Refreshed Schedules Direct API token. Token=eb67b...
[8/21/2023 12:46:20 PM] [ INFO] UDP Server initialized.
[8/21/2023 12:46:20 PM] [ INFO] File server initialized with 2 worker threads.
[8/21/2023 12:46:20 PM] [ INFO] Image server initialized with 6 worker threads.
[8/21/2023 12:46:20 PM] [ INFO] EPG123 Server service completed initializations.
[8/21/2023 12:55:03 PM] [ERROR] /image/c1a3ce402987dc7af0d1b393181face3dba2d25d40fcca922352a762a5e19bd8.jpg ServiceImageRequest() Exception: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at GaRyan2.SchedulesDirectAPI.API.<GetSdImage>d__9.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at tokenServer.HttpImageServer.ServiceImageRequest(HttpListenerContext context, Boolean retry)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at GaRyan2.SchedulesDirectAPI.API.<GetSdImage>d__9.MoveNext()<---

[8/21/2023 12:55:27 PM] [ERROR] /20141201/image/2f79556e44ced4b23fc4ee5a367b6d8bfaba06f38a8443e7e13a48ac60d9d5f0.jpg: 404 Not Found : Token=eb67b...
{"response":"IMAGE_NOT_FOUND","code":5000,"serverID":"20141201.web","message":"Could not find requested image. Post message to http:\/\/forums.schedulesdirect.org\/viewforum.php?f=6 if you are having issues.","datetime":"2023-08-21T17:55:27Z"}
[8/21/2023 12:56:08 PM] [ERROR] /image/7e5a7da4e9f376e235968878570b4d4e5ec382991d3a8f670f2c980d2f73bd22.jpg ServiceImageRequest() Exception: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at GaRyan2.SchedulesDirectAPI.API.<GetSdImage>d__9.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at tokenServer.HttpImageServer.ServiceImageRequest(HttpListenerContext context, Boolean retry)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at GaRyan2.SchedulesDirectAPI.API.<GetSdImage>d__9.MoveNext()<---

[8/21/2023 2:20:36 PM] =====================================================================================
[8/21/2023 2:20:36 PM] EPG123SERVER: Beginning EPG123 token/proxy/cache service. version 1.8.1.5
[8/21/2023 2:20:36 PM] =====================================================================================
[8/21/2023 2:20:36 PM] *** Windows 7 Ultimate, 64-bit [Version: 6.1.7601.24494] ***
[8/21/2023 2:20:36 PM] *** .NET Framework 4.7.03062 is installed. ***

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#6

Post by wilme2 » Tue Aug 22, 2023 3:40 am

The big problem is that every time I startup the WMC app, it completely freezes for around 4 minutes - the clock at the top right doesn't even update. After those few minutes WMC updates the clock to the current time - but continues to act crippled and is largely non-responsive to input - UNTIL I tune a channel and watch a few seconds of TV. After that I can stop that channel and WMC is back to running at full speed.

User avatar
garyan2

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

HTPC Specs: Show details

#7

Post by garyan2 » Tue Aug 22, 2023 3:42 am

Not sure what the exceptions are, but a couple things I notice.
1. Your machine only has 2 processor cores. I've never dumbed down my VMs when testing this much so I will have to try that.
2. It looks like your service stopped which would explain missing logos. You should never be able to see the entries you have at [8/21/2023 2:20:36 PM].

Give this a try to see if everything works.
1. Open the configuration GUI and go to service tab. Click [Stop] to stop the service.
2. Rename your \images folder to \images_old.
3. Start the service by clicking [Start].
4. Open WMC and view the Guide.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

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

HTPC Specs: Show details

#8

Post by garyan2 » Tue Aug 22, 2023 3:52 am

Well, I can say that running the service with only 2 processor cores still runs fine (on my VM anyway) so it is not that.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

stuartm

Posts: 723
Joined: Mon Nov 05, 2012 8:05 pm
Location: Longmont, CO

HTPC Specs: Show details

#9

Post by stuartm » Tue Aug 22, 2023 6:49 am

Just a thought, I seem to remember some slow WMC startup issues associated with the WMC DB growing really large. You might want to check that.

Space

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

HTPC Specs: Show details

#10

Post by Space » Tue Aug 22, 2023 8:57 am

I can confirm that when my WMC database grew to over 1 GB in size, it did run slower. In particular, loading guide data took much longer. The fix was to "Rebuild WMC Database" using that function of EPG123.

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#11

Post by wilme2 » Tue Aug 22, 2023 3:15 pm

garyan2 wrote: Tue Aug 22, 2023 3:52 am Well, I can say that running the service with only 2 processor cores still runs fine (on my VM anyway) so it is not that.
Thanks for testing that.

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#12

Post by wilme2 » Tue Aug 22, 2023 4:31 pm

The EPG Server services is not starting at PC bootup.

Code: Select all

The EPG123 Server service failed to start due to the following error: 
The service did not respond to the start or control request in a timely fashion

Code: Select all

A timeout was reached (30000 milliseconds) while waiting for the EPG123 Server service to connect.
I do see where it crashed previous to the last reboot, and there were two other of these Error entries in the Windows Application log:

Code: Select all

Application: epg123Server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.HttpListenerException
   at System.Net.HttpListener.EndGetContext(System.IAsyncResult)
   at tokenServer.ConfigServer.ContextReady(System.IAsyncResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
   at System.Net.ListenerAsyncResult.IOCompleted(System.Net.ListenerAsyncResult, UInt32, UInt32)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
And another not listed as an Error, just information. I also found multiple of this one.

Code: Select all

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: epg123Server.exe
P2: 1.8.1.4
P3: 8c52d7b1
P4: System
P5: 4.7.3451.0
P6: 5d37b695
P7: 118f
P8: 234
P9: System.Net.HttpListenerException
P10: 

Attached files:
C:\Windows\Temp\WERD4FE.tmp.appcompat.txt
C:\Windows\Temp\WERD54D.tmp.WERInternalMetadata.xml
C:\Windows\Temp\WERD54E.tmp.hdmp
C:\Windows\Temp\WEREAD1.tmp.mdmp

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_epg123Server.exe_9a1122524381e566daff675d57bd0cbbdf37a_cab_1a7eeca2

Analysis symbol: 
Rechecking for solution: 0
Report Id: 33d3983c-3d25-11ee-bdab-0022158c66e5
Report Status: 0
Note that these started 8/16 when I went to 1.8.1.4, before that there had only been two EPG123 Server errors in the Windows Application log for all of 2023.

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#13

Post by wilme2 » Tue Aug 22, 2023 5:15 pm

Changing EPG123 to Automatic (Delay Start) seems to have allowed the service to have started fine through multiple PC reboots.

I used EPG123 to rebuild the database, and renamed the images folder as recommended - right now I seem to have all the logos back. I still have the long WMC application startup delay/unresponsiveness until I can tune a Live channel - after which WMC performs as expected.

With all the ghost channels in the Spectrum lineup, the bottom of my EPG123 client says "10094 Merged Channels with 10094 Shown | 3 Lineup(s) | 625 Service(s) with 479 shown."

So I am only trying to populate ~ 500 channels, but I am limiting them at the Client - not at the Server. Should I be limiting another way? Note, I don't see this on my Win8MC which is just a Client - I see it on my Win7MC which is Client and Server (24x7 operation).

wilme2

Posts: 57
Joined: Mon Jul 08, 2013 6:33 pm
Location:

HTPC Specs: Show details

#14

Post by wilme2 » Wed Aug 23, 2023 12:13 am

wilme2 wrote: Tue Aug 22, 2023 5:15 pm I still have the long WMC application startup delay/unresponsiveness until I can tune a Live channel - after which WMC performs as expected.
I was able to close WMC this afternoon and immediately re-open it without delay. I need to do some more testing, but that was a good sign.

User avatar
garyan2

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

HTPC Specs: Show details

#15

Post by garyan2 » Wed Aug 23, 2023 4:10 am

Thanks for your work on this. I have just released 1.8.1.6 to change the service to Automatic (Delayed Start). Trying to get the service to start sooner has been too unpredictable.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply