Jump to content

EPG update via CLI


Go to solution Solved by Jdiesel,

Recommended Posts

Posted

Is there a way to force an EPG update via command line?  

 

I'm currently doing a workaround right now where I'm externally downloading an XML file and would optimally like to script in a way for emby to refresh the EPG.  

Posted

Hi, no, but you can do this in the web interface. Why not just do that?

Posted

Web interface requires me to do work. 
I'd rather just automate it.  

  • Solution
Posted

You could try something like this

curl -X POST "http://localhost:8096/emby/ScheduledTasks/Running/taskID?api_key=key" -H "accept: */*" -d ""

Where the "taskID" is the task id for the Refresh Guide scheduled task and the "key" is your api key

  • Like 1
Posted

That seems like it would work.  I'll test it. 

Thanks

Posted

You can use Chrome's debug console to easily figure out the task ID to Refresh the Guide

Posted

I found it by just copying the URL out of "Scheduled Tasks" 

 

 

That worked perfectly.  

 

Thanks @@Jdiesel

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...