Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

some new features #2

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 38 additions & 5 deletions Sonos/form.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,47 @@
{
"elements":
[
{ "name": "IPAddress", "type": "ValidationTextBox", "caption": "IP-Address" },
{ "name": "FavoriteStation", "type": "ValidationTextBox", "caption": "Favorite radio station" },
{ "name": "WebFrontStations", "type": "ValidationTextBox", "caption": "Radio stations in WebFront" }
{ "name": "IPAddress", "type": "ValidationTextBox", "caption": "IP-Address/Host" },
{ "name": "DefaultVolume", "type": "NumberSpinner", "caption": "Default volume (%)", },
{ "type": "Label", "label": "RINCON should be filled automatically by grouping automatism. Only for support here"},
{ "name": "RINCON", "type": "ValidationTextBox", "caption": "RINCON" },
{ "name": "GroupCoordinator", "type": "CheckBox", "caption": "Group coordinator" },
{ "name": "GroupForcing", "type": "CheckBox", "caption": "Force grouping in Sonos" },
{ "name": "MuteControl", "type": "CheckBox", "caption": "Enable Mute Control" },
{ "name": "LoudnessControl", "type": "CheckBox", "caption": "Enable Loudness Control" },
{ "name": "BassControl", "type": "CheckBox", "caption": "Enable Bass Control" },
{ "name": "TrebleControl", "type": "CheckBox", "caption": "Enable Treble Control" },
{ "type": "Label", "label": "Settings for radio stations:"},
{ "name": "FavoriteStation", "type": "Select", "caption": "Favorite radio station",
"options": [
{ "label": "1LIVE", "value": "1LIVE" },
{ "label": "Antenne 1", "value": "Antenne 1" },
{ "label": "Antenne Bayern", "value": "Antenne Bayern" },
{ "label": "Antenne MV", "value": "Antenne MV" },
{ "label": "Bayern 3", "value": "Bayern 3" },
{ "label": "bigFM", "value": "bigFM" },
{ "label": "Deutschlandfunk", "value": "Deutschlandfunk" },
{ "label": "FFH", "value": "FFH" },
{ "label": "FFN", "value": "FFN" },
{ "label": "HR3", "value": "HR3" },
{ "label": "KiRaKa", "value": "KiRaKa" },
{ "label": "NDR2", "value": "NDR2" },
{ "label": "N-JOY", "value": "N-JOY" },
{ "label": "OE3", "value": "OE3" },
{ "label": "Radio Lippe", "value": "Radio Lippe" },
{ "label": "RPR1", "value": "RPR1" },
{ "label": "SWR1 BW", "value": "SWR1 BW" },
{ "label": "SWR1 RP", "value": "SWR1 RP" },
{ "label": "SWR3", "value": "SWR3" },
{ "label": "WDR2", "value": "WDR2" }
] },

{ "name": "WebFrontStations", "type": "ValidationTextBox", "caption": "Stations in WebFront" },
],
"actions":
[
{ "type": "Button", "label": "Play", "onClick": "SNS_Play($id);" },
{ "type": "Button", "label": "Play", "onClick": "SNS_Play($id);" },
{ "type": "Button", "label": "Pause", "onClick": "SNS_Pause($id);" },
{ "type": "Button", "label": "Next", "onClick": "SNS_Next($id);" }
{ "type": "Button", "label": "Next", "onClick": "SNS_Next($id);" }
]
}
Loading