Jump to content

API POST /System/Restart Fails


SonnyMN

Recommended Posts

The API System Restart CURL command fails 

 

curl -X POST "http://10.0.0.161:8096/emby/System/Restart?api_key=0213bcc4521c418d8deaa30d016cb348"-H "accept: */*"

 

This is the error

      <h1>Length Required</h1>

 

I have googled and search and tried many recommendations but nothing seems to work.

 

I want to restart my embyserver nightly which seems to prevent running into high disk i/o (runaway processes clobbering disk).

 

Not sure why emby is so disk intensive --- WMC ran fine for 8 yrs on the same hardware recording 6 streams concurrently. Emby bottlenecks on disk I/O with 1 or 2 concurrent recording streams.

Link to comment
Share on other sites

Happy2Play

There are other topics on this, but running the commands manually you have to use -d "".

curl -X POST "http://IPADDRESS:8096/emby/System/Restart?api_key=YOURAPIKEY" -d ""

https://emby.media/community/index.php?/topic/72178-refresh-a-library-via-api/?p=726181

Edited by Happy2Play
Link to comment
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...