XPUT guide xml update

Hey guys, trying to get a curl command to update my guide data....

I run this...curl -XPUT http://192.168.1.20:8089/dvr/lineups/XMLTV-some-source

it returns true...

but all i see in the logs is this...

2025/02/14 16:20:52.843260 [DVR] Waiting 2h39m7.156740339s until next job 1739581200-30 Gold Rush

which looks to be the next dvr event its going to record.

I can run the curl command 5 times and will return that in the logs every time.

thoughts???

Use your browsers developer tools Network Inspector to see what command Channels DVR uses when you Redownload XMLTV for that source

I found this post by you but it appears not to work ...

I'm using the curl command in a couple scripts and it's working for me.

Try this

Yep it works ...

I've inspected the element, ive ran wireshark and capured the command.

Read multiple posts of that is the correct curl command.

But when i tail the logs, it creates that log of waiting till taht task is done, guess i need a developer to help me u understand why its not working for me and creating that log entry.

Just use the network inspector in your browser.
Screenshot 2025-02-14 at 18-32-32 Channels Settings
Capture
This one would be curl -XPUT http://192.168.1.4:8489/dvr/lineups/XMLTV-PlexNoEpg

2025/02/14 18:33:04.582824 [DVR] Fetched guide data for XMLTV-PlexNoEpg in 1s

Hard to mess up unless you're not using the right curl command.

Thanks, I was missing the fact that Channels seems to remove any extra "-" in the name...

for example...

If your Source is called, Blah-TV

The actual PUT you would run is

curl -XPUT http://192.168.1.20:8089/dvr/lineups/BlahTV

Yep.
Not sure what all the characters it strips are, but I think anything not alpha-numeric, including spaces.