···1010import AIOExample from "../../src/components/AIOExample";
11111212import AIOConfig from '!!raw-loader!../../../config/config.json.example';
1313+import AzuracastConfig from '!!raw-loader!../../../config/azuracast.json.example';
1314import ChromecastConfig from '!!raw-loader!../../../config/chromecast.json.example';
1415import DeezerConfig from '!!raw-loader!../../../config/chromecast.json.example';
1516import JellyfinConfig from '!!raw-loader!../../../config/jellyfin.json.example';
···17721773 }
17731774 ]
17741775```
17761776+17771777+### [Azuracast](https://www.azuracast.com/)
17781778+17791779+The Azuracast server should have **Use High-Performance Now Playing Updates** enabled in _Administration -> System Settings_
17801780+17811781+##### URL
17821782+17831783+The URL used by MS to connect to Azuracast has the syntax:
17841784+17851785+```
17861786+[ws|wss]://HOST:[PORT]
17871787+```
17881788+17891789+MS will automatically add the path required for websockets, [`/api/live/nowplaying/websocket`](https://www.azuracast.com/docs/developers/now-playing-data/#websockets), to your URL if none is provided. If you use a reverse proxy with a path-based URL or otherwise need a custom path to access the websockets path correctly then explicitly provide it. Examples:
17901790+17911791+```
17921792+URL From Config => MS Uses
17931793+17941794+'ws://192.168.0.101' => ws://192.168.0.101/api/live/nowplaying/websocket
17951795+'ws://azura.mydomain.com' => ws://azura.mydomain.com.com/api/live/nowplaying/websocket
17961796+'wss://mydomain.com/custom/azura/ws' => wss://mydomain.com/custom/azura/ws
17971797+```
17981798+17991799+##### Manual Listening
18001800+18011801+A user can manually toggle scrobbling for Azuracast as long as the station is online. On the MS Dashboard use the **Manual Listening** link below the Source status to toggle scrobbling. This will override any automatic scrobbling based on current listeners.
18021802+18031803+#### Configuration
18041804+18051805+<Tabs groupId="configType" queryString>
18061806+ <TabItem value="env" label="ENV">
18071807+ | Environmental Variable | Required? | Default | Description |
18081808+ | :--------------------- | :-------- | :------ | ---------------------------------------------------------------------------------------------- |
18091809+ | `AZ_URL` | Yes | | Azuracast URL *without station name* |
18101810+ | `AZ_STATION` | Yes | | The station name shown on the public page |
18111811+ | `AZURA_LIVE` | No | Yes | Only scrobble when station status is ONLINE |
18121812+ | `AZURA_LISTENERS_NUM` | No | `true` | Only scrobble if station has any listeners (`true`) or listeners are equal-to/greater-than `X` |
18131813+ </TabItem>
18141814+ <TabItem value="file" label="File">
18151815+ <details>
18161816+18171817+ <summary>Example</summary>
18181818+18191819+ <CodeBlock title="CONFIG_DIR/azuracast.json" language="json5">{AzuracastConfig}</CodeBlock>
18201820+18211821+ </details>
18221822+18231823+ or <SchemaLink lower objectName="AzuracastSourceConfig"/>
18241824+ </TabItem>
18251825+ <TabItem value="aio" label="AIO">
18261826+ <details>
18271827+18281828+ <summary>Example</summary>
18291829+18301830+ <AIOExample data={AzuracastConfig} name="azuracast"/>
18311831+18321832+ </details>
18331833+18341834+ or <SchemaLink lower objectName="AzuracastSourceConfig"/>
18351835+ </TabItem>
18361836+</Tabs>
1775183717761838## Client Configurations
17771839
+1
docsite/src/pages/index.mdx
···3030 * [Musikcube](docs/configuration#musikcube)
3131 * [MPD (Music Player Daemon)](docs/configuration#mpd-music-player-daemon)
3232 * [VLC](docs/configuration#vlc)
3333+ * [Azuracast](docs/configuration#azuracast)
3334* Supports scrobbling to many **Clients**
3435 * [Maloja](docs/configuration#maloja)
3536 * [Last.fm](docs/configuration#lastfm)
···80808181 /**
8282 * Only activate scrobble monitoring if station has a live DJ/Streamer
8383+ *
8484+ * @default true
8385 */
8486 monitorWhenLive?: boolean
8587