* Access HTTP client via interface to allow for testing
* [Minor] Fix typo
* Add initial test cases for ListenBrainz scrobbler
* Fix linter error for insecure TLS in tests
* Use Testify for unit tests
* Move model into separate file
* Embed JSON responses into tests
* [Minor] Fix test function names
* Exclude paths based on new exclude pattern option
* Add test for excluded paths
* Add exclude pattern option to docs
* Set exclude regexp only if given argument is set
* Update scanner/scanner.go
---------
Co-authored-by: Senan Kelly <senan@senan.xyz>
- Sublime music: update link as it has moved to GitHub
- Add Strawberry music player (Clementine fork) for QT and KDE desktops
- Add Ultrasonic Android app
Make example configuration self documenting
Most services on *nix type systems have configuration files that are
self documenting. This usually entails:
- listing all configuration options with some sane default values
- commenting out options that do not need to be set or match the binary
default value
- some explanatory comments where needed
This simplifies management of the service as configuration can be
understood and modified in place without having to open up the internet.
This diff also groups settings into logical blocks:
- basic server settings
- directory settings
- behavioural settings
Improve contrib system file behaviour
This diff improves gonic serive files in the following way:
- Define a sane default for gonig cache, which will map well to
established cache paths on most Linux systems
- Update service file to use StateDirectory=, CacheDirectory= directives
to create /var/lib/gonic and /var/cache/gonic directories respectively
- Add a tmpfilesd sample configuration that will automatically clean
cache files if they are older than 7 days
- Add sysysers configuration file that can be used in sysusers.d to
create relevant gonic user and group during installation.
This diff adds the 192kbps OPUS transcoding profile named
opus_audiophile. While 128kbps is already near transparent and good
for most use cases, sometimes (or by some people) a bit more is preferred.
These are typically for dedicated high quality wireless audio link
(A2DP-bluetooth) enabled headphones and Hi-Fi adapters.
The 160-192kbps range is considered to be transparent with very low
chance of artifacts (only with very few and specific samples)[1][2].
[1] https://wiki.hydrogenaud.io/index.php?title=Opus
[2] https://ceur-ws.org/Vol-2654/paper25.pdf