Feature Request ~ Retry MXF Import

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
Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

Feature Request ~ Retry MXF Import

#1

Post by Sammy2 » Fri Sep 15, 2017 11:44 am

I know it is a good thing to not try to import the MXF file during an active recording but can a few lines of code be added to try again in each following hour until it succeeds or to read the WMC database for when the active recording ends and then do the import? It is not a huge deal with 21 days data but for updates on sporting events, such as Baseball Playoffs it could be an issue to skip a day. TIA. And Gary, GREAT WORK!
Attachments
Recording Inport Error.JPG

User avatar
garyan2

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

HTPC Specs: Show details

#2

Post by garyan2 » Sat Sep 16, 2017 2:24 pm

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

Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

#3

Post by Sammy2 » Sat Sep 16, 2017 4:09 pm

garyan2 wrote:Working it.
Perfect! Thanks.

Sent from my SM-G930P using Tapatalk

glorp

Posts: 369
Joined: Sun Sep 23, 2012 2:54 pm
Location:

HTPC Specs: Show details

#4

Post by glorp » Sat Sep 16, 2017 7:23 pm

garyan2 wrote:Working it.
You know you can do this with the scheduled task itself? Assuming of course you are returning an error status to the task when the app can't load. User can actually make it happen now by editing your task's properties.

User avatar
garyan2

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

HTPC Specs: Show details

#5

Post by garyan2 » Sat Sep 16, 2017 9:22 pm

glorp wrote:
garyan2 wrote:Working it.
You know you can do this with the scheduled task itself? Assuming of course you are returning an error status to the task when the app can't load. User can actually make it happen now by editing your task's properties.
Not quite... tried this. The restart every X times every Y minutes of the task only works if the task itself fails, not the program the task is calling. An error return from epg123Client will do nothing for causing the task to restart. In fact, the task created by EPG123 is configured to run every 30 minutes for 2 1/2 hours (5 times), but again for the task itself and not epg123.

It should, however, try every 30 minutes if it thinks the computer is on battery power or the network is not available.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Sammy2

Posts: 1708
Joined: Fri Aug 24, 2012 7:35 pm
Location:

HTPC Specs: Show details

#6

Post by Sammy2 » Wed Sep 20, 2017 2:50 pm

Thanks for bringing this into epg123.. Looks like we were on the same page!

Post Reply