-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample.yaml
101 lines (99 loc) · 3.13 KB
/
config.sample.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
## Which service to enable for checking your listening status.
## Only one service can be enabled at a time.
##
## This field is ignored if all of the `services-` prefixed
## features are disabled.
##
## Environment variable: LURE_ENABLE
##
## Available services: lastfm, listenbrainz
enable: lastfm
## Configuration for the services.
##
## This field is ignored if all of the `services-` prefixed
## features are disabled.
##
## Environment variable prefix: LURE_SERVICES__
services:
## Options for the Last.fm service.
##
## Environment variable prefix: LURE_SERVICES__LASTFM__
lastfm:
## Last.fm username to check for listening activity.
##
## Environment variable: LURE_SERVICES__LASTFM__USERNAME
username:
## Last.fm API key to use for checking listening activity.
##
## A `-file` suffix can be added to read the API key from a file.
##
## Environment variable: LURE_SERVICES__LASTFM__API_KEY
## LURE_SERVICES__LASTFM__API_KEY_FILE
api_key:
## Interval in seconds to check for listening activity.
##
## Default: 16
##
## Environment variable: LURE_SERVICES__LASTFM__CHECK_INTERVAL
check_interval: 16
## Options for the ListenBrainz service.
##
## Environment variable prefix: LURE_SERVICES__LISTENBRAINZ__
listenbrainz:
## ListenBrainz username to check for listening activity.
##
## Environment variable: LURE_SERVICES__LISTENBRAINZ__USERNAME
username:
## ListenBrainz API URL to use for checking listening activity.
##
## Environment variable: LURE_SERVICES__LISTENBRAINZ__API_URL
##
## Default: https://api.listenbrainz.org
api_url: https://api.listenbrainz.org
## Interval in seconds to check for listening activity.
##
## Environment variable: LURE_SERVICES__LISTENBRAINZ__CHECK_INTERVAL
##
## Default: 16
check_interval: 16
## Configuration for Revolt.
##
## Environment variable prefix: LURE_REVOLT__
revolt:
## The user status.
##
## Environment variable: LURE_REVOLT__STATUS__
status:
## The status template that will be used.
##
## The following placeholders can be used:
## - %NAME%: The name of the song.
## - %ARTIST%: The artist of the song.
##
## Environment variable: LURE_REVOLT__STATUS__TEMPLATE
##
## Default: 🎵 Listening to %NAME% by %ARTIST%
template: 🎵 Listening to %NAME% by %ARTIST%
## The idle status.
##
## If this option is not set, the status will be returned to
## the previous status when not listening to anything.
##
## Environment variable: LURE_REVOLT__STATUS__IDLE
idle:
## The API URL of the instance.
##
## Environment variable: LURE_REVOLT__API_URL
##
## Default: https://api.revolt.chat
api_url: https://api.revolt.chat
## The session token of the account.
##
## To obtain a new session token for lure, run `lure config revolt get-session-token`
## and follow the provided steps.
##
## A `-file` suffix can be added to read the API key from a file.
##
## Environment variable: LURE_REVOLT__SESSION_TOKEN
## LURE_REVOLT__SESSION_TOKEN_FILE
session_token: