Migrate Echoion to VoidLibrary: toolchain + core infrastructure
This commit is contained in:
1 parent
2f23b4577b
commit
d0259afa0d
23 files changed
+4124
-24
No files matched your search
+91
-17
@@ -1,49 +1,123 @@
|
||||
{
|
||||
"_schema": "Echoion Music Bot Configuration v2.0",
|
||||
"_documentation": "https://github.com/faumaray/echoion/wiki/Configuration",
|
||||
|
||||
"bot": {
|
||||
"_section": "Core Bot Settings",
|
||||
"botName": "Echoion",
|
||||
"commandPrefix": "!",
|
||||
"defaultVolume": 0.5,
|
||||
"maxQueueSize": 100,
|
||||
"trackTimeout": 30000,
|
||||
|
||||
"_reconnection": "Auto-reconnection settings",
|
||||
"autoReconnect": true,
|
||||
"reconnectDelay": 5000,
|
||||
"maxReconnectAttempts": 5,
|
||||
|
||||
"_audio": "Audio quality settings",
|
||||
"preferredQuality": "High",
|
||||
"allowPlaylistImports": true,
|
||||
"maxQueueSize": 100,
|
||||
"trackTimeout": 30000,
|
||||
"allowPlaylistImports": true
|
||||
},
|
||||
|
||||
"youtube": {
|
||||
"_section": "YouTube Integration",
|
||||
"_apiKey": "Optional: YouTube Data API v3 key for faster searches",
|
||||
"youtubeApiKey": null,
|
||||
|
||||
"_cookies": "Fix 'Sign in to confirm' errors using ONE of these methods:",
|
||||
"_cookies_method_1": "Path to cookies.txt file (export from browser extension)",
|
||||
"youtubeCookiesPath": null,
|
||||
"_cookies_method_2": "Use cookies directly from browser: chrome, firefox, safari, edge",
|
||||
"cookiesFromBrowser": null,
|
||||
|
||||
"_performance": "yt-dlp performance tuning",
|
||||
"ytDlpMaxConcurrent": 4,
|
||||
"ytDlpAsyncEnabled": true,
|
||||
|
||||
"_urlShortening": "Shorten YouTube links using faumaray.ru",
|
||||
"enableUrlShortening": true
|
||||
},
|
||||
|
||||
"network": {
|
||||
"_section": "Network & Proxy Settings",
|
||||
"_proxy": "Optional proxy configuration for YouTube access",
|
||||
"proxyType": "HTTP",
|
||||
"proxyHost": null,
|
||||
"proxyPort": null,
|
||||
"proxyUsername": null,
|
||||
"proxyPassword": null,
|
||||
"proxyType": "HTTP",
|
||||
"youtubeApiKey": null,
|
||||
|
||||
"_rpc": "WebSocket RPC server for Desktop/API clients",
|
||||
"rpcEnabled": true,
|
||||
"rpcPort": 8765,
|
||||
"_comment_youtube_cookies": "To fix YouTube 'Sign in to confirm you're not a bot' error, use ONE of these options:",
|
||||
"_comment_option_1": "Option 1: Path to a cookies.txt file exported from your browser",
|
||||
"youtubeCookiesPath": null,
|
||||
"_comment_option_2": "Option 2: Use cookies directly from browser (chrome, firefox, safari, edge)",
|
||||
"cookiesFromBrowser": null,
|
||||
"_comment_yt_dlp": "yt-dlp performance settings:",
|
||||
"ytDlpMaxConcurrent": 4,
|
||||
"ytDlpAsyncEnabled": true,
|
||||
"_comment_url_shortening": "Enable faumaray.ru link shortening for track links in messages",
|
||||
"enableUrlShortening": true
|
||||
"rpcBindAddress": "127.0.0.1"
|
||||
},
|
||||
"server": {
|
||||
|
||||
"teamspeak": {
|
||||
"_section": "TeamSpeak Server Connection",
|
||||
"address": "localhost",
|
||||
"port": 9987,
|
||||
"serverPassword": "",
|
||||
"nickname": "EchoionBot",
|
||||
|
||||
"_channel": "Default channel configuration",
|
||||
"defaultChannelId": null,
|
||||
"channelPassword": null,
|
||||
|
||||
"_permissions": "Server group IDs for access control",
|
||||
"adminGroups": [6, 7],
|
||||
"djGroups": [8],
|
||||
"bannedGroups": []
|
||||
},
|
||||
|
||||
"security": {
|
||||
"_section": "Security & Authentication",
|
||||
"requireAuthForAdmin": true,
|
||||
"maxLoginAttempts": 5,
|
||||
"lockoutDuration": 300000,
|
||||
"sessionTimeout": 3600000,
|
||||
"enableAuditLog": true
|
||||
"enableAuditLog": true,
|
||||
|
||||
"_api": "API authentication for RPC clients",
|
||||
"apiKey": null,
|
||||
"allowCors": false,
|
||||
"corsOrigins": ["http://localhost:3000"]
|
||||
},
|
||||
|
||||
"features": {
|
||||
"_section": "Feature Toggles",
|
||||
"enableHotReload": true,
|
||||
"enableAutoReload": false,
|
||||
"enableAutoUpdateCheck": true,
|
||||
|
||||
"_playback": "Playback behavior settings",
|
||||
"autoStartOnSubscribe": true,
|
||||
"pauseOnEmptySubscribers": true,
|
||||
"resumeOnSubscriberReturn": true,
|
||||
|
||||
"_queue": "Queue management settings",
|
||||
"shuffleMode": "random",
|
||||
"repeatMode": "off",
|
||||
"maxHistorySize": 50
|
||||
},
|
||||
|
||||
"advanced": {
|
||||
"_section": "Advanced Settings (Modify with caution)",
|
||||
"_audio": "Low-level audio configuration",
|
||||
"sampleRate": 192000,
|
||||
"channels": 2,
|
||||
"bufferSize": 7680,
|
||||
|
||||
"_threading": "Thread pool configuration",
|
||||
"commandThreadPoolSize": 4,
|
||||
"networkThreadPoolSize": 4,
|
||||
"decoderThreads": 2,
|
||||
|
||||
"_cache": "Cache and temporary file settings",
|
||||
"cacheEnabled": true,
|
||||
"cacheMaxSize": "1GB",
|
||||
"cacheTTL": 86400,
|
||||
"tempCleanupInterval": 3600
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user