From f968e8908ffd6d75d09dcdb7dd0793446cd9d57d Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Thu, 8 Jul 2021 15:53:36 +0200 Subject: [PATCH] Add player config example --- playerconfig.ini | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 playerconfig.ini diff --git a/playerconfig.ini b/playerconfig.ini new file mode 100644 index 0000000..7f9fcc3 --- /dev/null +++ b/playerconfig.ini @@ -0,0 +1,43 @@ +# This is a player configuration example for QuickPlay. +# Everything after either ';' or '#' is ignored. +# Spaces around '=' and at both ends of each line are trimmed. +# Everything is case-sensitive and UTF-8. +# Multiple sections are forbidden, so are same keys in same section. +# (Really, this is just an encoding of a Dictionary>) + +# Section 'general' is special, it declares general config (well...) of the +# player +[general] +# Name is shown in the app to aid distinguishing between multiple possible players +name = Example client +# Type will determine what kind of player should be used. Currently it is not used. +# More generally, keys that are not used are ignored. They are still parsed, +# though, and should be considered reserved by QuickPlay (i.e. not used arbitrarily). +type = MPD +# Connection specifies where to connect. Usually it is just IP address, but if +# you want to specify port, use notation ip.ad.dr.ess@port (i.e. separate using '@'). +connection = 198.51.100.3 + +# All other sections represent individual songs / playables. +# The section name is the name the song will be visible as. +[Breakfast] +# Expected time of playing. Currently unused, will be used for sorting. +# Allowed format: HH:MM. +time = 15:00 +# Path, under which MPD can find the song. Can contain even strange characters, +# but cannot start with whitespace due to trimming. (Frankly, if your +# filenames start with whitespace, you have much bigger problems.) +path = Unsorted/Kevin_MacLeod/Polkas/Snare Bounce Polka.mp3 + +# Create as many playables as you wish. Remember, no repeating of section names. +[Lunch] +time = 16:00 +path = Classical/MacLeod K. - Dance of the Sugar Plum Fairy (P.I.Tchaikovsky).mp3 + +# Even section names are UTF-8, so we can use non-plain-ASCII characters. +[Café] +time = 22:00 +path = Irish/Fiddles McGinty.mp3 + +# All the mentioned songs are from Kevin MacLeod under CC BY 4.0 licence. Not +# that you can hear them, but the attribution has to be somewhere :-)