pixelfudge 0 Posted June 23, 2019 Share Posted June 23, 2019 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) Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 23, 2019 Share Posted June 23, 2019 Hi, please try stopping it from the web app and see how that compares. Thanks. Link to comment Share on other sites More sharing options...
pixelfudge 0 Posted June 23, 2019 Author Share Posted June 23, 2019 No options. Only have info and message icons. Is this why? I'm trying to stop multiple streams from 1 account Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 23, 2019 Share Posted June 23, 2019 Yes that is why. Link to comment Share on other sites More sharing options...
pixelfudge 0 Posted June 23, 2019 Author Share Posted June 23, 2019 Any other way to stop a stream from the server via the API? Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 23, 2019 Share Posted June 23, 2019 Yes: https://github.com/MediaBrowser/Emby/wiki/Remote-control 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