myMPD
Internal API documentation
Loading...
Searching...
No Matches
config_def.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-3.0-or-later
3 myMPD (c) 2018-2026 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
10
11#ifndef MYMPD_LIB_CONFIG_DEF_H
12#define MYMPD_LIB_CONFIG_DEF_H
13
14#include "dist/sds/sds.h"
15#include "src/lib/album.h"
16
17#include <stdbool.h>
18
68
69#endif
Album implementation.
Definition album.h:37
Definition config_def.h:22
bool stickers_pad_int
enable the padding of integer sticker values
Definition config_def.h:35
sds scriptacl
IPv4 ACL string for the /api/script endpoint.
Definition config_def.h:61
bool ssl_send_chain
Send server and ca certificate.
Definition config_def.h:65
bool stickers
enable sticker support
Definition config_def.h:34
bool scripts_external
allow execution of external scripts
Definition config_def.h:37
bool log_to_syslog
enable syslog logging
Definition config_def.h:26
time_t startup_time
unix timestamp of startup (not configurable)
Definition config_def.h:23
int cache_misc_keep_days
expiration time for misc cache files in days
Definition config_def.h:42
unsigned jukebox_queue_length_song_min
Minimum length of the internal jukebox queue for songs.
Definition config_def.h:48
int ssl_port
https port to listen
Definition config_def.h:46
int http_port
http port to listen
Definition config_def.h:44
sds custom_css
User defined CSS.
Definition config_def.h:56
unsigned smartpls_per_tag_value_max
Max. number of tag values to create a smart playlist for.
Definition config_def.h:52
int cache_lyrics_keep_days
expiration time for lyrics cache files in days
Definition config_def.h:41
bool http
enable listening on plain http_port
Definition config_def.h:32
sds mympd_uri
uri to resolve mympd:// uris
Definition config_def.h:59
bool bootstrap
true if bootstrap command line option is set
Definition config_def.h:25
sds workdir
working directory
Definition config_def.h:28
unsigned jukebox_queue_length_album
Length of the internal jukebox queue for albums.
Definition config_def.h:49
int cache_thumbs_keep_days
expiration time for thumbs cache files in days
Definition config_def.h:43
bool webradiodb
enable WebradioDB support
Definition config_def.h:36
sds ssl_san
additional names for SAN of the self generated certificate
Definition config_def.h:64
int cache_http_keep_days
expiration time for HTTP cache files in days
Definition config_def.h:40
sds pin_hash
hash of the pin
Definition config_def.h:60
sds custom_js
User defined JavaScript.
Definition config_def.h:57
sds acl
IPv4 ACL string.
Definition config_def.h:53
bool ssl
enable listening on ssl_port
Definition config_def.h:33
bool state_save
Save the myMPD state files regularly.
Definition config_def.h:38
bool cert_check
enable certificate checking for outbound http connections
Definition config_def.h:30
bool custom_cert
false if myMPD uses the self generated certificates
Definition config_def.h:31
sds ssl_key
filename of the private key
Definition config_def.h:63
unsigned jukebox_queue_length_song
Length of the internal jukebox queue for songs.
Definition config_def.h:47
struct t_albums_config albums
album specific config
Definition config_def.h:66
int cache_cover_keep_days
expiration time for cover cache files in days
Definition config_def.h:39
sds ca_certs
System CA certificates.
Definition config_def.h:54
sds ssl_cert
filename of the certificate
Definition config_def.h:62
unsigned jukebox_queue_length_album_min
Minimum length of the internal jukebox queue for albums.
Definition config_def.h:50
sds ca_cert_store
System CA certificate store file.
Definition config_def.h:55
unsigned plist_len_max
Max. length of a playlist.
Definition config_def.h:51
sds cachedir
cache directory
Definition config_def.h:27
sds http_host
ip to bind the webserver
Definition config_def.h:58
int loglevel
loglevel
Definition config_def.h:45