v1.3.1 Release with HDHR2MXF

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

#61

Post by garyan2 » Thu Dec 26, 2019 6:36 pm

What version of EPG123 are you running? SiliconDust recently added a requirement for a UserAgent in my requests to them (which I should have already had), so I had to release a new version to correct it. This was literally a couple days ago. If you install the latest and perform the same experiment with the new hdhr2mxf.exe file, that should get rid of the 403 return.
- 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

#62

Post by garyan2 » Thu Dec 26, 2019 6:48 pm

First, sorry. I made the false assumption that you were working off the latest revision since the fix was released on the 24th and your first request on this thread was the 25th.
Second, sorry. I didn't notice your message noting the 403 Forbidden response that would have keyed me to that.
Third, sorry. There is no easy way to kick off the update with hdhr2mxf right now (I'm working on it), so when you update EPG123 to the latest, from a command prompt run the following:

Code: Select all

For 64-bit OS:
"C:\Program Files (x86)\epg123\hdhr2mxr.exe" -update -import

For 32-bit OS:
"C:\Program Files\epg123\hdhr2mxr.exe" -update -import
When that completes, open the client and see if you have a lineup on the right side and mapped listings on the left (non-empty entries in the Subscribed Lineup column).
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#63

Post by rtbond » Thu Dec 26, 2019 7:02 pm

garyan2 wrote: Thu Dec 26, 2019 6:48 pm First, sorry. I made the false assumption that you were working off the latest revision since the fix was released on the 24th and your first request on this thread was the 25th.
Second, sorry. I didn't notice your message noting the 403 Forbidden response that would have keyed me to that.
Third, sorry. There is no easy way to kick off the update with hdhr2mxf right now (I'm working on it), so when you update EPG123 to the latest, from a command prompt run the following:

Code: Select all

For 64-bit OS:
"C:\Program Files (x86)\epg123\hdhr2mxr.exe" -update -import

For 32-bit OS:
"C:\Program Files\epg123\hdhr2mxr.exe" -update -import
When that completes, open the client and see if you have a lineup on the right side and mapped listings on the left (non-empty entries in the Subscribed Lineup column).
Gary -- My 2nd attempts all used what I believe is the current version from your website (dated 25-Dec), epg123Setup_v1.3.2.30.exe (I did an uninstall of the original version (believe it was v1.3.2.20 ) that I used with the first attempt before using the .30 version. I will try the .30 version again using the command line flags you specify above and report back.)

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#64

Post by rtbond » Thu Dec 26, 2019 7:13 pm

Just to be sure, I re-ran the v.30 installation file, then invoked the 64-bit command line you specified, with the same results (i.e., failure to download the SD EPG from server).

Code: Select all

C:\Program Files (x86)\epg123>hdhr2mxf.exe -update -import
Found HDHomeRun PRIME HDHR3-CC (131125B5) with firmware 20190621.
Found HDHomeRun SERVIO HHDD-2TB (153022CF) with firmware 20190621.
HDHomeRun DVR Service is active.
Using available 14-day XMLTV file from SiliconDust.
GetHdhrXmltvGuide(): The remote server returned an error: (403) Forbidden.

Generated .mxf file contains 1 lineups, 0 services, 0 series, 0 programs, and 0
people with 0 image links.
Execution time was 00:00:01.9331106

C:\Program Files (x86)\epg123>
Invoking the EPG123 Client shows an empty pane on the right ("Lineup Services"). I can share a screen shot of he EPG123 Client if needed.

p.s.: I assume you made a typo in the command line instructions (hdhr2mxr), so I replaced it with hdhr2mxf.

User avatar
garyan2

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

HTPC Specs: Show details

#65

Post by garyan2 » Thu Dec 26, 2019 7:59 pm

All right. I've got to step out a little bit and take care of some things. I'm wondering if something in the response from the Servio is throwing off my request to SiliconDust. Would you be willing to work this offline with email and I can send you debug builds to find out what is going on?
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#66

Post by rtbond » Thu Dec 26, 2019 10:18 pm

garyan2 wrote: Thu Dec 26, 2019 7:59 pm All right. I've got to step out a little bit and take care of some things. I'm wondering if something in the response from the Servio is throwing off my request to SiliconDust. Would you be willing to work this offline with email and I can send you debug builds to find out what is going on?
Hi Gary - Yes, offline is fine. I just PM'ed you my contact info.

hawleytoner

Posts: 14
Joined: Fri Dec 27, 2019 10:11 pm
Location:

HTPC Specs: Show details

#67

Post by hawleytoner » Fri Dec 27, 2019 10:26 pm

I downloaded the latest setup epg123Setup_v1.3.3.10. I first tried to use the automated GUI & got the error "There was an error importing the MXF file" on step 3.

Then, I manually ran hdhr2mxf as discussed with rtbond above (32 bit) and got this:

Found HDHomeRun Prime HDHR3-CC
HDHomeRun DVR Service is active
Using available 14-day XMLTV file from SiliconDust
Writing the .mxf file to "C:\.....\epg123.mxf"

Generated .mfx file contains 1 lineups, 224 services, 4887 series, 31163 programs and 0 people with 8207 image links
Execution time was 1:35.8584828

I then tried to I still get the error "There was an error importing the MXF file".

It seems like we're pretty close. Any further thoughts after working offline with rtbond?

Thanks in advance.

User avatar
garyan2

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

HTPC Specs: Show details

#68

Post by garyan2 » Fri Dec 27, 2019 10:33 pm

Could you manually run in a command prompt:

Code: Select all

C:\Windows\ehome\loadmxf.exe -i C:\ProgramData\GaRyan2\epg123\output\epg123.mxf
See if you get an error.
- 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

#69

Post by garyan2 » Fri Dec 27, 2019 10:59 pm

If after trying to manually import the file and you still get an error, could you email me the mxf file (zipped) at support@garyan2.net?

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

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#70

Post by rtbond » Sat Dec 28, 2019 12:28 am

Gary,

Unfortunately the same error (Error Importing the MXF file) is being generated in Step #3.

Here are the details from the hdhr2mxf execution:

Code: Select all

C:\Program Files (x86)\epg123>hdhr2mxf.exe
Found HDHomeRun PRIME HDHR3-CC (131125B5) with firmware 20190621.
Found HDHomeRun SERVIO HHDD-2TB (153022CF) with firmware 20190621.
HDHomeRun DVR Service is active.
Using available 14-day XMLTV file from SiliconDust.
Exception Thrown:
Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at hdhr2mxf.XmltvMxf.GetProgramEpisodeInformation(List`1 xmltvEpisodeNumbers)
   at hdhr2mxf.XmltvMxf.BuildScheduleEntries()
   at hdhr2mxf.XmltvMxf.BuildMxfFromXmltvGuide(List`1 homeruns)
   at hdhr2mxf.Program.DetermineUpdateMethod()
   at hdhr2mxf.Program.Main(String[] args)

Generated .mxf file contains 1 lineups, 339 services, 56 series, 217 programs, and 0 people with 381 image links.
Execution time was 00:00:15.2438719

C:\Program Files (x86)\epg123>
A hdhr2mxf.xmltv is created in the C:\ProgramData\GaRyan2\epg123\output directory.
Last edited by rtbond on Sat Dec 28, 2019 12:52 am, edited 1 time in total.

User avatar
garyan2

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

HTPC Specs: Show details

#71

Post by garyan2 » Sat Dec 28, 2019 12:41 am

rtbond wrote: Sat Dec 28, 2019 12:28 am Gary,

Unfortunately the same error (Error Importing the MXF file) is being generated in Step #3.

Here are the details from the hdhr2mxf execution:

Code: Select all

C:\Program Files (x86)\epg123>hdhr2mxf.exe
Found HDHomeRun PRIME HDHR3-CC (131125B5) with firmware 20190621.
Found HDHomeRun SERVIO HHDD-2TB (153022CF) with firmware 20190621.
HDHomeRun DVR Service is active.
Using available 14-day XMLTV file from SiliconDust.
Exception Thrown:
Index and length must refer to a location within the string.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at hdhr2mxf.XmltvMxf.GetProgramEpisodeInformation(List`1 xmltvEpisodeNumbers)
   at hdhr2mxf.XmltvMxf.BuildScheduleEntries()
   at hdhr2mxf.XmltvMxf.BuildMxfFromXmltvGuide(List`1 homeruns)
   at hdhr2mxf.Program.DetermineUpdateMethod()
   at hdhr2mxf.Program.Main(String[] args)

Generated .mxf file contains 1 lineups, 339 services, 56 series, 217 programs, and 0 people with 381 image links.
Execution time was 00:00:15.2438719

C:\Program Files (x86)\epg123>
Actually, this is different. You are actually downloading the xmltv file, but something in there is not formatted as expected. Could you send me your xmltv file that was created? Sent you an email.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#72

Post by rtbond » Sat Dec 28, 2019 12:58 am

Gary - Sent you a link to the requested file. Thanks!

User avatar
garyan2

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

HTPC Specs: Show details

#73

Post by garyan2 » Sat Dec 28, 2019 1:25 am

Okay, found a problem with the XMLTV file that we need to figure out. If you disable your HGTV channel 30, if you can, then it should succeed.
- 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

#74

Post by garyan2 » Sat Dec 28, 2019 4:07 am

While I wait to hear some guidance/input from SiliconDust on their creative re-use of some XMLTV fields which caused the failures, I released a new version to screen out the bad stuff so it should complete a MXF file build and import. Or we find the next problem.

If there are some bad actors in your lineup, they will not have any guide listings. For rtbond, that is channel 30 HGTV.
- 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

#75

Post by garyan2 » Sat Dec 28, 2019 5:12 am

Sorry, if you downloaded v1.3.3.20 earlier, that version may have been a debug version... I'm getting a bit tired. Just in case, I rebuilt it and pushed it on the server. If you tried it out and it didn't work, download it again and try again. If it did work, then I must have uploaded the correct version and no harm.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

rtbond

Posts: 20
Joined: Fri Oct 14, 2011 11:46 am
Location:

HTPC Specs: Show details

#76

Post by rtbond » Sat Dec 28, 2019 10:49 am

Gary,

v1.3.3.20 fixes the import error, but I still have no guide data in WMC ("No EPG123 Guide listings in WMC" warning when exiting the EPG123 Client Tool). I e-mailed you the details. Perhaps this has to do with all the false starts.

Thanks for your persistence.

--Rob

User avatar
garyan2

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

HTPC Specs: Show details

#77

Post by garyan2 » Sat Dec 28, 2019 2:53 pm

You're there... just need to click 1 button and you will have guide listings for all your CC channels except for HGTV on channel 30.
match.PNG
match.PNG (4.66 KiB) Viewed 789 times
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

hawleytoner

Posts: 14
Joined: Fri Dec 27, 2019 10:11 pm
Location:

HTPC Specs: Show details

#78

Post by hawleytoner » Sat Dec 28, 2019 4:35 pm

Tried v1.3.3.20 (downloaded just now) & it failed with the same popup error as before when running the GUI. Using your command line:

C:\Windows\ehome\loadmxf.exe -i C:\ProgramData\GaRyan2\epg123\output\epg123.mxf

I got the following additional details:

Loading...92%Error: The following error was encountered while processing the file. Aborting.

Object reference not set to an instance of an object.

I will send you the .mxf file as instructed earlier. FYI, there's now an .xmltv file in that same directory. I don't recall seeing that last eve.

User avatar
garyan2

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

HTPC Specs: Show details

#79

Post by garyan2 » Sat Dec 28, 2019 4:41 pm

hawleytoner wrote: Sat Dec 28, 2019 4:35 pm Tried v1.3.3.20 (downloaded just now) & it failed with the same popup error as before when running the GUI. Using your command line:

C:\Windows\ehome\loadmxf.exe -i C:\ProgramData\GaRyan2\epg123\output\epg123.mxf

I got the following additional details:

Loading...92%Error: The following error was encountered while processing the file. Aborting.

Object reference not set to an instance of an object.

I will send you the .mxf file as instructed earlier. FYI, there's now an .xmltv file in that same directory. I don't recall seeing that last eve.
Hmmm. There might be something wrong in the MXF file. Could you send both the MXF and XMLTV files to support@garyan2.net? Thanks.
- 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

#80

Post by garyan2 » Sat Dec 28, 2019 4:54 pm

Okay, I see what is wrong with the MXF file, but I'm going to need to see the xmltv file to find out why it is happening. Should be a quick fix.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply