Custom Channels - add Refresh playlist URL hourly

I know I can use a curl command in a cron job, but can we get this added?

1 Like

do you know how to use curl command to do this? I just posted something similar on another forum

Use your browser developer tools network inspector to see the command it sends when you click on Reload M3U for your source. You're looking for a POST method with the url ending in /refresh.
Using curl would be curl -XPOST url

I created a sh script on linux and added lines like this for every source, then made it executable, then added a cron job every hour to run that sh script

#example (Channels is one of my sources):

curl -X POST http://192.168.86.72:8089/providers/m3u/sources/Channels/refresh

Anything like this that anyone would like to schedule can also be added to MTM Automation.

In the latest version of Media Tools Manager (a Streaming Library Manager extension), you can now automatically run and schedule regular refreshes of m3u Playlists in Channels DVR, up to hourly. Check out the details in the release notes: