Jump to content

Playback progress reports - EventName


Luke

Recommended Posts

When sending progress events (just progress, not start/stop), please attach an EventName property to indicate why you're reporting progress. 

 

If you recall, apps should report progress automatically every 10 seconds, as well immediately following any manual user action. As of today, the possible values for EventName are:

  • TimeUpdate (this is the default if omitted)
  • Pause
  • Unpause
  • VolumeChange
  • RepeatModeChange
  • AudioTrackChange
  • SubtitleTrackChange
  • PlaylistItemMove
  • PlaylistItemRemove
  • PlaylistItemAdd
  • QualityChange

This is documented here:

https://github.com/MediaBrowser/Emby/wiki/Playback-Check-ins

 

@@TeamB

@@Angelblue05

@@ebr

Link to comment
Share on other sites

And yes, in hindsight, EventName is not the best property, but the javascript-based apps have been passing this data around for a long time, it's just until now that the server has been ignoring it.

 

So i chose to stick with EventName since they're already attaching it to the progress object and therefore won't need to have updates pushed out. Thanks.

Link to comment
Share on other sites

If you're wondering, what this will do is it will allow plugins to listen for these events, and it will allow remote control UI's to be lighter on their feet and only react to what actually changed. Currently now they have to refresh the whole interface on every progress update.

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