use xdg variables and parallelize some processes

This commit is contained in:
2025-10-08 13:15:54 +02:00
parent e8ed114bc2
commit c7ee2e997f
5 changed files with 28 additions and 19 deletions

View File

@@ -16,7 +16,7 @@
if [ ! "${CACHE_LOADED:-}" ]; then
# Base path for cache
CACHEDIR="$HOME/.cache/$APP_NAME"
CACHEDIR="${XGD_CACHE_HOME:-"$HOME/.cache"}/$APP_NAME"
# Directory names for cache types
TYPE_ARTIST="artist"
TYPE_RELEASEGROUP="releasegroup"