What is your feature request?
Context: Elan's comment on Plex forums, related issue in homeassistant/core#173564
Suggestion to improve performance by updating the API calls used by playMedia. If my understanding is correct, this would be accomplished by removing the existing playback/playMedia API call and relying on queue creation with paused=0 to create and play the queue in a single API call. If so, it seems like this could be done in a transparently backwards compatible way without changing the signature of playMedia in this library. Elan's comment states that this way to do it has been "supported for years" but it is unclear whether there are some clients which do not support this; in that case, maybe it would be best to fallback to the existing behavior in the event of a failure.
It appears that making this update would add support for Caldera as well as improve performance for existing Plex endpoints.
Are there any workarounds?
No response
Code Snippets
Additional Context
No response
What is your feature request?
Context: Elan's comment on Plex forums, related issue in homeassistant/core#173564
Suggestion to improve performance by updating the API calls used by
playMedia. If my understanding is correct, this would be accomplished by removing the existingplayback/playMediaAPI call and relying on queue creation withpaused=0to create and play the queue in a single API call. If so, it seems like this could be done in a transparently backwards compatible way without changing the signature ofplayMediain this library. Elan's comment states that this way to do it has been "supported for years" but it is unclear whether there are some clients which do not support this; in that case, maybe it would be best to fallback to the existing behavior in the event of a failure.It appears that making this update would add support for Caldera as well as improve performance for existing Plex endpoints.
Are there any workarounds?
No response
Code Snippets
Additional Context
No response