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-2025 Juergen Mang <mail@jcgames.de>
4 https://github.com/jcorporation/mympd
5*/
6
11#ifndef MYMPD_LIB_CONFIG_DEF_H
12#define MYMPD_LIB_CONFIG_DEF_H
13
14#include "compile_time.h"
15
16#include "dist/sds/sds.h"
17#include "mpd/tag.h"
18
19#include <stdbool.h>
20
25 ALBUM_MODE_SIMPLE = 0,
26 ALBUM_MODE_ADV
27};
28
34 enum mpd_tag_type group_tag;
35};
36
73
74#endif
album_modes
Definition config_def.h:24
Definition config_def.h:32
enum album_modes mode
enable advanced albums
Definition config_def.h:33
enum mpd_tag_type group_tag
additional group tag for albums
Definition config_def.h:34
Definition config_def.h:40
bool stickers_pad_int
enable the padding of integer sticker values
Definition config_def.h:49
sds scriptacl
IPv4 ACL string for the /api/script endpoint.
Definition config_def.h:65
sds user
username to drop privileges
Definition config_def.h:69
bool stickers
enable sticker support
Definition config_def.h:48
bool log_to_syslog
enable syslog logging
Definition config_def.h:45
time_t startup_time
unix timestamp of startup (not configurable)
Definition config_def.h:71
int cache_misc_keep_days
expiration time for misc cache files in days
Definition config_def.h:55
int ssl_port
https port to listen
Definition config_def.h:59
int http_port
http port to listen
Definition config_def.h:57
bool first_startup
true if it is the first myMPD startup (not configurable)
Definition config_def.h:43
int cache_lyrics_keep_days
expiration time for lyrics cache files in days
Definition config_def.h:53
bool http
enable listening on plain http_port
Definition config_def.h:44
sds mympd_uri
uri to resolve mympd:// uris
Definition config_def.h:63
bool bootstrap
true if bootstrap command line option is set
Definition config_def.h:41
sds workdir
working directory
Definition config_def.h:70
int cache_thumbs_keep_days
expiration time for thumbs cache files in days
Definition config_def.h:54
bool webradiodb
enable webradiodb support
Definition config_def.h:50
sds ssl_san
additional names for SAN of the self generated certificate
Definition config_def.h:68
int cache_http_keep_days
expiration time for HTTP cache files in days
Definition config_def.h:56
sds pin_hash
hash of the pin
Definition config_def.h:64
sds acl
IPv4 ACL string.
Definition config_def.h:60
bool ssl
enable listening on ssl_port
Definition config_def.h:47
bool custom_cert
false if myMPD uses the self generated certificates
Definition config_def.h:42
sds ssl_key
filename of the private key
Definition config_def.h:67
struct t_albums_config albums
album specific config
Definition config_def.h:51
int cache_cover_keep_days
expiration time for cover cache files in days
Definition config_def.h:52
bool save_caches
true = save caches between restart
Definition config_def.h:46
sds ssl_cert
filename of the certificate
Definition config_def.h:66
sds cachedir
cache directory
Definition config_def.h:61
sds http_host
ip to bind the webserver
Definition config_def.h:62
int loglevel
loglevel
Definition config_def.h:58