feat!: default system output is now `pulseaudio` (#2842)
BREAKING CHANGE: The default system output (`stream.outputs.system[].kind`) changed from `alsa` to `pulseaudio`. Make sure to update your configuration file if you rely on the default system output. Closes #2542
This commit is contained in:
parent
0d2d1a2673
commit
083ee3f1dd
|
@ -324,5 +324,5 @@ stream:
|
||||||
enabled: false
|
enabled: false
|
||||||
# System output kind.
|
# System output kind.
|
||||||
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
||||||
# > default is alsa
|
# > default is pulseaudio
|
||||||
kind: alsa
|
kind: pulseaudio
|
||||||
|
|
|
@ -324,5 +324,5 @@ stream:
|
||||||
enabled: false
|
enabled: false
|
||||||
# System output kind.
|
# System output kind.
|
||||||
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
||||||
# > default is alsa
|
# > default is pulseaudio
|
||||||
kind: alsa
|
kind: pulseaudio
|
||||||
|
|
|
@ -324,5 +324,5 @@ stream:
|
||||||
enabled: false
|
enabled: false
|
||||||
# System output kind.
|
# System output kind.
|
||||||
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
||||||
# > default is alsa
|
# > default is pulseaudio
|
||||||
kind: alsa
|
kind: pulseaudio
|
||||||
|
|
|
@ -529,8 +529,8 @@ stream:
|
||||||
enabled: false
|
enabled: false
|
||||||
# System output kind.
|
# System output kind.
|
||||||
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
||||||
# > default is alsa
|
# > default is pulseaudio
|
||||||
kind: "alsa"
|
kind: "pulseaudio"
|
||||||
```
|
```
|
||||||
|
|
||||||
## LDAP
|
## LDAP
|
||||||
|
|
|
@ -30,6 +30,10 @@ Please follow this **before the upgrade procedure**.
|
||||||
|
|
||||||
The `general.secret_key` field in the [configuration file](../admin-manual/configuration.md#general) is now **required**, to prevent reusing the `general.api_key` for cryptographic usage.
|
The `general.secret_key` field in the [configuration file](../admin-manual/configuration.md#general) is now **required**, to prevent reusing the `general.api_key` for cryptographic usage.
|
||||||
|
|
||||||
|
### The `stream.outputs.system[].kind` configuration field now defaults to `pulseaudio`
|
||||||
|
|
||||||
|
The `stream.outputs.system[].kind` field in the [configuration file](../admin-manual/configuration.md#general) default value changed from `alsa` to `pulseaudio`. Make sure to update your configuration file if you rely on the default system output.
|
||||||
|
|
||||||
## :warning: Known issues
|
## :warning: Known issues
|
||||||
|
|
||||||
The following issues may need a workaround for the time being. Please search the [issues](https://github.com/libretime/libretime/issues) before reporting problems not listed below.
|
The following issues may need a workaround for the time being. Please search the [issues](https://github.com/libretime/libretime/issues) before reporting problems not listed below.
|
||||||
|
|
|
@ -324,5 +324,5 @@ stream:
|
||||||
enabled: false
|
enabled: false
|
||||||
# System output kind.
|
# System output kind.
|
||||||
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
# > must be one of (alsa, ao, oss, portaudio, pulseaudio)
|
||||||
# > default is alsa
|
# > default is pulseaudio
|
||||||
kind: alsa
|
kind: pulseaudio
|
||||||
|
|
|
@ -207,7 +207,7 @@ class Schema implements ConfigurationInterface
|
||||||
// System outputs
|
// System outputs
|
||||||
/**/->arrayNode('system')->arrayPrototype()->children()
|
/**/->arrayNode('system')->arrayPrototype()->children()
|
||||||
/* */->booleanNode('enabled')->defaultFalse()->end()
|
/* */->booleanNode('enabled')->defaultFalse()->end()
|
||||||
/* */->scalarNode('kind')->defaultValue('alsa')
|
/* */->scalarNode('kind')->defaultValue('pulseaudio')
|
||||||
/* */->validate()->ifNotInArray(["alsa", "ao", "oss", "portaudio", "pulseaudio"])
|
/* */->validate()->ifNotInArray(["alsa", "ao", "oss", "portaudio", "pulseaudio"])
|
||||||
/* */->thenInvalid('invalid stream.outputs.system.kind %s')
|
/* */->thenInvalid('invalid stream.outputs.system.kind %s')
|
||||||
/* */->end()->end()
|
/* */->end()->end()
|
||||||
|
|
|
@ -226,7 +226,7 @@ class SystemOutputKind(str, Enum):
|
||||||
|
|
||||||
class SystemOutput(BaseModel):
|
class SystemOutput(BaseModel):
|
||||||
enabled: bool = False
|
enabled: bool = False
|
||||||
kind: SystemOutputKind = SystemOutputKind.ALSA
|
kind: SystemOutputKind = SystemOutputKind.PULSEAUDIO
|
||||||
|
|
||||||
|
|
||||||
# pylint: disable=too-few-public-methods
|
# pylint: disable=too-few-public-methods
|
||||||
|
|
Loading…
Reference in New Issue