mirror of https://github.com/lcpz/lain.git
Updated mpd (markdown)
This commit is contained in:
parent
b57305092f
commit
166bb84837
7
mpd.md
7
mpd.md
|
@ -14,6 +14,12 @@ Now playing songs are notified like this:
|
||||||
| +-------+ |
|
| +-------+ |
|
||||||
+--------------------------------------------------------+
|
+--------------------------------------------------------+
|
||||||
|
|
||||||
|
You need a file like this
|
||||||
|
|
||||||
|
"(front|cover|art|Folder|folder)\.(jpg|jpeg|png|gif)$"
|
||||||
|
|
||||||
|
in the album folder in order to show album art in the notification too.
|
||||||
|
|
||||||
### input table
|
### input table
|
||||||
|
|
||||||
Variable | Meaning | Type | Default
|
Variable | Meaning | Type | Default
|
||||||
|
@ -23,6 +29,7 @@ Variable | Meaning | Type | Default
|
||||||
`host` | MPD server | string | "127.0.0.1"
|
`host` | MPD server | string | "127.0.0.1"
|
||||||
`port` | MPD port | string | "6600"
|
`port` | MPD port | string | "6600"
|
||||||
`music_dir` | Music directory | string | "~/Music"
|
`music_dir` | Music directory | string | "~/Music"
|
||||||
|
`cover_size` | Album art notification size | int | 100
|
||||||
`settings` | User settings | function | empty function
|
`settings` | User settings | function | empty function
|
||||||
|
|
||||||
`settings` can use `mpd_now` table, which contains the following string values:
|
`settings` can use `mpd_now` table, which contains the following string values:
|
||||||
|
|
Loading…
Reference in New Issue