From cf1f8c2c5398e50c17c87901217b0cd3ec5e7264 Mon Sep 17 00:00:00 2001 From: Emeric Date: Thu, 18 Oct 2018 14:08:05 +0200 Subject: [PATCH] Update media player mpchc (#6924) --- .../_components/media_player.mpchc.markdown | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/source/_components/media_player.mpchc.markdown b/source/_components/media_player.mpchc.markdown index 98f6846f3a1..a963faf5406 100644 --- a/source/_components/media_player.mpchc.markdown +++ b/source/_components/media_player.mpchc.markdown @@ -38,8 +38,19 @@ media_player: host: http://192.168.0.123 ``` -Configuration variables: - -- **host** (*Required*): The host name or address of the device that is running MPC-HC. -- **port** (*Optional*): The port number. Defaults to 13579. -- **name** (*Optional*): The name of the device used in the frontend. +{% configuration %} +host: + description: The host name or IP address of the device that is running MPC-HC. + required: true + type: string +port: + description: The port number of the device. + required: false + default: 13579 + type: integer +name: + description: The name of the device used in the frontend. + required: false + default: MPC-HC + type: string +{% endconfiguration %}