You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QuickPlay/playerconfig.ini

44 lines
2.0 KiB
INI

# 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<string, Dictionary<string, string>>)
# 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 :-)