Media_player platforms: is dynamic changing of capabilities possible?

Hi,

is it possible for a media_player platform to dynamically change the reported capabilities?
For example to report SUPPORT_SEEK when the played media allows it and to omit that flag when it doesn’t (e.g. for an internet radio stream).

Or are those flags only evaluated during the initialization of a device?

Sebastian

At the risk of talking to myself here:
yes, when the value returned by supported_features() changes, the media_player entity is updated accordingly.
Nice :slight_smile:

Sebastian

2 Likes