]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/client175/site.conf
client175: update to 0.7.
[people/pmueller/ipfire-2.x.git] / config / client175 / site.conf
CommitLineData
35f90335
AF
1# Edit this file as needed and save it as: site.conf
2# The application will work without it but tag editing will not work
3# without saving this file as site.conf with the correct music_directory
4# set.
5
6[global]
7# Change these to control a remote mpd instance. Be aware that tag editing
8# will not work if the music files cannot be opened with read/write access
9# from this server via the music_directory option configured below.
10mpd_host: "localhost"
11mpd_port: 6600
9c27eca8 12;server_root: "/client175"
35f90335 13
75db3817
AF
14# Location of the music directory, required for editing tags. This variable
15# is also used to identify the folder for a given file in local cover lookups.
16music_directory: "/var/mp3"
35f90335
AF
17
18# Only change socket_host if you have multiple network interfaces and want
19# to limit which one it listens on. "0.0.0.0" listens on all interfaces.
20server.socket_host: "0.0.0.0"
21
9c27eca8 22# Don't run this as root in order to use port 80! This app was not built
75db3817 23# to be secure, it must be run with limited access. Default is port 8080.
35f90335
AF
24server.socket_port: 8800
25
75db3817
AF
26# Setting the 'run_as' variable will allow you to start the process as root
27# and drop the privelages to a restricted user account during server startup.
9c27eca8 28# This feature is useful when starting client175 during the init process
75db3817
AF
29# and/or when starting as root to run on port 80.
30;run_as: "user"
31
9c27eca8 32# Setting environment to production removes the verbose console output
75db3817
AF
33# and disables auto-reload on file changes.
34environment: "production"
35
36# Setting include_playlist_counts to True will cause the server to count the
37# number of songs and total playtime when listing saved playlists. If you have
38# large playlists this will cause a delay whenever a stored playlist is changed.
39include_playlist_counts: True
35f90335
AF
40
41# List of local locations to search for cover art. The server will check
9c27eca8 42# these locations for covers before using web services. The following
35f90335
AF
43# variables are available fo substitution:
44# {folder} Folder a given file is in
45# {artist} Artist name
46# {album} Album name
47# This variable must be in the form of a python list.
48local_covers: ["{folder}/folder.jpg", "{folder}/.folder.png"]