Ships the fresh-start schema cleanup: rebuilt explore catalog index pipeline (dump import, artifact fetch/build, incremental listen-count refresh), a new download subsystem (Lidarr/Prowlarr/qBittorrent/SABnzbd/ slskd/yt-dlp providers, staging, reconciliation, wanted list), and the supporting schema/query/store changes across backend and frontend. Also includes two smaller follow-ups: bump the central index's rebuild-after cadence from 90 to 180 days, and remove the Explore "library only" online/offline toggle entirely (frontend-only, no backend counterpart) rather than carry unused UI/state. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y2Agd9af5hE7qzti2ackiS
21 lines
870 B
Go
21 lines
870 B
Go
package explore
|
|
|
|
// Asset directory names under the user data directory.
|
|
//
|
|
// These are exported so the maintenance janitor can sweep them without
|
|
// importing the internals of the providers that write them. Each is
|
|
// catalogued in backend/datamap as cache data: rebuildable from the
|
|
// network, but expensive enough that eviction is by age rather than
|
|
// tied to the lifetime of anything else.
|
|
const (
|
|
// ArtistImageDirName holds one subdirectory per artist MBID, each
|
|
// containing fetched photos, a primary.jpg with its thumbnails, and
|
|
// possibly a .miss marker recording that no artwork was found.
|
|
ArtistImageDirName = "artist-images"
|
|
|
|
// CoverArtCacheDirName holds Cover Art Archive thumbnails fetched
|
|
// while browsing Explore, named by release-group MBID. Nothing in
|
|
// the database references these files.
|
|
CoverArtCacheDirName = "cover-art-cache"
|
|
)
|