-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sonos] Add support for RadioApp music service #13235
Conversation
@sbushnell : here is a jar for testing. Download the file and then rename .zip into .jar. Edit:removed If I consider your example in the issue, the channel "currenttitle" should now contain "XXXXX" and the channel "currenttrack" should now contain "XXXXX - Green Day - Time Of Your Life (Good Riddance)" with XXXXX being probably the name of the radio station. Edit: I now ignore title starting with "Advertisement_" so for talk show, you should get "XXXXX" in channel "currenttrack". |
Fix openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
41e15b8
to
4e25b67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Two minor suggestions.
...inding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
Outdated
Show resolved
Hide resolved
...inding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nformation Signed-off-by: Laurent Garnier <lg.hc@free.fr>
...inding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
Outdated
Show resolved
Hide resolved
c1e18cc
to
8ad2809
Compare
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
8ad2809
to
89d5c38
Compare
@sbushnell : here is a new jar for testing. |
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This JAR tests all OK too.
…On Thu, 11 Aug 2022 at 08:04, lolodomo ***@***.***> wrote:
@sbushnell <https://github.com/sbushnell> : here is a new jar for testing.
org.openhab.binding.sonos-3.4.0-SNAPSHOT.zip
<https://github.com/openhab/openhab-addons/files/9304330/org.openhab.binding.sonos-3.4.0-SNAPSHOT.zip>
—
Reply to this email directly, view it on GitHub
<#13235 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKSXXUWAL76DYBCC726CYLVYQROLANCNFSM554XOLSA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* [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 openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [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 openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [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 openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
* [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 openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* [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 openhab#13208 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Fix #13208
Signed-off-by: Laurent Garnier lg.hc@free.fr