Settings

The Settings class contains all configuration settings for Melon. See Configure Melon for more info.

Properties

Property Type Description
MongoDbConnectionString string? Connection string for MongoDB.
LibraryPaths List<string> Paths to music library directories.
ArtistSplitIndicators List<string> Indicators to split multiple artists in metadata.
GenreSplitIndicators List<string> Indicators to split multiple genres in metadata.
ListeningURL string URL where Melon listens for connections.
DefaultLanguage string Default language setting.
JWTExpireInMinutes int Expiration time for JWT tokens in minutes.
Text Color Color setting for text.
ShadedText Color Color setting for shaded text.
BackgroundText Color Color setting for background text.
Highlight Color Color setting for highlights.
Melon Color Color setting for Melon branding.
Error Color Color setting for error messages.
UseMenuColor bool Indicates whether to use menu color settings.
QueueCleanupWaitInHours double Time to wait before cleaning up queues, in hours.

ShortSettings

The ShortSettings class exposes a subset of the currently loaded Settings to plugins. For more info, see Plugins

Properties

Same as the relevant properties in the Settings class.

Constructors