XML-API icon indicating copy to clipboard operation
XML-API copied to clipboard

Unify behaviour regarding virtual remotes and add query parameter

Open ultrah opened this issue 7 years ago • 2 comments

Previously devicelist.cgi and statelist.cgi handled virtual remotes differently. devicelist.cgi ommited these channels based on the type of the device, statelist.cgi used the name of the device to achieve the same, which yielded inconsitent behaviour. Now the device type is used in both scripts. This breaks the possiblity to receive the workaround to receive the virtual remote in statelist.cgi by renaming the device.

Therefore this also adds a query parameter show_remote to both scripts to reliably receive the virtual remote channels.

ultrah avatar Feb 10 '18 11:02 ultrah

As mentioned in the commit, this is a breaking change, but I would argue that it's the cleanest solution going forward. Existing apps can adapt to the change based on the version number

ultrah avatar Feb 10 '18 11:02 ultrah

@jens-maus Mind to merge this? Would solve our „problems“ discussed here.

Wookbert avatar Feb 23 '22 12:02 Wookbert