mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-10 07:58:39 -05:00
fix: use unified download structure for cache and permanent files
- Cache mode now uses downloads/cache/ instead of cache/Music/ - Permanent mode now uses downloads/permanent/ instead of downloads/ - Kept files already use downloads/kept/ - All download paths now unified under downloads/ base directory
This commit is contained in:
@@ -1409,8 +1409,8 @@ public class AdminController : ControllerBase
|
||||
library = new
|
||||
{
|
||||
downloadPath = _subsonicSettings.StorageMode == StorageMode.Cache
|
||||
? Path.Combine("cache", "Music")
|
||||
: (_configuration["Library:DownloadPath"] ?? "./downloads"),
|
||||
? Path.Combine(_configuration["Library:DownloadPath"] ?? "./downloads", "cache")
|
||||
: Path.Combine(_configuration["Library:DownloadPath"] ?? "./downloads", "permanent"),
|
||||
keptPath = Path.Combine(_configuration["Library:DownloadPath"] ?? "./downloads", "kept"),
|
||||
storageMode = _subsonicSettings.StorageMode.ToString(),
|
||||
cacheDurationHours = _subsonicSettings.CacheDurationHours,
|
||||
|
||||
Reference in New Issue
Block a user