mirror of
https://github.com/FoxxMD/multi-scrobbler.git
synced 2026-04-30 21:00:13 +00:00
28 lines
No EOL
980 B
Text
28 lines
No EOL
980 B
Text
---
|
|
title: MPD (Music Player Daemon)
|
|
toc_min_heading_level: 2
|
|
toc_max_heading_level: 5
|
|
---
|
|
|
|
import Tabs from '@theme/Tabs';
|
|
import TabItem from '@theme/TabItem';
|
|
import CodeBlock from '@theme/CodeBlock';
|
|
import MPDConfig from '!!raw-loader!@site/../config/mpd.json.example';
|
|
|
|
MS communicates with MPD using the [TCP client connection.](https://mpd.readthedocs.io/en/stable/user.html#client-connections)
|
|
|
|
You should uncomment/create the following settings in your mpd config:
|
|
|
|
```
|
|
bind_to_address "any" # or a specific ipv4/v6 address
|
|
port "6600"
|
|
```
|
|
|
|
## Configuration
|
|
|
|
<Config config="MPDSourceConfig" fileContent={MPDConfig} name="mpd">
|
|
| Environmental Variable | Required? | Default | Description |
|
|
|------------------------|-----------|------------------|-------------|
|
|
| `MPD_URL` | No | `localhost:6600` | |
|
|
| `MPD_PASSWORD` | No | | |
|
|
</Config> |