PvrScheduleTask Takes Extremely Long To Complete

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

HTPC Specs: Show details

#41

Post by garyan2 » Fri Dec 27, 2019 8:10 am

I don't think there is anything I can do that would be meaningful. The fact is, with your current recording requests, you have 1566 recordings scheduled for a total of 1309 hours and 37 minutes in the next 14 days. Let that sink in. This isn't an issue of optimizing anything... this is about pushing WMC beyond what it is capable of. When it is doing the indexing, it is determining how and when recordings can occur. For scheduling conflicts it will determine which programs have priority, which programs can be recorded later, how much room is required, all the pre- and post- padding. Keywords are searched not only in titles but in descriptions as well. Be thankful you only selected 226 stations to download and not more.

I'm running an experiment right now. I noticed most of your 417 series requests were for New & Repeat episodes which probably contributes to quite a bit of the problem. I'm currently changing all those to New only and see if that helps any... it'll take a while.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

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

HTPC Specs: Show details

#42

Post by garyan2 » Fri Dec 27, 2019 8:56 am

Okay, I changed most of the series requests to New only and it brought the numbers down to 273 recordings scheduled for a total of 320 hours and 33 minutes in the next 14 days. More importantly, it significantly reduced the time it took to perform a PvrScheduleTask to just a couple minutes.

I'll throw an guide update tomorrow to see if it handles it well.

EDIT: I should note that I also deleted all the onetime requests that were also part of a series request.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

User avatar
garyan2

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

HTPC Specs: Show details

#43

Post by garyan2 » Fri Dec 27, 2019 3:50 pm

Okay, I ran through a guide update by adding 1 more day to the download and monitored the tasks. The PvrScheduleTask took around a minute for me on an i7. YMMV.

With 15 days of guide data, there are 304 recordings : 351 hours 3 minutes total.

So it appears it is not the number of requests that is the major factor, but the number of recordings that is problematic. Some of your requests were major contributors such as any that have been syndicated. I think with some cleanup, you can reign in the time required to do the task.
- Gary
Keeping WMC alive beyond January 2020. https://garyan2.github.io

Post Reply