Scripted Guide Update?

Is there a way to force, with a Bash script, the guide to update at specific time/day?
Sometimes it updates on it's own and other times I have to manually update.
The Server is running on unRAID in a docker.
The unRAID server is scripted to shut down every night at 2:30 am except Sat night/Sunday morning for routine maintenance, parity checks, moving files from Cache Drive to Array, backup of AppData & etc. but the DVR Server Docker shuts down at 1:30 am every night but Sunday morning Starts again at 6:50 am . The unRAID server and DVR starts around 4pm everyday. THIS WILL NOT CHANGE!

2 Likes

While not part of the published API, I bet you could look at the payload sent to the server when you kick off a guide update from the web UI. When you discover the endpoint it hits, add it to your script.

@Uno1 Were you able to figure this out? If so, could you share your solution please?

While it doesn't happen frequently, fortunately, today was one of those days where I had to click Re-download Guide in the WebUI multiple times today for it to finally update completely.

To be clear, in my case, it appears the guide and scheduled recordings do get updated per the logs, however, the Guide itself wasn't updating to reflect the changes and, more importantly, the Scheduled Recordings didn't appear updated either (either via WebUI or and clients).

After clicking the re-download guide button multiple times throughout the day, it finally updated everything. I don't know if this is an issue w/ CDVR or where it pulls guide data from not being up-to-date at the time of the pull. Regardless, if we could schedule the update, like every hour, it would help.

Thanks

Please don’t force an update every hour. It may cause your system to be flagged and prevent future updates.

If you’re experiencing issues downloading the guide, the logs will have details.

:open_mouth: What does this mean?

1 Like

Your account could be blocked from getting guide data until pardoned by the developers.

But all kidding aside 9:am is way too early for me I would like to be able to set when to get the latest guide updates ... I would prefer around 5:pm to get the updated sports airings.

1 Like

It means just be cool. If our customers start doing guide updates 24x the rate we have projected it's going to impact our cost models.

Got it. I guess it has something to do with the license you have with Gracenote and/or their API rules/limitations.

So if somebody was doing a custom guide download every day at 5 PM, would that be fine?

Can't you give the users the option when to run the daily update??

1 Like

Manually DDOSing guide updates is completely against our TOS.

If you are for some reason not getting guide updates and you are having to force it, please email support and we’ll figure out the problem.

We have designed things in specific ways based on things users aren’t privy to, and frankly we don’t need to explain ourselves.

If you are having guide update issues. Please contact official support or open a thread about it.