Jump to content
death_hawk

ANSWERED EPG update via CLI

Recommended Posts

death_hawk

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.  

Share this post


Link to post
Share on other sites
Luke

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

Share this post


Link to post
Share on other sites
death_hawk

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

Share this post


Link to post
Share on other sites
Jdiesel

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

Share this post


Link to post
Share on other sites
death_hawk

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

Thanks

Share this post


Link to post
Share on other sites
Jdiesel

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

Share this post


Link to post
Share on other sites
death_hawk

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

 

 

That worked perfectly.  

 

Thanks @@Jdiesel

Share this post


Link to post
Share on other sites

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...