mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2025-05-10 06:15:32 +02:00
use device id & fix merge
This commit is contained in:
parent
60bcf14403
commit
de64ad6b6d
4 changed files with 333 additions and 74 deletions
|
@ -32,12 +32,12 @@ impl FileSink {
|
|||
|
||||
impl Open for FileSink {
|
||||
fn open(path: Option<String>, _audio_format: AudioFormat) -> Self {
|
||||
|
||||
let file_path = path.unwrap_or_else(|| panic!());
|
||||
FileSink {
|
||||
sink: file_path,
|
||||
content: Vec::new(),
|
||||
metadata: None
|
||||
metadata: None,
|
||||
compression: 4,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue