Commit Graph

9 Commits

Author SHA1 Message Date
Elara 27cd275ddb Run formatter
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-03 09:18:57 -08:00
Hunman 5f5c67f7cc Warn when Koanf read fails (#47)
ci/woodpecker/push/woodpecker Pipeline was successful Details
Figured out the problem in issue #32, the toml file syntax was invalid (I had `'` instead of `"` at some values), but there was nothing in the logs about it.

Moved the config reading (and watching) into the same function, which logs the error as a warning.

I wanted to try moving the whole `if` into a separate function, but I kept getting errors when I tried to extract the `path` from the `File`, so I have that attempt in a separate branch not in this pull request: 5a84bf8148

Reviewed-on: https://gitea.arsenm.dev/Arsen6331/itd/pulls/47
Co-authored-by: Hunman <sanyi.exe@gmail.com>
Co-committed-by: Hunman <sanyi.exe@gmail.com>
2023-01-02 09:05:23 +00:00
Elara 73a679d10b Move mpris out of pkg directory and run gofumpt
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-24 17:36:25 -08:00
Elara 66618e5bf0 Add metrics collection via sqlite 2022-05-10 18:03:37 -07:00
Elara 52b85ab361 Allow changing bluetooth adapter ID 2022-05-02 20:17:38 -07:00
Elara 4b2694ee0d Switch from viper to koanf 2022-02-21 11:20:02 -08:00
Elara 50b17d3266 Update default values to reflect new config fields 2021-11-01 11:28:55 -07:00
Elara 7786ea1d58 Fix debug config paths 2021-08-24 08:55:22 -07:00
Elara 6e16aa7a7a Add config defaults and run go fmt 2021-08-24 08:54:08 -07:00