pixelfudge 0 Posted June 23, 2019 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)
Luke 42077 Posted June 23, 2019 Posted June 23, 2019 Hi, please try stopping it from the web app and see how that compares. Thanks.
pixelfudge 0 Posted June 23, 2019 Author 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
pixelfudge 0 Posted June 23, 2019 Author Posted June 23, 2019 Any other way to stop a stream from the server via the API?
Luke 42077 Posted June 23, 2019 Posted June 23, 2019 Yes: https://github.com/MediaBrowser/Emby/wiki/Remote-control
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