minor cleanup
This commit is contained in:
2
.github/workflows/beets-sync.yml
vendored
2
.github/workflows/beets-sync.yml
vendored
@@ -19,4 +19,6 @@ jobs:
|
|||||||
docker compose restart
|
docker compose restart
|
||||||
sleep 2
|
sleep 2
|
||||||
docker exec -u 1000 beets bash -c 'beet -v import -i -q /managed/*' || true
|
docker exec -u 1000 beets bash -c 'beet -v import -i -q /managed/*' || true
|
||||||
|
# Clean up empty directories after import (but not /managed itself)
|
||||||
|
docker exec -u 1000 beets bash -c 'find /managed -mindepth 1 -type d -empty -delete' || true
|
||||||
echo "Beets sync completed"
|
echo "Beets sync completed"
|
||||||
|
|||||||
@@ -62,17 +62,6 @@ web:
|
|||||||
host: 0.0.0.0
|
host: 0.0.0.0
|
||||||
port: 8337
|
port: 8337
|
||||||
|
|
||||||
# hook:
|
|
||||||
# hooks:
|
|
||||||
# # Delete the source file after successful import
|
|
||||||
# - event: item_imported
|
|
||||||
# command: |
|
|
||||||
# SOURCE_FILE="{item.path}"
|
|
||||||
# if [ -f "$SOURCE_FILE" ]; then
|
|
||||||
# echo "Deleting imported source file: $SOURCE_FILE"
|
|
||||||
# rm -f "$SOURCE_FILE"
|
|
||||||
# fi
|
|
||||||
|
|
||||||
match:
|
match:
|
||||||
strong_rec_thresh: 0.15 # Default: 0.04 (96% match or better = auto-accept)
|
strong_rec_thresh: 0.15 # Default: 0.04 (96% match or better = auto-accept)
|
||||||
medium_rec_thresh: 0.25 # Default: 0.25 (75% match = suggest but ask)
|
medium_rec_thresh: 0.25 # Default: 0.25 (75% match = suggest but ask)
|
||||||
|
|||||||
Reference in New Issue
Block a user