Fix order of parameters to Cache::new
When updating to librespot 0.4.0 in c41294c, the volume and audio path
parameters were specified in the wrong order.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
b8b565d0c3
commit
56c8817aa8
@@ -142,8 +142,8 @@ impl Spotify {
|
||||
};
|
||||
let cache = Cache::new(
|
||||
Some(librespot_cache_path.clone()),
|
||||
audio_cache_path,
|
||||
Some(librespot_cache_path.join("volume")),
|
||||
audio_cache_path,
|
||||
cfg.values()
|
||||
.audio_cache_size
|
||||
.map(|size| (size as u64 * 1048576)),
|
||||
|
||||
Reference in New Issue
Block a user