yaksplat 66 Posted December 11, 2020 Posted December 11, 2020 When a pause command is issued, the stream is paused correctly. However, when unpause is sent out, the track restarts. PlayPause just seems to restart the current track. Is it supposed to toggle the isPaused attribute?
roaku 842 Posted December 11, 2020 Posted December 11, 2020 It looks like you want: /Sessions/{Id}/Playing/Unpause https://github.com/MediaBrowser/Emby/wiki/Remote-control I say looks like because I haven't tried this endpoint myself.
yaksplat 66 Posted December 11, 2020 Author Posted December 11, 2020 Unpause just restarts the track http://<server>/emby/Sessions/<session>/Playing/Unpause?api_key=<api_key>
yaksplat 66 Posted December 17, 2020 Author Posted December 17, 2020 @Lukeare there API updates coming this this as well? Seems it's currently broken.
Luke 42077 Posted December 17, 2020 Posted December 17, 2020 Seems to work just fine when using the web app to control another app.
Happy2Play 9780 Posted December 17, 2020 Posted December 17, 2020 Is it Unpause or Playpause? All I see in the log is Playpause for both pausing and unpausing.
yaksplat 66 Posted December 18, 2020 Author Posted December 18, 2020 Unpause restarts the audio item every single time. PlayPause does an instant restart of the audio item. No pause, just a restart.
yaksplat 66 Posted December 18, 2020 Author Posted December 18, 2020 To a raspberry pi, running theater.
Luke 42077 Posted December 25, 2020 Posted December 25, 2020 Ok i tested and it seems to be working just fine. I would try the latest version of the app.
yaksplat 66 Posted January 1, 2021 Author Posted January 1, 2021 Running server version 4.6.0.10 Testing from the API: Pause - pauses the song Unpause - Restarts the song PlayPause - Restarts the song From the Dashboard: Pause button - Restarts the song Play button (when paused through the api) - Restarts the song
Luke 42077 Posted January 1, 2021 Posted January 1, 2021 Seems to be working in my testing but we'll keep an eye on it.
yaksplat 66 Posted January 8, 2021 Author Posted January 8, 2021 I figured the exact steps to recreate this, and when it works or doesn't work. Hopefully this makes sense
Luke 42077 Posted January 11, 2021 Posted January 11, 2021 Can you try using the online web app instead of your local web app? http://app.emby.media Thanks.
yaksplat 66 Posted January 12, 2021 Author Posted January 12, 2021 Running from http://app.emby.media , sending commands to a raspberry pi image running Theater 3.0.14. The pause button does a restart of the current song. I see it sending the PlayPause command. embyserver (1).txt
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