fix: tidal stuff
This commit is contained in:
parent
5e6f5c6014
commit
6d67a22cfd
2 changed files with 4 additions and 3 deletions
|
@ -24,7 +24,7 @@ for file in ~/.zshrc.d/*.zsh(.N); do
|
|||
source "$file"
|
||||
done
|
||||
|
||||
source ~/.zsh_functions/youtube.zsh
|
||||
source ~/.zsh_functions/youtube.zsh
|
||||
fi
|
||||
|
||||
mdl () {
|
||||
|
@ -58,7 +58,7 @@ cd "$mount_point/$path_on_nas"
|
|||
echo "SMB share mounted successfully."
|
||||
if [[ "$*" == *"tidal.com"* ]]; then
|
||||
echo "TIDAL DETECTED"
|
||||
uvx tidal-dl -l $*
|
||||
uvx tidal-dl -l $*
|
||||
else
|
||||
echo "Using qobuz-dl via uvx at: $(which uvx)"
|
||||
echo "QOBUZ URL: $*"
|
||||
|
@ -96,7 +96,7 @@ case "$url" in
|
|||
echo "Detected YouTube URL: $url"
|
||||
ytr "$url"
|
||||
;;
|
||||
(*qobuz*)
|
||||
(*qobuz*|*tidal*)
|
||||
echo "Detected Qobuz URL: $url"
|
||||
mdl "$url"
|
||||
if [[ $used_clipboard -eq 1 ]]; then
|
||||
|
|
1
.zshrc
1
.zshrc
|
@ -1,4 +1,5 @@
|
|||
export PATH="$PATH:$HOME/.local/bin:$HOME/bin"
|
||||
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
|
||||
# ── 2. Load .env files from ~/.environment.d/ ───────────────────
|
||||
# Automatically export all variables defined while sourcing .env files
|
||||
setopt allexport
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue