]> git.basschouten.com Git - openhab-addons.git/commit
[sonos] Added support of RadioApp music service (#13235)
authorlolodomo <lg.hc@free.fr>
Thu, 11 Aug 2022 06:18:56 +0000 (08:18 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Aug 2022 06:18:56 +0000 (08:18 +0200)
commit92d6f1c6e967ef8ee22f11927affdc541740c233
tree43d3e417b1114f666d187a93840676a05f06df23
parent4bf7a4a51ed44371a635db8d010f7c17d8946f81
[sonos] Added support of RadioApp music service (#13235)

* [sonos] Added support of RadioApp music service
* Extract artist and song title from TITLE
* Extract code in methods to reduce the size of the method updateMediaInformation
* Create new class and add tests

Fix #13208

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/SonosMediaInformation.java [new file with mode: 0644]
bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
bundles/org.openhab.binding.sonos/src/test/java/org/openhab/binding/sonos/internal/SonosMediaInformationTest.java [new file with mode: 0644]