Luke 37007 Posted October 7, 2019 Share Posted October 7, 2019 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 More sharing options...
Luke 37007 Posted October 7, 2019 Author Share Posted October 7, 2019 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 More sharing options...
TeamB 2352 Posted October 7, 2019 Share Posted October 7, 2019 what about skip Link to comment Share on other sites More sharing options...
Luke 37007 Posted October 7, 2019 Author Share Posted October 7, 2019 For now that can be TimeUpdate. We can always add that later if there's a reason. Link to comment Share on other sites More sharing options...
Luke 37007 Posted October 7, 2019 Author Share Posted October 7, 2019 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 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