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