navidrome/cmd
tomleb 257ccc5f43
Allow configuring cache folder (#2357)
* Set all clients to dev_download for make get-music

* Use multiple TranscodingCache instances in tests

This fixes flaky tests. The issue is that the TranscodingCache object
was being reused in tests from media_stream_Internal_test.go and
media_stream_test.go. If tests from the former was run first, the cache
would be filled up, so that when running tests from the latter, the `NON
seekable` test would fail.

* Allow configuring cache folder

This commit introduces a new configuration option to configure the cache
folder. This allows the cache to be in a separate folder such as
/var/cache/navidrome on Linux distributions.

* Fix tests

* Removed unused test setup code

---------

Co-authored-by: Deluan <deluan@deluan.com>
Co-authored-by: Deluan <deluan@navidrome.org>
2023-06-02 17:14:11 -04:00
..
pls.go Don't refresh smart playlists when generating covers 2023-01-01 20:28:03 -05:00
root.go Allow configuring cache folder (#2357) 2023-06-02 17:14:11 -04:00
scan.go Remove unused `DevPreCacheAlbumArtwork` config option 2022-12-28 15:31:56 -05:00
signaler_nonunix.go Fix build for non-unix 2022-12-02 20:39:44 -05:00
signaler_unix.go Fix build for non-unix 2022-12-03 10:42:36 -05:00
wire_gen.go Fix writeEvents race condition. 2023-04-01 20:54:15 -04:00
wire_injectors.go More work on Shares 2023-01-24 18:36:45 -05:00