[modules/mpd] Document supported tags in module docstring

This commit is contained in:
user 2019-12-27 08:58:57 +02:00
parent 47bb8b1f80
commit 8885646e4e

View file

@ -7,7 +7,31 @@ Requires the following executable:
* mpc * mpc
Parameters: Parameters:
* mpd.format: Format string for the song information. Tag values can be put in curly brackets (i.e. {artist}) * mpd.format: Format string for the song information.
Supported tags (see `man mpc` for additional information)
* {name}
* {artist}
* {album}
* {albumartist}
* {comment}
* {composer}
* {date}
* {originaldate}
* {disc}
* {genre}
* {performer}
* {title}
* {track}
* {time}
* {file}
* {id}
* {prio}
* {mtime}
* {mdate}
Additional tags:
* {position} - position of currently playing song
not to be confused with %position% mpc tag
* {duration} - duration of currently playing song
* mpd.host: MPD host to connect to. (mpc behaviour by default) * mpd.host: MPD host to connect to. (mpc behaviour by default)
""" """