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(
|
let cache = Cache::new(
|
||||||
Some(librespot_cache_path.clone()),
|
Some(librespot_cache_path.clone()),
|
||||||
audio_cache_path,
|
|
||||||
Some(librespot_cache_path.join("volume")),
|
Some(librespot_cache_path.join("volume")),
|
||||||
|
audio_cache_path,
|
||||||
cfg.values()
|
cfg.values()
|
||||||
.audio_cache_size
|
.audio_cache_size
|
||||||
.map(|size| (size as u64 * 1048576)),
|
.map(|size| (size as u64 * 1048576)),
|
||||||
|
|||||||
Reference in New Issue
Block a user