client175: update to 0.7.
[ipfire-2.x.git] / config / client175 / site.conf
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.
10 mpd_host: "localhost"
11 mpd_port: 6600
12 ;server_root: "/client175"
13
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.
16 music_directory: "/var/mp3"
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.
20 server.socket_host: "0.0.0.0"
21
22 # Don't run this as root in order to use port 80! This app was not built
23 # to be secure, it must be run with limited access. Default is port 8080.
24 server.socket_port: 8800
25
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.
28 # This feature is useful when starting client175 during the init process
29 # and/or when starting as root to run on port 80.
30 ;run_as: "user"
31
32 # Setting environment to production removes the verbose console output
33 # and disables auto-reload on file changes.
34 environment: "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.
39 include_playlist_counts: True
40
41 # List of local locations to search for cover art. The server will check
42 # these locations for covers before using web services. The following
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.
48 local_covers: ["{folder}/folder.jpg", "{folder}/.folder.png"]