myMPD
Internal API documentation
Loading...
Searching...
No Matches
t_config Struct Reference

#include <config_def.h>

Collaboration diagram for t_config:

Data Fields

time_t startup_time
 unix timestamp of startup (not configurable)
bool bootstrap
 true if bootstrap command line option is set
bool log_to_syslog
 enable syslog logging
sds cachedir
 cache directory
sds workdir
 working directory
bool cert_check
 enable certificate checking for outbound http connections
bool custom_cert
 false if myMPD uses the self generated certificates
bool http
 enable listening on plain http_port
bool ssl
 enable listening on ssl_port
bool stickers
 enable sticker support
bool stickers_pad_int
 enable the padding of integer sticker values
bool webradiodb
 enable WebradioDB support
bool scripts_external
 allow execution of external scripts
bool state_save
 Save the myMPD state files regularly.
int cache_cover_keep_days
 expiration time for cover cache files in days
int cache_http_keep_days
 expiration time for HTTP cache files in days
int cache_lyrics_keep_days
 expiration time for lyrics cache files in days
int cache_misc_keep_days
 expiration time for misc cache files in days
int cache_thumbs_keep_days
 expiration time for thumbs cache files in days
int http_port
 http port to listen
int loglevel
 loglevel
int ssl_port
 https port to listen
unsigned jukebox_queue_length_song
 Length of the internal jukebox queue for songs.
unsigned jukebox_queue_length_song_min
 Minimum length of the internal jukebox queue for songs.
unsigned jukebox_queue_length_album
 Length of the internal jukebox queue for albums.
unsigned jukebox_queue_length_album_min
 Minimum length of the internal jukebox queue for albums.
unsigned plist_len_max
 Max. length of a playlist.
unsigned smartpls_per_tag_value_max
 Max. number of tag values to create a smart playlist for.
sds acl
 IPv4 ACL string.
sds ca_certs
 System CA certificates.
sds ca_cert_store
 System CA certificate store file.
sds custom_css
 User defined CSS.
sds custom_js
 User defined JavaScript.
sds http_host
 ip to bind the webserver
sds mympd_uri
 uri to resolve mympd:// uris
sds pin_hash
 hash of the pin
sds scriptacl
 IPv4 ACL string for the /api/script endpoint.
sds ssl_cert
 filename of the certificate
sds ssl_key
 filename of the private key
sds ssl_san
 additional names for SAN of the self generated certificate
bool ssl_send_chain
 Send server and ca certificate.
struct t_albums_config albums
 album specific config

Detailed Description

Static myMPD configuration read at startup from files / environment


The documentation for this struct was generated from the following file: