jhorning 1 Posted February 5, 2019 Share Posted February 5, 2019 I'm trying to update my bash file to have Emby update the guide data after I pull the epg but I can't figure out what I am doing wrong. Could someone help me figure this out? When I execute curl -X GET "http://<MyIP>:8096/emby/ScheduledTasks/Running/9492d30c70f7f1bec3757c9d0a4feb45?api_key=<MyAPIKey>" -H "accept: application/json" It returns "<h1>Length Required</h1>" and when I try in the browser http://<MyIP>:8096/emby/ScheduledTasks/Running/9492d30c70f7f1bec3757c9d0a4feb45?api_key=<MyAPIKey> I get "Unable to find the specified file." I can get information on the task using https://<MyIP>:8096/emby/ScheduledTasks/9492d30c70f7f1bec3757c9d0a4feb45?api_key=<MyAPIKey> {"Name":"Refresh Guide","State":"Idle","Id":"9492d30c70f7f1bec3757c9d0a4feb45","LastExecutionResult":{"StartTimeUtc":"2019-02-04T22:00:00.0013851Z","EndTimeUtc":"2019-02-04T22:18:36.7447358Z","Status":"Completed","Name":"Refresh Guide","Key":"RefreshGuide","Id":"9492d30c70f7f1bec3757c9d0a4feb45"},"Triggers":[{"Type":"DailyTrigger","TimeOfDayTicks":576000000000},{"Type":"DailyTrigger","TimeOfDayTicks":144000000000}],"Description":"Downloads channel information from live tv services.","Category":"Live TV","IsHidden":false,"Key":"RefreshGuide"} Link to comment Share on other sites More sharing options...
jhorning 1 Posted February 5, 2019 Author Share Posted February 5, 2019 I figured it out. Well, actually I located another post with the answer after I posted I was missing -d "" from the end of the curl command. Link to comment Share on other sites More sharing options...
Luke 36879 Posted February 5, 2019 Share Posted February 5, 2019 Glad you figured it out ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now