Big Release... 1.8.0.0 is here.

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: 7480
Joined: Fri Nov 27, 2015 7:23 pm
Location:

HTPC Specs: Show details

#101

Post by garyan2 » Mon Jul 17, 2023 4:53 am

Monitor the process ehprivjob.exe. It is for WMC and also does the pvr indexing at the end. Probably some other things too.

Sent from my SM-G781U1 using Tapatalk

- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

tdusen

Posts: 3
Joined: Sun Jul 23, 2023 3:41 pm
Location:

HTPC Specs: Show details

#102

Post by tdusen » Sun Jul 23, 2023 3:47 pm

I'm running 1.8.0.13. Ever since upgrading from 1.7.xx, the scheduled import is not happening. The date on the EPG icon on the main WMC page does not change. I have epg123 and client both on one machine. If I open epg123 and do a Save & Execute, the WMC guide is updated.

I've tried removing and re-adding the schedule time in epg123, but that hasn't helped.

What can I do to get the scheduled import working again?

User avatar
garyan2

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

HTPC Specs: Show details

#103

Post by garyan2 » Sun Jul 23, 2023 5:45 pm

I can't magically tell what is going on with your task. What does the log file say (or not say in this case). Open the client and verify the task is set to 'Full Mode' and the program to run is epg123.exe. It will run both epg123.exe to create the mxf and epg123client.exe to import the file into WMC.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

tdusen

Posts: 3
Joined: Sun Jul 23, 2023 3:41 pm
Location:

HTPC Specs: Show details

#104

Post by tdusen » Mon Jul 24, 2023 4:39 am

When I run manually, the log ends like this

Code: Select all

