Jump to content

Question about stop sessions


Recommended Posts

pixelfudge
Posted

Im trying to stop a playing session via python and I get a 204 response. However the session still plays as nothing has happened. Is there a bug?
 

API_TOKEN = "XX"
API_BASE = "http://emby.url/"
api = "/Sessions/ID/Playing/Stop"
headers = {"Content-Type": "application/json", "X-Emby-Token": API_TOKEN}
api = API_BASE + api
response = requests.post(api, headers=headers)
print(response)
Posted

Hi, please try stopping it from the web app and see how that compares. Thanks.

pixelfudge
Posted

No options.

 

Only have info and message icons. Is this why?

 

I'm trying to stop multiple streams from 1 account

Posted

Yes that is why.

pixelfudge
Posted

Any other way to stop a stream from the server via the API?

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