v1.2.0: Customizable notification, removed gotifier for shoutrrr
Caution
Windows binaries are not statically compiled since v1.1.3+3. This is obviously a bug that need to be fixed.
Warning
Configuration breaking change, see below.
Gotifier removed, Shoutrrr by default.
Gotifier has been removed since it's redundant.
Configuration migration:
- Remove the whole
gotifier
block and remove theshoutrrr:
line - De-indent the
shoutrrr
block
notifier:
- gotifier:
- ...
-
- shoutrrr:
- enabled: false
- includeTitleInMessage: false
- urls:
- - 'gotify://gotify.example.com/token'
+ enabled: false
+ includeTitleInMessage: false
+ urls:
+ - 'gotify://gotify.example.com/token'
Customizable notification messages
Messages and title can now be customized:
notifier:
# ...
## The notification formats can be customized.
## Title are automatically prefixed with "fc2-live-dl-go: "
## If the message is empty, the message will be the title.
## Priorities are following those of android:
## Minimum: 0
## Low: 1-3
## Default: 4-7
## High: 8-10
notificationFormats:
## ConfigReloaded is sent when the config is reloaded, i.e. the service restarted.
configReloaded:
enabled: true
# title: "config reloaded"
# message: <empty>
# priority: 10
## Panicked is sent when a critical error happens.
## When this happens, it is recommended to contact the developer and open an issue.
## Available fields:
## - Capture
panicked:
enabled: true
# title: "panicked"
# message: "{{ .Capture }}"
# priority: 10
## Idle is the initial state.
## Available fields:
## - ChannelID
## - Labels
idle:
enabled: false
title: 'watching {{.Labels.EnglishName }}'
# title: "watching {{ .ChannelID }}"
# message: <empty>
# priority: 0
## Preparing files happens when the stream is online, but not downloading.
## Available fields:
## - ChannelID
## - MetaData
## - Labels
preparingFiles:
enabled: false
title: 'preparing files for {{ .Labels.EnglishName }}'
# title: 'preparing files for {{ .MetaData.ProfileData.Name }}'
# message: ''
# priority: 0
## Downloading happens when the stream is online and has emitted a video stream.
## Available fields:
## - ChannelID
## - MetaData
## - Labels
downloading:
enabled: true
title: '{{ .Labels.EnglishName }} is streaming'
# title: "{{ .MetaData.ProfileData.Name }} is streaming"
# message: "{{ .MetaData.ChannelData.Title }}"
# priority: 7
## Post-processing happens when the stream has finished streaming.
## Available fields:
## - ChannelID
## - MetaData
## - Labels
postProcessing:
enabled: false
title: 'post-processing {{ .Labels.EnglishName }}'
# title: "post-processing {{ .MetaData.ProfileData.Name }}"
# message: "{{ .MetaData.ChannelData.Title }}"
# priority: 7
## Finished happens when the stream has finished streaming and post-processing is done.
## Available fields:
## - ChannelID
## - MetaData
## - Labels
finished:
enabled: true
title: '{{ .Labels.EnglishName }} stream ended'
# title: "{{ .MetaData.ProfileData.Name }} stream ended"
# message: "{{ .MetaData.ChannelData.Title }}"
# priority: 7
## Error happens when something bad happens with the downloading of the stream.
## Error like this can be user or developper related.
## Available fields:
## - ChannelID
## - Error
## - Labels
error:
enabled: true
title: 'stream download of {{ .Labels.EnglishName }} failed'
# title: 'stream download of {{ .ChannelID }} failed'
# message: '{{ .Error }}'
# priority: 10
## Canceled happens when a stream download is canceled.
## Available fields:
## - ChannelID
## - Labels
canceled:
enabled: true
title: 'stream download of {{ .Labels.EnglishName }} canceled'
# title: "stream download of {{ .ChannelID }} canceled"
# message: <empty>
# priority: 7
Others
- Removed build metadata in git tag and version
SHA256 Checksums
cf84e8d18be35465b25aa3c60291f05d2c4ee8c1c138a8159ff18e7afb2c4ff1 *fc2-live-dl-go-darwin-amd64
001a3e1bef480b8e168cd7d12b87af9a8b616fdaa94ace64a706afc1a51babbf *fc2-live-dl-go-darwin-arm64
250f3da8d1a484468584b3c07153f01982cd25d90bf9026c115b8303d44abd04 *fc2-live-dl-go-linux-amd64
99fc8a353c0ece8129544306e566882caa693b3098e8574d69038a6aeaea769a *fc2-live-dl-go-linux-arm64
507b6e9bf565a629c369a68b27d0b2b8373d25878984491378666bb33b0cc5d5 *fc2-live-dl-go-linux-riscv64
eff13ec6c437d9548c143d476057539ba41a9408804dfc85115142938fede2b5 *fc2-live-dl-go-windows-amd64.exe
Full Changelog: v1.1.6+1...v1.2.0