1.0.3 • Published 4 months ago
ambient-sonos-fallback v1.0.3
Ambient Sonos Fallback
A plugin for Ambient. The Spotify API restricts control on sonos playback devices, so when this error is thrown, this plugin steps in and controls the sonos directly
Usage
// ambient.config.js
import * as SonosFallback from "ambient-sonos-fallback";
/** @type {import('./server/types/options.js').Config} */
export default {
...,
plugins: [SonosFallback],
pluginOptions: {
sonos: {
...
}
}
};
Config
Key | Type | Description | Default |
---|
It is recommended to add suppressErrors: ['spotify/restricted']
to your ambient.config.js