diff options
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/pkgs/scripts/wrappers/spodi | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/hm/soispha/pkgs/scripts/wrappers/spodi b/hm/soispha/pkgs/scripts/wrappers/spodi index d1676d51..bf71eaac 100755 --- a/hm/soispha/pkgs/scripts/wrappers/spodi +++ b/hm/soispha/pkgs/scripts/wrappers/spodi @@ -13,21 +13,31 @@ already_downloaded_files="$(mktmp)" fd . "$DOWN_DIR" --exclude spotdl.log > "$already_downloaded_files"; config="$(mktmp)" -cat << EO > "$config" ---log-level INFO ---cache-path /home/soispha/.local/share/spotdl/.spotipy +cat << EOF | clean > "$config" +# Main options --audio youtube youtube-music slider-kz soundcloud bandcamp piped ---lyrics genius musixmatch azlyrics +--lyrics synced genius musixmatch azlyrics + +# FFmpeg options --ffmpeg ffmpeg ---format mp3 ---output {artists}_-_{title} ---overwrite skip ---client-id 5f573c9620494bae87890c0f08a60293 ---client-secret 212476d9b0f3472eaa762d90b19b0ba8 --threads 16 ---print-errors +--bitrate auto + +# Spotify options +--cache-path /home/soispha/.local/share/spotdl/.spotipy + +# Output options --preload -EO +--format opus +--output {artists}_-_{title} +--print-errors +--save-errors "$DOWN_DIR/spotdl-errors.log" +--generate-lrc +--overwrite skip + +# Misc options +--log-level INFO +EOF if [ -z "$NO_CHECK" ] && [ "$(wc -l < "$already_downloaded_files" )" -ne 0 ];then die "something is already downloaded" |