openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.88k stars 3.59k forks source link

[freeboxos] AirPlay feature #17255

Open lolodomo opened 2 months ago

lolodomo commented 2 months ago

@clinique : I am asking myself about the AirPlay password parameter.

As you can see for the revolution, you can enable AirPlay and set a password for the server itself: image But as the server only supports audio (I will check again) and the API does not implement pushing audio media, we don't care. You don't have this setting on your side ?

On the player side, for the revolution player, I can enable/disable AirPlay but not set any password. On your Freebox player, you have an option for AirPlay ? With a way to set a password ?

Except if you have a player with a way to set such password, I would suggest to remove this setting from the player thing type. And maybe add it to the host thing type. My TV is seen by the Free API as an AirPlay receiver but without video capability so it can't be used.

clinique commented 2 months ago

I find the same setting on mine : image

On the Devialet, I did not find any option to set a password on Airplay.

lolodomo commented 2 months ago

Once PR #17257 is merged, it will be interesting you check what capabilities are true (thing properties of the server thing) when you enable this setting. By the way, it is obvious that your server (like the revolution server) do not have AirPlay video capabilities.

On the Devialet, I did not find any option to set a password on Airplay.

Ok. And I did not find anything too on my TV. Maybe it is not frequent for AirPlay renderers to provide an optional password. We can keep the advanced parameter for player things even it is probably fully useless.

lolodomo commented 2 months ago

@clinique : in the original binding, there is the channel playurl that can be used to trigger the playback of a video or audio and the stop channel to stop the playback. They are missing in the new binding. Of course there is the audio sink that can be used, but we need something else to trigger the playback of a video/audio outside the audio sink. Rather than channels, I believe that actions would be a better option. WDYT ?

clinique commented 2 months ago

@clinique : in the original binding, there is the channel playurl that can be used to trigger the playback of a video or audio and the stop channel to stop the playback. They are missing in the new binding. Of course there is the audio sink that can be used, but we need something else to trigger the playback of a video/audio outside the audio sink. Rather than channels, I believe that actions would be a better option. WDYT ?

Yes, using actions is a fine option.