Restored recommendations based on acoustic similarities (using musicnn), fixes #301

This commit is contained in:
emeric
2026-06-02 08:32:43 +02:00
parent 1524106124
commit eb7f65878f
227 changed files with 10324 additions and 4673 deletions
+8 -2
View File
@@ -18,9 +18,9 @@ db-integrity-check = "quick";
# Output db queries on stdout
# Use this only for debugging purpose, as this may impact performance
db-show-queries = false;
# Record query plans for database queries.
# Record stats for database queries.
# Use this only for debugging purposes, as this may impact performance
db-record-query-plans = false;
db-profile-queries = false;
# Listen port/addr of the web server
listen-port = 5082;
@@ -129,6 +129,12 @@ scanner-parser-read-style = "average";
# Number of threads to use for parallelized tasks (e.g., scanning file metadata). 0 means half the number of logical CPUs.
scanner-thread-count = 0;
# Path to the musicNN model
musicnn-model-path = "/usr/share/lms/models/MSD_musicnn_embedding.onnx";
# Maximum number of non-overlapping patches to extract per track. More patches means better accuracy but also longer processing time. Must be > 0.
musicnn-max-patch-count-per-track = 20;
# Refresh period for podcast feeds in hours (must be greater or equal than 1)
podcast-refresh-period-hours = 2;