[7/22/2023 10:24:34 AM] [ INFO] Completed compiling keywords and keyword groups.
[7/22/2023 10:24:34 AM] [ INFO] 648 entries deleted from the cache file during cleanup.
[7/22/2023 10:24:44 AM] [ INFO] Completed save of the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". (80.812 MB)
[7/22/2023 10:24:44 AM] [ INFO] Generated MXF file contains 600 services, 7120 series, 4739 seasons, 49538 programs, 230516 schedule entries, and 75841 people with 14609 image links.
[7/22/2023 10:24:44 AM] [ INFO] Completed EPG123 update execution. SUCCESS.
[7/22/2023 10:24:44 AM] [ INFO] EPG123 update execution time was 00:00:45.2625889.
[7/22/2023 10:24:44 AM] =====================================================================================
[7/22/2023 10:24:44 AM] EPG123CLIENT: Beginning MXF file import. version 1.8.0.13
[7/22/2023 10:24:44 AM] =====================================================================================
[7/22/2023 10:24:44 AM] *** Windows 7 Home Premium, 64-bit [Version: 6.1.7601.0] ***
[7/22/2023 10:24:44 AM] *** .NET Framework 4.6.01590 is installed. ***
[7/22/2023 10:24:44 AM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[7/22/2023 10:24:44 AM] [ INFO] Import: True , Match: True , NoLogo: False , Force: False , ShowProgress: True , NoGC: True , NoVerify: True , Verbose: False
[7/22/2023 10:24:45 AM] Entering ImportMxfFile() for file "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf".
[7/22/2023 10:33:40 AM] [ INFO] Successfully imported .mxf file into Media Center database. Exit code: 0
[7/22/2023 10:33:40 AM] Exiting ImportMxfFile(). SUCCESS.
[7/22/2023 10:33:41 AM] [ INFO] Completed channel cleanup as needed after MXF file import.
[7/22/2023 10:33:43 AM] [ INFO] Completed the automatic mapping of lineup stations to tuner channels.
[7/22/2023 10:33:43 AM] [ INFO] Completed lineup refresh.
[7/22/2023 10:33:43 AM] Entering ReindexDatabase()
[7/22/2023 10:33:44 AM] [ INFO] SUCCESS: WMC database indexing has started.
[7/22/2023 10:33:44 AM] Exiting ReindexDatabase(). SUCCESS.
[7/22/2023 10:33:44 AM] [ INFO] MXF file was created on 7/22/2023 10:23:59 AM
[7/22/2023 10:33:45 AM] [ INFO] Completed EPG123 client execution.
[7/22/2023 10:33:45 AM] [ INFO] EPG123 client execution time was 00:09:00.2709017.
[7/22/2023 10:35:44 AM] =====================================================================================
[7/22/2023 10:35:44 AM] EPG123CLIENT: Beginning WMC recorder storage/tuner conflict checks. version 1.8.0.13
[7/22/2023 10:35:44 AM] =====================================================================================
[7/22/2023 10:35:44 AM] *** Windows 7 Home Premium, 64-bit [Version: 6.1.7601.0] ***
[7/22/2023 10:35:44 AM] *** .NET Framework 4.6.01590 is installed. ***
[7/22/2023 10:35:44 AM] *** Windows Media Center [Version: 6.1.7600.16385] is installed. ***
[7/22/2023 10:35:44 AM] [ INFO] WMC database indexing took 00:02:00.7679075. Exit: 0x00000000
[7/22/2023 10:35:44 AM] [ INFO] Recorder storage drive C:\ has 231.383 GB available. (599.262 GB of 830.645 GB used)
[7/22/2023 10:35:46 AM] [ INFO] No tuner conflicts detected within next 3 days.
[7/22/2023 10:35:46 AM] [ INFO] Completed WMC recorder storage/tuner conflict checks.

But when it runs as scheduled, epgclient does not run. the log ends here:

Code: Select all

[7/23/2023 5:04:54 AM] [ INFO] Completed compiling keywords and keyword groups.
[7/23/2023 5:04:54 AM] [ INFO] 3555 entries deleted from the cache file during cleanup.
[7/23/2023 5:05:03 AM] [ INFO] Completed save of the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". (80.992 MB)
[7/23/2023 5:05:03 AM] [ INFO] Generated MXF file contains 600 services, 7049 series, 4735 seasons, 49399 programs, 232807 schedule entries, and 75754 people with 14526 image links.
[7/23/2023 5:05:03 AM] [ INFO] Completed EPG123 update execution. SUCCESS.
[7/23/2023 5:05:03 AM] [ INFO] EPG123 update execution time was 00:01:03.7400892.
The task shows as full mode in epg123client. I did create the schedule in epg123, not epg123client. To test, I just deleted the schedule and re-created it as full using epg123client this time. We'll see what happens.

Space

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

HTPC Specs: Show details

#105

Post by Space » Mon Jul 24, 2023 5:06 am

If you look at the "epg123_update" task in Task Manager (in the root level of the Task Scheduler Library), on the Actions tab, you should see two actions, one to run epg123.exe (the update task) and the other to run epg123Client.exe (the import task).

Both actions should be run, regardless of the exit status of the action, so either the task does not have both actions, or the import task is failing without logging any messages.

You can also scroll to the right of the task listed in the task list and see the "Last Run Result" which should give you the status code of the last action (which should be 0x0 if there were no issues).

tdusen

Posts: 3
Joined: Sun Jul 23, 2023 3:41 pm
Location:

HTPC Specs: Show details

#106

Post by tdusen » Mon Jul 24, 2023 1:27 pm

Update: Re-doing the schedule from within epg123client fixed it. Import was successful today

NOYB

Posts: 145
Joined: Thu Sep 10, 2020 8:03 am
Location:

HTPC Specs: Show details

#107

Post by NOYB » Mon Jul 24, 2023 8:13 pm

Change Log
Version 1.8.0.0
Server
No longer a need to schedule a task for creating output files. They are generated on demand when requested.
Could you please elaborate on this a little bit?

Between the scheduled tasks epg123.exe -update, and epg123Client.exe -i ... I run a powershell script that customizes the schedule of a channel. How would I go about incorporating that in the server's on demand output files generation?

Program/script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Add arguments (optional):
-ExecutionPolicy UnRestricted -File C:\ProgramData\GaRyan2\epg123\output\epg123.mxf-customize.ps1

Start in (optional):
C:\ProgramData\GaRyan2\epg123\output

Thanks

User avatar
garyan2

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

HTPC Specs: Show details

#108

Post by garyan2 » Tue Jul 25, 2023 12:11 am

You are fine. That statement is really for if your server is running on another station and your client is remote. If/When the client requests the MXF file, the server will kick off the download and creation of the mxf file prior to providing to the client. There is no change when running the server and client on the same machine.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

MickeyMike

Posts: 1
Joined: Fri Jul 28, 2023 5:49 pm
Location:

HTPC Specs: Show details

#109

Post by MickeyMike » Fri Jul 28, 2023 6:08 pm

Hello Gary, is there a command line instruction for the new release (1.8.0.x) so the epg123 server will force to download and create the mxf file without a mxf request from the clent?
My current setup is like this: I have a Win 10 machine with epg123 (1.7.x.x) server installed and have it power on automatically in the middle of the night, run a batch file to download and create the mxf file using the task scheduler. It will then store the mxf file to my local NSA drive. After that, the Win 10 machine will shut itself off to save power until the next day. My 2 other Win 7 machines with WMC and EPG123 client installed will fetch (At any time I want) the mxf file from the NSA drive and update the guide. Thanks!

User avatar
garyan2

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

HTPC Specs: Show details

#110

Post by garyan2 » Fri Jul 28, 2023 7:14 pm

There is no change from what you are doing for the new release, the exception being the "-update" switch is no longer needed with epg123.exe.
- 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

#111

Post by garyan2 » Fri Jul 28, 2023 7:34 pm

These are the current switches/arguments for the 2 programs.

EPG123.exe

Code: Select all

EPG123 [-IMPORT [-MATCH]] [-P]
-IMPORT     Automatically imports guide listings into WMC.
-MATCH      Automatically match guide listing in WMC.
-P          Shows progress while downloading/importing guide
            listings (interactive mode only).
EPG123CLIENT.exe

Code: Select all

EPG123CLIENT [-I "path_to_mxf" [-F] [-P] [-NOGC] [-VERBOSE] [-NOVERIFY]] [-MATCH] [-NOLOGO] [-X]
-I          Import MXF file identified with "path_to_mxf".
-F          Force import of MXF file if recordings are in progress.
-P          Show progress (interactive mode only).
-NOGC       Do not allow database garbage collection to execute.
-VERBOSE    Provide verbose output during database verification.
-NOVERIFY   Do not perform database verification.
-MATCH      Perform automatic guide mapping to tuner channels.
-NOLOGO     Removes all channel logos from guide.
-X          Add advanced buttons to GUI to explore and export database.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Space

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

HTPC Specs: Show details

#112

Post by Space » Sun Jul 30, 2023 12:54 am

Gary,

Did I miss posts about releases 1.8.0.13 and 1.8.0.14? Because it looks like there are some juicy tidbits in there that I would like to know more about...😁

edit:
Should this:
add preventative checks to prevent conflicts in the past being recorded
be this:
add preventative checks to prevent conflicts in the past being reported
?

User avatar
garyan2

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

HTPC Specs: Show details

#113

Post by garyan2 » Sun Jul 30, 2023 7:17 am

Space wrote: Sun Jul 30, 2023 12:54 amShould this:
add preventative checks to prevent conflicts in the past being recorded
be this:
add preventative checks to prevent conflicts in the past being reported
Considering the subject, it would be best to be "reported" to avoid confusion. Changed.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

NOYB

Posts: 145
Joined: Thu Sep 10, 2020 8:03 am
Location:

HTPC Specs: Show details

#114

Post by NOYB » Sun Jul 30, 2023 9:37 pm

Liked how in earlier versions the epg123.cfg stations were sorted same as the configurator sort.

Not a functional issue but convenient when trouble shooting, comparisons and manipulation.

Perhaps could be restored sometime if/when convenient?

User avatar
garyan2

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

HTPC Specs: Show details

#115

Post by garyan2 » Sun Jul 30, 2023 10:03 pm

It wasn't intended in the past to be like that, but I did intentionally sort by call signs now. When dealing with multiple lineups, your ask just makes it messy.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
IT Troll

Posts: 1193
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#116

Post by IT Troll » Wed Aug 16, 2023 1:46 pm

garyan2 wrote: Mon Jul 17, 2023 12:08 am No new tasks or anything. Just running another session of the client in the background to kickoff and monitor the indexing.

There is no polling. The second instance of epg123Client starts the indexing using ehPrivjob.exe and waits for it to complete.
A side effect of this is you cannot install an EPG123 update if the epg123Client watcher instance is still running in the background. Probably a rare occurrence, but I guess the installer could check for and offer to close any relevant processes.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

User avatar
garyan2

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

HTPC Specs: Show details

#117

Post by garyan2 » Thu Aug 17, 2023 12:53 am

IT Troll wrote: Wed Aug 16, 2023 1:46 pm
garyan2 wrote: Mon Jul 17, 2023 12:08 am No new tasks or anything. Just running another session of the client in the background to kickoff and monitor the indexing.

There is no polling. The second instance of epg123Client starts the indexing using ehPrivjob.exe and waits for it to complete.
A side effect of this is you cannot install an EPG123 update if the epg123Client watcher instance is still running in the background. Probably a rare occurrence, but I guess the installer could check for and offer to close any relevant processes.
Yah, I was planning on fixing it on last release but evidently forgot to save the file used to create the setup file before I built the package. https://www.thegreenbutton.tv/viewtopic ... 53#p151551
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

PhoqueMicrosoft

Posts: 2
Joined: Thu Aug 17, 2023 4:04 am
Location:

HTPC Specs: Show details

#118

Post by PhoqueMicrosoft » Thu Aug 17, 2023 4:13 am

Long time user & fan. I'm using 1.8.1.4 but have had a nagging problem since 1.8.0.0.

Completed save of the MXF file to "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf". (26.308 MB)
[ INFO] Generated MXF file contains 128 services, 2818 series, 1821 seasons, 18193 programs, 62242 schedule entries, and 32948 people with 4348 image links.
[ INFO] Completed EPG123 update execution. SUCCESS.
[ INFO] EPG123 update execution time was 00:00:19.0436454.
[ ERROR] File "C:\ProgramData\GaRyan2\epg123\output\epg123.mxf -match" does not exist.

4I have tried rebuilding the WMC database, reinstalled WMC and did a clean start. Is this a false error that I can ignore or do I need to do more digging and repairs?

User avatar
garyan2

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

HTPC Specs: Show details

#119

Post by garyan2 » Thu Aug 17, 2023 4:15 am

This was an error in the code. Delete your current task and create a new one. The task you currently have is missing a closing quotation mark.

Sent from my SM-G781U1 using Tapatalk

- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
IT Troll

Posts: 1193
Joined: Sun Nov 27, 2011 9:42 am
Location: Edinburgh, UK

HTPC Specs: Show details

#120

Post by IT Troll » Thu Aug 17, 2023 9:10 pm

garyan2 wrote: Thu Aug 17, 2023 12:53 am Yah, I was planning on fixing it on last release but evidently forgot to save the file used to create the setup file before I built the package. https://www.thegreenbutton.tv/viewtopic ... 53#p151551
Ah, fair enough. Apologies, hadn’t seen the other thread.
Are you a Recorded TV HD user or want to give it a try? Check out the new community-made update; Recorded TV HD v2.1.1

Post Reply