New setting: Avoid playlist randomization
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
This commit is contained in:
parent
34917043ce
commit
8cdfde856e
4 changed files with 22 additions and 7 deletions
|
|
@ -5,7 +5,7 @@ export class Settings {
|
|||
}
|
||||
}
|
||||
|
||||
update({ language, gong_interval, weather_delay, weather_action, pre_alarm_delay, pre_alarm_action, max_run_time, max_volume, start_volume, federation }) {
|
||||
update({ language, gong_interval, weather_delay, weather_action, pre_alarm_delay, pre_alarm_action, max_run_time, max_volume, start_volume, no_random, federation }) {
|
||||
this.language = language;
|
||||
this.gong_interval = gong_interval;
|
||||
this.weather_delay = weather_delay;
|
||||
|
|
@ -15,6 +15,7 @@ export class Settings {
|
|||
this.max_run_time = max_run_time;
|
||||
this.max_volume = max_volume;
|
||||
this.start_volume = start_volume;
|
||||
this.no_random = no_random;
|
||||
this.federation = federation;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -174,6 +174,15 @@
|
|||
</InputGroup>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<Input
|
||||
type="switch"
|
||||
label="Ne pas mélanger la liste de lecture"
|
||||
bind:checked={settings.no_random}
|
||||
on:input={() => submitSettings(settings)}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<Label for="federation">Federation</Label>
|
||||
<FederationSettings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue