Repository navigation
Expand file tree
/
Copy pathpylav.example.yaml
More file actions
38 lines (32 loc) · 3.86 KB
/
Copy pathpylav.example.yaml
File metadata and controls
38 lines (32 loc) · 3.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PYLAV__POSTGRES_HOST: localhost # The full connection domain of the Postgres server
PYLAV__POSTGRES_PORT: 5432 # The port the Postgres server is using
PYLAV__POSTGRES_SOCKET: # Full path to socket directory i.e /var/run/postgresql, if this is provided the port and host args are discarded
PYLAV__POSTGRES_PASSWORD: changeme # The password for the user pylav should use
PYLAV__POSTGRES_USER: changeme # The Postgres user that pylav should login as
PYLAV__POSTGRES_DB: pylav_db # The user created Postgres DB which pylav should use
# Warning: This will require changes to the Postgres server settings
# Please read https://stackoverflow.com/questions/30778015/how-to-increase-the-max-connections-in-postgres for more information on the following setting
PYLAV__POSTGRES_CONNECTIONS: 100 # The number of connections to the Postgres server
PYLAV__REDIS_FULL_ADDRESS_RESPONSE_CACHE: # Optional Leave "null" so that it is not used.
PYLAV__JAVA_EXECUTABLE: java # The full absolute path to the java executable to be used by the managed node - defaults to `java`
PYLAV__EXTERNAL_UNMANAGED_HOST: localhost # host address of the node to connect to i.e `lava.link` without the connection protocol (i.e without http://, https://, ws:// or wss://)
PYLAV__EXTERNAL_UNMANAGED_PORT: 2154 # Port to connect to the specified unmanaged external node
PYLAV__EXTERNAL_UNMANAGED_PASSWORD: youshallnotpass # Password of the specified unmanaged external node - case sensitive
PYLAV__EXTERNAL_UNMANAGED_SSL: false # Whether to use a secured connection (Server must support it i.e https:// and wss://) - Values are `true` or `false` - case sensitive
PYLAV__EXTERNAL_UNMANAGED_NAME: External Node # Name of the external node
PYLAV__TASK_TIMER_UPDATE_BUNDLED_PLAYLISTS_DAYS: 1 # How many days to wait between updates - Minimum 1 Day.
PYLAV__TASK_TIMER_UPDATE_BUNDLED_EXTERNAL_PLAYLISTS_DAYS: 7 # How many days to wait between updates - Minimum 7 Days.
PYLAV__TASK_TIMER_UPDATE_EXTERNAL_PLAYLISTS_DAYS: 7 # How many days to wait between updates - Minimum 7 Days.
# Please note that if this is enable, multiple bots should not share the same database, as reads/writes will not be synced.
PYLAV__READ_CACHING_ENABLED: false # Whether to cache the postgres queries - Values are `true` or `false` - case sensitive
PYLAV__DEFAULT_SEARCH_SOURCE: dzsearch # Defaults to dzsearch - Possible values are dzsearch (Deezer), spsearch (Spotify), amsearch (Apple Music), ytmsearch (YouTube Music), ytsearch (YouTube)
PYLAV__MANAGED_NODE_SPOTIFY_CLIENT_ID: CHANGE_ME # Spotify Client ID - Required for Spotify tracks to work with the managed node
PYLAV__MANAGED_NODE_SPOTIFY_CLIENT_SECRET: CHANGE_ME # Spotify Client Secret - Required for Spotify tracks to work with the managed node
PYLAV__MANAGED_NODE_SPOTIFY_COUNTRY_CODE: US # Spotify Country Code
PYLAV__MANAGED_NODE_APPLE_MUSIC_API_KEY: # Apple Music API Key - Optional - Useful if you already have an Apple developer account
PYLAV__MANAGED_NODE_APPLE_MUSIC_COUNTRY_CODE: US # Apple Music Country Code
PYLAV__MANAGED_NODE_YANDEX_MUSIC_ACCESS_TOKEN: # Yandex Music Access Token - Required for Yandex Music tracks to work with the managed node
PYLAV__MANAGED_NODE_DEEZER_KEY: id58zow5hmqhdv24zil4znth3ywy8prt9-dizzzrlba8q4h2al0ywmhp2zg-1d5g # Deezer Key - Required for Deezer tracks to work with the managed node, leave empty unless you know what you are doing
PYLAV__LOCAL_TRACKS_FOLDER: # The folder where local tracks are stored - Leave null if you do not want to use local tracks
PYLAV__DATA_FOLDER: # The folder where the config files are stored - Leave null to use a OS appropriate default
PYLAV__DEFAULT_PLAYER_VOLUME: 25 # The default volume of the player - Values are 0-100