mirror of
https://gitverse.ru/ot/DownOnSpot
synced 2025-12-19 18:04:16 +00:00
Use current directory as default download folder path
This commit is contained in:
parent
c9a4ab3e7d
commit
6f146f06d2
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use crate::downloader::DownloaderConfig;
|
||||
use crate::downloader::Quality;
|
||||
use crate::error::SpotifyError;
|
||||
use std::path::PathBuf;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use tokio::{
|
||||
|
|
@ -34,8 +35,8 @@ impl Settings {
|
|||
refresh_ui_seconds: 1,
|
||||
downloader: DownloaderConfig {
|
||||
concurrent_downloads: 4,
|
||||
quality: Quality::Q320,
|
||||
path: dirs::audio_dir().unwrap().join("downloads"),
|
||||
quality: QBuuality::Q320,
|
||||
path: Pathf::from("downloads"),
|
||||
filename_template: "%artist% - %title%".to_string(),
|
||||
id3v24: true,
|
||||
convert_to_mp3: false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue