Skip to content
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

[yamahamusiccast] Add discovery information #16231

Merged
merged 3 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,24 @@
xsi:schemaLocation="https://openhab.org/schemas/addon/v1.0.0 https://openhab.org/schemas/addon-1.0.0.xsd">

<type>binding</type>
<name>Yamaha Musiccast Binding</name>
<description>This is the binding for Yamaha Musiccast</description>
<name>Yamaha MusicCast Binding</name>
<description>This is the binding for Yamaha MusicCast.</description>
<connection>local</connection>

<discovery-methods>
<discovery-method>
<service-type>upnp</service-type>
<match-properties>
<match-property>
<name>manufacturer</name>
<regex>.*Yamaha.*</regex>
</match-property>
<match-property>
<name>deviceType</name>
<regex>.*MediaRenderer.*</regex>
</match-property>
</match-properties>
</discovery-method>
</discovery-methods>

</addon:addon>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# add-on

addon.yamahamusiccast.name = Yamaha Musiccast Binding
addon.yamahamusiccast.description = This is the binding for Yamaha Musiccast
addon.yamahamusiccast.name = Yamaha MusicCast Binding
addon.yamahamusiccast.description = This is the binding for Yamaha MusicCast.

# thing types

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<type>binding</type>
<name>YamahaReceiver Binding</name>
<description>For all network enabled Yamaha receivers.</description>
<description>This is the binding for network enabled Yamaha receivers (without MusicCast support).</description>
<connection>local</connection>

<discovery-methods>
Expand All @@ -14,7 +14,7 @@
<match-properties>
<match-property>
<name>manufacturer</name>
<regex>(?i).*YAMAHA.*</regex>
<regex>.*YAMAHA.*</regex>
</match-property>
<match-property>
<name>deviceType</name>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# add-on

addon.yamahareceiver.name = YamahaReceiver Binding
addon.yamahareceiver.description = For all network enabled Yamaha receivers.
addon.yamahareceiver.description = This is the binding for network enabled Yamaha receivers (without MusicCast support).

# thing types

Expand Down Expand Up @@ -160,8 +160,8 @@ channel-type.yamahareceiver.surroundProgram.state.option.Sci-Fi = Sci-Fi
channel-type.yamahareceiver.surroundProgram.state.option.Spectacle = Spectacle
channel-type.yamahareceiver.surroundProgram.state.option.Standard = Standard
channel-type.yamahareceiver.surroundProgram.state.option.Pro\ Logic = Pro Logic
channel-type.yamahareceiver.surroundProgram.state.option.Neo:6 Music = Neo:6 Music
channel-type.yamahareceiver.surroundProgram.state.option.Neo:6 Cinema = Neo:6 Cinema
channel-type.yamahareceiver.surroundProgram.state.option.Neo\:6\ Music = Neo:6 Music
channel-type.yamahareceiver.surroundProgram.state.option.Neo\:6\ Cinema = Neo:6 Cinema
channel-type.yamahareceiver.surroundProgram.state.option.PLII[x]\ Game = PLII[x] Game
channel-type.yamahareceiver.surroundProgram.state.option.PLII[x]\ Music = PLII[x] Music
channel-type.yamahareceiver.surroundProgram.state.option.PLII[x]\ Movie = PLII[x] Movie
Expand Down